
Memory Configuration

Name             Origin             Length             Attributes
*default*        0x0000000000000000 0xffffffffffffffff

Linker script and memory map

TARGET(elf64-x86-64)
LOAD tmp/amd64-darwin.macho-fold.o
LOAD tmp/amd64-darwin.macho-main.o
                0x0000000008048000                PROVIDE (__executable_start, 0x8048000)
                0x0000000008048000                . = (0x8048000 + SIZEOF_HEADERS)

.interp
 *(.interp)

.hash
 *(.hash)

.dynsym
 *(.dynsym)

.dynstr
 *(.dynstr)

.gnu.version
 *(.gnu.version)

.gnu.version_d
 *(.gnu.version_d)

.gnu.version_r
 *(.gnu.version_r)

.rel.dyn
 *(.rel.init)
 *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*)
 *(.rel.fini)
 *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*)
 *(.rel.data.rel.ro* .rel.gnu.linkonce.d.rel.ro.*)
 *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*)
 *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*)
 *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*)
 *(.rel.ctors)
 *(.rel.dtors)
 *(.rel.got)
 *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*)

.rela.dyn
 *(.rela.init)
 *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)
 *(.rela.fini)
 *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*)
 *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*)
 *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*)
 *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*)
 *(.rela.ctors)
 *(.rela.dtors)
 *(.rela.got)
 *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)

.rel.plt
 *(.rel.plt)

.rela.plt
 *(.rela.plt)

.init
 *(.init)

.plt
 *(.plt)

.text           0x0000000008048000      0x88b
 *(.text .stub .text.* .gnu.linkonce.t.*)
 .text          0x0000000008048000      0x1d0 tmp/amd64-darwin.macho-fold.o
                0x00000000080480b8                munmap
                0x000000000804809c                bswap
                0x00000000080480c8                mmap
                0x00000000080480ac                write
                0x0000000008048000                _start
                0x00000000080480cc                read
                0x00000000080480bc                pread
                0x00000000080480b0                exit
                0x00000000080480c4                open
                0x00000000080480b4                mprotect
                0x00000000080480c0                close
 .text          0x00000000080481d0      0x6bb tmp/amd64-darwin.macho-main.o
                0x000000000804834c                do_xmap
                0x00000000080486f6                upx_main
 *(.text.*personality*)
 *(.gnu.warning)

.fini
 *(.fini)
                0x000000000804888b                PROVIDE (__etext, .)
                0x000000000804888b                PROVIDE (_etext, .)
                0x000000000804888b                PROVIDE (etext, .)

.rodata
 *(.rodata .rodata.* .gnu.linkonce.r.*)

.rodata1
 *(.rodata1)

.eh_frame_hdr
 *(.eh_frame_hdr)

.eh_frame
 *(.eh_frame)

.gcc_except_table
 *(.gcc_except_table .gcc_except_table.*)
                0x000000000804888b                . = (ALIGN (0x1000) - ((0x1000 - .) & 0xfff))
                0x000000000804988b                . = (0x1000 DATA_SEGMENT_ALIGN 0x1000)

.eh_frame
 *(.eh_frame)

.gcc_except_table
 *(.gcc_except_table .gcc_except_table.*)

.tdata
 *(.tdata .tdata.* .gnu.linkonce.td.*)

.tbss
 *(.tbss .tbss.* .gnu.linkonce.tb.*)
 *(.tcommon)

.preinit_array  0x000000000804988b        0x0
                0x000000000804988b                PROVIDE (__preinit_array_start, .)
 *(.preinit_array)
                0x000000000804988b                PROVIDE (__preinit_array_end, .)

.init_array     0x000000000804988b        0x0
                0x000000000804988b                PROVIDE (__init_array_start, .)
 *(SORT(.init_array.*))
 *(.init_array)
                0x000000000804988b                PROVIDE (__init_array_end, .)

.fini_array     0x000000000804988b        0x0
                0x000000000804988b                PROVIDE (__fini_array_start, .)
 *(.fini_array)
 *(SORT(.fini_array.*))
                0x000000000804988b                PROVIDE (__fini_array_end, .)

.ctors
 *crtbegin*.o(.ctors)
 *(EXCLUDE_FILE(*crtend*.o) .ctors)
 *(SORT(.ctors.*))
 *(.ctors)

.dtors
 *crtbegin*.o(.dtors)
 *(EXCLUDE_FILE(*crtend*.o) .dtors)
 *(SORT(.dtors.*))
 *(.dtors)

.jcr
 *(.jcr)

.data.rel.ro
 *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*)
 *(.data.rel.ro* .gnu.linkonce.d.rel.ro.*)

.dynamic
 *(.dynamic)

.got
 *(.got)
                0x000000000804988b                . = (. DATA_SEGMENT_RELRO_END 0xc)

.got.plt
 *(.got.plt)

.data           0x000000000804988c        0x0
 *(.data .data.* .gnu.linkonce.d.*)
 .data          0x000000000804988c        0x0 tmp/amd64-darwin.macho-fold.o
 .data          0x000000000804988c        0x0 tmp/amd64-darwin.macho-main.o
 *(.gnu.linkonce.d.*personality*)

.data1
 *(.data1)
                0x000000000804988c                _edata = .
                0x000000000804988c                PROVIDE (edata, .)
                0x000000000804988c                __bss_start = .

.bss            0x000000000804988c        0x0
 *(.dynbss)
 *(.bss .bss.* .gnu.linkonce.b.*)
 .bss           0x000000000804988c        0x0 tmp/amd64-darwin.macho-fold.o
 .bss           0x000000000804988c        0x0 tmp/amd64-darwin.macho-main.o
 *(COMMON)
                0x000000000804988c                . = ALIGN ((. != 0x0)?0x4:0x1)
                0x000000000804988c                . = ALIGN (0x4)
                0x000000000804988c                . = ALIGN (0x4)
                0x000000000804988c                _end = .
                0x000000000804988c                PROVIDE (end, .)
                0x000000000804988c                . = DATA_SEGMENT_END (.)

.stab
 *(.stab)

.stabstr
 *(.stabstr)

.stab.excl
 *(.stab.excl)

.stab.exclstr
 *(.stab.exclstr)

.stab.index
 *(.stab.index)

.stab.indexstr
 *(.stab.indexstr)

.comment
 *(.comment)

.debug
 *(.debug)

.line
 *(.line)

.debug_srcinfo
 *(.debug_srcinfo)

.debug_sfnames
 *(.debug_sfnames)

.debug_aranges
 *(.debug_aranges)

.debug_pubnames
 *(.debug_pubnames)

.debug_info
 *(.debug_info .gnu.linkonce.wi.*)

.debug_abbrev
 *(.debug_abbrev)

.debug_line
 *(.debug_line)

.debug_frame
 *(.debug_frame)

.debug_str
 *(.debug_str)

.debug_loc
 *(.debug_loc)

.debug_macinfo
 *(.debug_macinfo)

.debug_weaknames
 *(.debug_weaknames)

.debug_funcnames
 *(.debug_funcnames)

.debug_typenames
 *(.debug_typenames)

.debug_varnames
 *(.debug_varnames)

/DISCARD/
 *(.note.GNU-stack)
OUTPUT(tmp/amd64-darwin.macho-fold.bin binary)
