1 2Memory Configuration 3 4Name Origin Length Attributes 5*default* 0x0000000000000000 0xffffffffffffffff 6 7Linker script and memory map 8 9TARGET(elf32-i386) 10LOAD tmp/i386-darwin.macho-fold.o 11LOAD tmp/i386-darwin.macho-main.o 12 0x0000000008048000 PROVIDE (__executable_start, 0x8048000) 13 0x0000000008048000 . = (0x8048000 + SIZEOF_HEADERS) 14 15.interp 16 *(.interp) 17 18.hash 19 *(.hash) 20 21.dynsym 22 *(.dynsym) 23 24.dynstr 25 *(.dynstr) 26 27.gnu.version 28 *(.gnu.version) 29 30.gnu.version_d 31 *(.gnu.version_d) 32 33.gnu.version_r 34 *(.gnu.version_r) 35 36.rel.dyn 37 *(.rel.init) 38 *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) 39 *(.rel.fini) 40 *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) 41 *(.rel.data.rel.ro* .rel.gnu.linkonce.d.rel.ro.*) 42 *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) 43 *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*) 44 *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*) 45 *(.rel.ctors) 46 *(.rel.dtors) 47 *(.rel.got) 48 *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) 49 50.rela.dyn 51 *(.rela.init) 52 *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*) 53 *(.rela.fini) 54 *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*) 55 *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*) 56 *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*) 57 *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*) 58 *(.rela.ctors) 59 *(.rela.dtors) 60 *(.rela.got) 61 *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) 62 63.rel.plt 64 *(.rel.plt) 65 66.rela.plt 67 *(.rela.plt) 68 69.init 70 *(.init) 71 72.plt 73 *(.plt) 74 75.text 0x0000000008048000 0x5b1 76 *(.text .stub .text.* .gnu.linkonce.t.*) 77 .text 0x0000000008048000 0x90 tmp/i386-darwin.macho-fold.o 78 0x0000000008048069 munmap 79 0x000000000804803b bswap 80 0x0000000008048079 mmap 81 0x000000000804805d write 82 0x0000000008048000 _start 83 0x000000000804807d read 84 0x0000000008048052 spin 85 0x000000000804806d pread 86 0x0000000008048061 exit 87 0x0000000008048075 open 88 0x0000000008048065 mprotect 89 0x0000000008048071 close 90 .text 0x0000000008048090 0x521 tmp/i386-darwin.macho-main.o 91 0x0000000008048197 do_xmap 92 0x0000000008048485 upx_main 93 *(.text.*personality*) 94 *(.gnu.warning) 95 96.fini 97 *(.fini) 98 0x00000000080485b1 PROVIDE (__etext, .) 99 0x00000000080485b1 PROVIDE (_etext, .) 100 0x00000000080485b1 PROVIDE (etext, .) 101 102.rodata 103 *(.rodata .rodata.* .gnu.linkonce.r.*) 104 105.rodata1 106 *(.rodata1) 107 108.eh_frame_hdr 109 *(.eh_frame_hdr) 110 111.eh_frame 112 *(.eh_frame) 113 114.gcc_except_table 115 *(.gcc_except_table .gcc_except_table.*) 116 0x00000000080485b1 . = (ALIGN (0x1000) - ((0x1000 - .) & 0xfff)) 117 0x00000000080495b1 . = (0x1000 DATA_SEGMENT_ALIGN 0x1000) 118 119.eh_frame 120 *(.eh_frame) 121 122.gcc_except_table 123 *(.gcc_except_table .gcc_except_table.*) 124 125.tdata 126 *(.tdata .tdata.* .gnu.linkonce.td.*) 127 128.tbss 129 *(.tbss .tbss.* .gnu.linkonce.tb.*) 130 *(.tcommon) 131 132.preinit_array 0x00000000080495b1 0x0 133 0x00000000080495b1 PROVIDE (__preinit_array_start, .) 134 *(.preinit_array) 135 0x00000000080495b1 PROVIDE (__preinit_array_end, .) 136 137.init_array 0x00000000080495b1 0x0 138 0x00000000080495b1 PROVIDE (__init_array_start, .) 139 *(SORT(.init_array.*)) 140 *(.init_array) 141 0x00000000080495b1 PROVIDE (__init_array_end, .) 142 143.fini_array 0x00000000080495b1 0x0 144 0x00000000080495b1 PROVIDE (__fini_array_start, .) 145 *(.fini_array) 146 *(SORT(.fini_array.*)) 147 0x00000000080495b1 PROVIDE (__fini_array_end, .) 148 149.ctors 150 *crtbegin*.o(.ctors) 151 *(EXCLUDE_FILE(*crtend*.o) .ctors) 152 *(SORT(.ctors.*)) 153 *(.ctors) 154 155.dtors 156 *crtbegin*.o(.dtors) 157 *(EXCLUDE_FILE(*crtend*.o) .dtors) 158 *(SORT(.dtors.*)) 159 *(.dtors) 160 161.jcr 162 *(.jcr) 163 164.data.rel.ro 165 *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) 166 *(.data.rel.ro* .gnu.linkonce.d.rel.ro.*) 167 168.dynamic 169 *(.dynamic) 170 171.got 172 *(.got) 173 0x00000000080495b1 . = (. DATA_SEGMENT_RELRO_END 0xc) 174 175.got.plt 176 *(.got.plt) 177 178.data 0x00000000080495b4 0x0 179 *(.data .data.* .gnu.linkonce.d.*) 180 .data 0x00000000080495b4 0x0 tmp/i386-darwin.macho-fold.o 181 .data 0x00000000080495b4 0x0 tmp/i386-darwin.macho-main.o 182 *(.gnu.linkonce.d.*personality*) 183 184.data1 185 *(.data1) 186 0x00000000080495b4 _edata = . 187 0x00000000080495b4 PROVIDE (edata, .) 188 0x00000000080495b4 __bss_start = . 189 190.bss 0x00000000080495b4 0x0 191 *(.dynbss) 192 *(.bss .bss.* .gnu.linkonce.b.*) 193 .bss 0x00000000080495b4 0x0 tmp/i386-darwin.macho-fold.o 194 .bss 0x00000000080495b4 0x0 tmp/i386-darwin.macho-main.o 195 *(COMMON) 196 0x00000000080495b4 . = ALIGN ((. != 0x0)?0x4:0x1) 197 0x00000000080495b4 . = ALIGN (0x4) 198 0x00000000080495b4 . = ALIGN (0x4) 199 0x00000000080495b4 _end = . 200 0x00000000080495b4 PROVIDE (end, .) 201 0x00000000080495b4 . = DATA_SEGMENT_END (.) 202 203.stab 204 *(.stab) 205 206.stabstr 207 *(.stabstr) 208 209.stab.excl 210 *(.stab.excl) 211 212.stab.exclstr 213 *(.stab.exclstr) 214 215.stab.index 216 *(.stab.index) 217 218.stab.indexstr 219 *(.stab.indexstr) 220 221.comment 222 *(.comment) 223 224.debug 225 *(.debug) 226 227.line 228 *(.line) 229 230.debug_srcinfo 231 *(.debug_srcinfo) 232 233.debug_sfnames 234 *(.debug_sfnames) 235 236.debug_aranges 237 *(.debug_aranges) 238 239.debug_pubnames 240 *(.debug_pubnames) 241 242.debug_info 243 *(.debug_info .gnu.linkonce.wi.*) 244 245.debug_abbrev 246 *(.debug_abbrev) 247 248.debug_line 249 *(.debug_line) 250 251.debug_frame 252 *(.debug_frame) 253 254.debug_str 255 *(.debug_str) 256 257.debug_loc 258 *(.debug_loc) 259 260.debug_macinfo 261 *(.debug_macinfo) 262 263.debug_weaknames 264 *(.debug_weaknames) 265 266.debug_funcnames 267 *(.debug_funcnames) 268 269.debug_typenames 270 *(.debug_typenames) 271 272.debug_varnames 273 *(.debug_varnames) 274 275/DISCARD/ 276 *(.note.GNU-stack) 277OUTPUT(tmp/i386-darwin.macho-fold.bin binary) 278