Skip to content
  • robin@vulcan:~/workspace/repos/redox/init$ CARGO_TARGET_AARCH64_UNKNOWN_REDOX_LINKER=/home/robin/workspace/repos/redox/libc/build/prefix/bin/aarch64-unknown-redox-gcc XARGO_RUST_SRC=/home/robin/workspace/repos/redox/redox/rust/src/ xargo build --target aarch64-unknown-redox --verbose
    + "rustc" "--print" "sysroot"
    + "rustc" "--print" "target-list"
    + RUSTFLAGS="--sysroot /home/robin/.xargo"
    + "cargo" "build" "--target" "aarch64-unknown-redox" "--verbose"
       Compiling redox_syscall v0.1.40 (file:///home/robin/workspace/repos/redox/redox/kernel/syscall)
         Running `rustc --crate-name syscall /home/robin/workspace/repos/redox/redox/kernel/syscall/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=e15348f8baafaf17 -C extra-filename=-e15348f8baafaf17 --out-dir /home/robin/workspace/repos/redox/init/target/aarch64-unknown-redox/debug/deps --target aarch64-unknown-redox -C linker=/home/robin/workspace/repos/redox/libc/build/prefix/bin/aarch64-unknown-redox-gcc -C incremental=/home/robin/workspace/repos/redox/init/target/aarch64-unknown-redox/debug/incremental -L dependency=/home/robin/workspace/repos/redox/init/target/aarch64-unknown-redox/debug/deps -L dependency=/home/robin/workspace/repos/redox/init/target/debug/deps --sysroot /home/robin/.xargo`
       Compiling init v0.1.0 (file:///home/robin/workspace/repos/redox/init)
         Running `rustc --crate-name init src/main.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=0f737845fe090452 -C extra-filename=-0f737845fe090452 --out-dir /home/robin/workspace/repos/redox/init/target/aarch64-unknown-redox/debug/deps --target aarch64-unknown-redox -C linker=/home/robin/workspace/repos/redox/libc/build/prefix/bin/aarch64-unknown-redox-gcc -C incremental=/home/robin/workspace/repos/redox/init/target/aarch64-unknown-redox/debug/incremental -L dependency=/home/robin/workspace/repos/redox/init/target/aarch64-unknown-redox/debug/deps -L dependency=/home/robin/workspace/repos/redox/init/target/debug/deps --extern syscall=/home/robin/workspace/repos/redox/init/target/aarch64-unknown-redox/debug/deps/libsyscall-e15348f8baafaf17.rlib --sysroot /home/robin/.xargo`
        Finished dev [unoptimized + debuginfo] target(s) in 1.02s
    
    robin@vulcan:~/workspace/repos/redox/init$ ~/workspace/repos/redox/libc/build/prefix/bin/aarch64-unknown-redox-objdump -x target/aarch64-unknown-redox/debug/init | head -n 80
    
    target/aarch64-unknown-redox/debug/init:     file format elf64-littleaarch64
    target/aarch64-unknown-redox/debug/init
    architecture: aarch64, flags 0x00000112:
    EXEC_P, HAS_SYMS, D_PAGED
    start address 0x0000000000400130
    
    Program Header:
        LOAD off    0x0000000000010000 vaddr 0x0000000000400000 paddr 0x0000000000400000 align 2**16
             filesz 0x0000000000054d00 memsz 0x0000000000054d00 flags r-x
        LOAD off    0x0000000000064d00 vaddr 0x0000000000464d00 paddr 0x0000000000464d00 align 2**16
             filesz 0x0000000000000fb0 memsz 0x0000000000001130 flags rw-
         TLS off    0x0000000000064d00 vaddr 0x0000000000464d00 paddr 0x0000000000464d00 align 2**4
             filesz 0x0000000000000000 memsz 0x0000000000000098 flags r--
       STACK off    0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**4
             filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw-
    private flags = 0:
    
    Sections:
    Idx Name          Size      VMA               LMA               File off  Algn
      0 .init         00000034  0000000000400000  0000000000400000  00010000  2**2
                      CONTENTS, ALLOC, LOAD, READONLY, CODE
      1 .text         0003b8c4  0000000000400040  0000000000400040  00010040  2**6
                      CONTENTS, ALLOC, LOAD, READONLY, CODE
      2 .fini         00000034  000000000043b904  000000000043b904  0004b904  2**2
                      CONTENTS, ALLOC, LOAD, READONLY, CODE
      3 .rodata       0000a5d8  000000000043b940  000000000043b940  0004b940  2**4
                      CONTENTS, ALLOC, LOAD, READONLY, DATA
      4 .debug_gdb_scripts 00000022  0000000000445f18  0000000000445f18  00055f18  2**0
                      CONTENTS, ALLOC, LOAD, READONLY, DATA
      5 .eh_frame     00009cb4  0000000000445f40  0000000000445f40  00055f40  2**3
                      CONTENTS, ALLOC, LOAD, READONLY, DATA
      6 .gcc_except_table 0000510c  000000000044fbf4  000000000044fbf4  0005fbf4  2**2
                      CONTENTS, ALLOC, LOAD, READONLY, DATA
      7 .tbss         00000098  0000000000464d00  0000000000464d00  00064d00  2**4
                      ALLOC, THREAD_LOCAL
      8 .init_array   00000008  0000000000464d00  0000000000464d00  00064d00  2**3
                      CONTENTS, ALLOC, LOAD, DATA
      9 .fini_array   00000008  0000000000464d08  0000000000464d08  00064d08  2**3
                      CONTENTS, ALLOC, LOAD, DATA
     10 .data         00000fa0  0000000000464d10  0000000000464d10  00064d10  2**3
                      CONTENTS, ALLOC, LOAD, DATA
     11 .bss          00000180  0000000000465cb0  0000000000465cb0  00065cb0  2**3
                      ALLOC
     12 .comment      00000029  0000000000000000  0000000000000000  00065cb0  2**0
                      CONTENTS, READONLY
     13 .debug_aranges 00000580  0000000000000000  0000000000000000  00065ce0  2**4
                      CONTENTS, READONLY, DEBUGGING
     14 .debug_pubnames 0000cc0a  0000000000000000  0000000000000000  00066260  2**0
                      CONTENTS, READONLY, DEBUGGING
     15 .debug_info   00036c91  0000000000000000  0000000000000000  00072e6a  2**0
                      CONTENTS, READONLY, DEBUGGING
     16 .debug_abbrev 00008267  0000000000000000  0000000000000000  000a9afb  2**0
                      CONTENTS, READONLY, DEBUGGING
     17 .debug_line   00010b5d  0000000000000000  0000000000000000  000b1d62  2**0
                      CONTENTS, READONLY, DEBUGGING
     18 .debug_frame  00000940  0000000000000000  0000000000000000  000c28c0  2**3
                      CONTENTS, READONLY, DEBUGGING
     19 .debug_str    00021c95  0000000000000000  0000000000000000  000c3200  2**0
                      CONTENTS, READONLY, DEBUGGING
     20 .debug_loc    0001456d  0000000000000000  0000000000000000  000e4e95  2**0
                      CONTENTS, READONLY, DEBUGGING
     21 .debug_macinfo 00000051  0000000000000000  0000000000000000  000f9402  2**0
                      CONTENTS, READONLY, DEBUGGING
     22 .debug_pubtypes 00015e26  0000000000000000  0000000000000000  000f9453  2**0
                      CONTENTS, READONLY, DEBUGGING
     23 .debug_ranges 000081d0  0000000000000000  0000000000000000  0010f279  2**0
                      CONTENTS, READONLY, DEBUGGING
    
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment