
Memory Configuration

Name             Origin             Length             Attributes
*default*        0x0000000000000000 0xffffffffffffffff

Linker script and memory map

TARGET(elf64-powerpcle)
LOAD tmp/powerpc64le-darwin.macho-fold.o
LOAD tmp/powerpc64le-darwin.macho-main.o
                [!provide]                        PROVIDE (__executable_start, 0x8048000)
                0x0000000008048000                . = (0x8048000 + SIZEOF_HEADERS)

.interp
 *(.interp)

.note.gnu.build-id
 *(.note.gnu.build-id)

.hash
 *(.hash)

.gnu.hash
 *(.gnu.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.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.*)
 *(.rel.ifunc)

.rel.plt        0x0000000008048000        0x0
 *(.rel.plt)
                [!provide]                        PROVIDE (__rel_iplt_start, .)
 *(.rel.iplt)
                [!provide]                        PROVIDE (__rel_iplt_end, .)

.init
 *(SORT(.init))

.plt
 *(.plt)
 *(.iplt)

.plt.got
 *(.plt.got)

.text           0x0000000008048000      0x92c
 *(.text.unlikely .text.*_unlikely .text.unlikely.*)
 *(.text.exit .text.exit.*)
 *(.text.startup .text.startup.*)
 *(.text.hot .text.hot.*)
 *(.text .stub .text.* .gnu.linkonce.t.*)
 .text          0x0000000008048000      0x1dc tmp/powerpc64le-darwin.macho-fold.o
                0x0000000008048000                _start
                0x00000000080480e8                pread
                0x00000000080480f8                mmap
                0x0000000008048110                exit
                0x0000000008048118                read
                0x0000000008048120                open
                0x0000000008048128                close
                0x0000000008048130                mprotect
                0x0000000008048138                _savegpr0_14
                0x000000000804813c                _savegpr0_15
                0x0000000008048140                _savegpr0_16
                0x0000000008048144                _savegpr0_17
                0x0000000008048148                _savegpr0_18
                0x000000000804814c                _savegpr0_19
                0x0000000008048150                _savegpr0_20
                0x0000000008048154                _savegpr0_21
                0x0000000008048158                _savegpr0_22
                0x000000000804815c                _savegpr0_23
                0x0000000008048160                _savegpr0_24
                0x0000000008048164                _savegpr0_25
                0x0000000008048168                _savegpr0_26
                0x000000000804816c                _savegpr0_27
                0x0000000008048170                _savegpr0_28
                0x0000000008048174                _savegpr0_29
                0x0000000008048188                _restgpr0_14
                0x000000000804818c                _restgpr0_15
                0x0000000008048190                _restgpr0_16
                0x0000000008048194                _restgpr0_17
                0x0000000008048198                _restgpr0_18
                0x000000000804819c                _restgpr0_19
                0x00000000080481a0                _restgpr0_20
                0x00000000080481a4                _restgpr0_21
                0x00000000080481a8                _restgpr0_22
                0x00000000080481ac                _restgpr0_23
                0x00000000080481b0                _restgpr0_24
                0x00000000080481b4                _restgpr0_25
                0x00000000080481b8                _restgpr0_26
                0x00000000080481bc                _restgpr0_27
                0x00000000080481c0                _restgpr0_28
                0x00000000080481c4                _restgpr0_29
 .text          0x00000000080481dc      0x750 tmp/powerpc64le-darwin.macho-main.o
 *(.gnu.warning)

.fini
 *(SORT(.fini))
                [!provide]                        PROVIDE (__etext, .)
                [!provide]                        PROVIDE (_etext, .)
                [!provide]                        PROVIDE (etext, .)

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

.rodata1
 *(.rodata1)

.eh_frame_hdr
 *(.eh_frame_hdr)
 *(.eh_frame_entry .eh_frame_entry.*)

.eh_frame
 *(.eh_frame)
 *(.eh_frame.*)

.gcc_except_table
 *(.gcc_except_table .gcc_except_table.*)

.gnu_extab
 *(.gnu_extab*)

.exception_ranges
 *(.exception_ranges .exception_ranges*)
                0x000000000804992c                . = DATA_SEGMENT_ALIGN (0x1000, 0x1000)

.eh_frame
 *(.eh_frame)
 *(.eh_frame.*)

.gnu_extab
 *(.gnu_extab)

.gcc_except_table
 *(.gcc_except_table .gcc_except_table.*)

.exception_ranges
 *(.exception_ranges .exception_ranges*)

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

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

.preinit_array  0x000000000804992c        0x0
                [!provide]                        PROVIDE (__preinit_array_start, .)
 *(.preinit_array)
                [!provide]                        PROVIDE (__preinit_array_end, .)

.init_array     0x000000000804992c        0x0
                [!provide]                        PROVIDE (__init_array_start, .)
 *(SORT(.init_array.*) SORT(.ctors.*))
 *(.init_array EXCLUDE_FILE(*crtend?.o *crtend.o *crtbegin?.o *crtbegin.o) .ctors)
                [!provide]                        PROVIDE (__init_array_end, .)

.fini_array     0x000000000804992c        0x0
                [!provide]                        PROVIDE (__fini_array_start, .)
 *(SORT(.fini_array.*) SORT(.dtors.*))
 *(.fini_array EXCLUDE_FILE(*crtend?.o *crtend.o *crtbegin?.o *crtbegin.o) .dtors)
                [!provide]                        PROVIDE (__fini_array_end, .)

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

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

.jcr
 *(.jcr)

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

.dynamic
 *(.dynamic)

.got
 *(.got)
 *(.igot)
                0x000000000804992c                . = DATA_SEGMENT_RELRO_END (., (SIZEOF (.got.plt) >= 0xc)?0xc:0x0)

.got.plt        0x000000000804992c        0x0
 *(.got.plt)
 *(.igot.plt)

.data           0x000000000804992c        0x0
 *(.data .data.* .gnu.linkonce.d.*)
 .data          0x000000000804992c        0x0 tmp/powerpc64le-darwin.macho-fold.o
 .data          0x000000000804992c        0x0 tmp/powerpc64le-darwin.macho-main.o

.toc            0x000000000804992c        0x0
 .toc           0x000000000804992c        0x0 tmp/powerpc64le-darwin.macho-main.o

.opd            0x0000000008049930       0x40
 .opd           0x0000000008049930       0x40 tmp/powerpc64le-darwin.macho-main.o
                0x0000000008049960                upx_main

.data1
 *(.data1)
                0x0000000008049970                _edata = .
                [!provide]                        PROVIDE (edata, .)
                0x0000000008049970                . = .
                0x0000000008049970                __bss_start = .

.bss            0x0000000008049970        0x0
 *(.dynbss)
 *(.bss .bss.* .gnu.linkonce.b.*)
 .bss           0x0000000008049970        0x0 tmp/powerpc64le-darwin.macho-fold.o
 .bss           0x0000000008049970        0x0 tmp/powerpc64le-darwin.macho-main.o
 *(COMMON)
                0x0000000008049970                . = ALIGN ((. != 0x0)?0x4:0x1)
                0x0000000008049970                . = ALIGN (0x4)
                0x0000000008049970                . = SEGMENT_START ("ldata-segment", .)
                0x0000000008049970                . = ALIGN (0x4)
                0x0000000008049970                _end = .
                [!provide]                        PROVIDE (end, .)
                0x0000000008049970                . = 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_line.* .debug_line_end)

.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)

.debug_pubtypes
 *(.debug_pubtypes)

.debug_ranges
 *(.debug_ranges)

.debug_macro
 *(.debug_macro)

.gnu.attributes
 *(.gnu.attributes)

/DISCARD/
 *(.note.GNU-stack)
 *(.gnu_debuglink)
 *(.gnu.lto_*)
OUTPUT(tmp/powerpc64le-darwin.macho-fold.bin binary)
