DEBUG and TRACE for arm*-darwin.macho-* stubs

modified:   stub/src/amd64-darwin.macho-main.c
	modified:   stub/src/arm.v5a-darwin.macho-entry.S
	modified:   stub/src/arm.v5a-darwin.macho-fold.S
	modified:   stub/src/arm64-darwin.macho-entry.S
	modified:   stub/src/arm64-darwin.macho-fold.S
This commit is contained in:
John Reiser
2017-12-26 15:44:54 -08:00
parent 8c4e9bcf0d
commit 11e8a47030
15 changed files with 2760 additions and 2412 deletions
+34 -34
View File
@@ -72,7 +72,7 @@ LOAD tmp/amd64-darwin.macho-main.o
.plt
*(.plt)
.text 0x0000000008048000 0xf89
.text 0x0000000008048000 0x74a
*(.text .stub .text.* .gnu.linkonce.t.*)
.text 0x0000000008048000 0x157 tmp/amd64-darwin.macho-fold.o
0x00000000080480b8 munmap
@@ -87,17 +87,17 @@ LOAD tmp/amd64-darwin.macho-main.o
0x00000000080480b4 mprotect
0x00000000080480c0 close
*fill* 0x0000000008048157 0x1 90909090
.text 0x0000000008048158 0xe31 tmp/amd64-darwin.macho-main.o
0x000000000804875e do_xmap
0x0000000008048d10 upx_main
.text 0x0000000008048158 0x5f2 tmp/amd64-darwin.macho-main.o
0x00000000080482d4 do_xmap
0x00000000080485b5 upx_main
*(.text.*personality*)
*(.gnu.warning)
.fini
*(.fini)
0x0000000008048f89 PROVIDE (__etext, .)
0x0000000008048f89 PROVIDE (_etext, .)
0x0000000008048f89 PROVIDE (etext, .)
0x000000000804874a PROVIDE (__etext, .)
0x000000000804874a PROVIDE (_etext, .)
0x000000000804874a PROVIDE (etext, .)
.rodata
*(.rodata .rodata.* .gnu.linkonce.r.*)
@@ -113,8 +113,8 @@ LOAD tmp/amd64-darwin.macho-main.o
.gcc_except_table
*(.gcc_except_table .gcc_except_table.*)
0x0000000008048f89 . = (ALIGN (0x1000) - ((0x1000 - .) & 0xfff))
0x0000000008049f89 . = (0x1000 DATA_SEGMENT_ALIGN 0x1000)
0x000000000804874a . = (ALIGN (0x1000) - ((0x1000 - .) & 0xfff))
0x000000000804974a . = (0x1000 DATA_SEGMENT_ALIGN 0x1000)
.eh_frame
*(.eh_frame)
@@ -129,22 +129,22 @@ LOAD tmp/amd64-darwin.macho-main.o
*(.tbss .tbss.* .gnu.linkonce.tb.*)
*(.tcommon)
.preinit_array 0x0000000008049f89 0x0
0x0000000008049f89 PROVIDE (__preinit_array_start, .)
.preinit_array 0x000000000804974a 0x0
0x000000000804974a PROVIDE (__preinit_array_start, .)
*(.preinit_array)
0x0000000008049f89 PROVIDE (__preinit_array_end, .)
0x000000000804974a PROVIDE (__preinit_array_end, .)
.init_array 0x0000000008049f89 0x0
0x0000000008049f89 PROVIDE (__init_array_start, .)
.init_array 0x000000000804974a 0x0
0x000000000804974a PROVIDE (__init_array_start, .)
*(SORT(.init_array.*))
*(.init_array)
0x0000000008049f89 PROVIDE (__init_array_end, .)
0x000000000804974a PROVIDE (__init_array_end, .)
.fini_array 0x0000000008049f89 0x0
0x0000000008049f89 PROVIDE (__fini_array_start, .)
.fini_array 0x000000000804974a 0x0
0x000000000804974a PROVIDE (__fini_array_start, .)
*(.fini_array)
*(SORT(.fini_array.*))
0x0000000008049f89 PROVIDE (__fini_array_end, .)
0x000000000804974a PROVIDE (__fini_array_end, .)
.ctors
*crtbegin*.o(.ctors)
@@ -170,35 +170,35 @@ LOAD tmp/amd64-darwin.macho-main.o
.got
*(.got)
0x0000000008049f89 . = (. DATA_SEGMENT_RELRO_END 0xc)
0x000000000804974a . = (. DATA_SEGMENT_RELRO_END 0xc)
.got.plt
*(.got.plt)
.data 0x0000000008049f8c 0x0
.data 0x000000000804974c 0x0
*(.data .data.* .gnu.linkonce.d.*)
.data 0x0000000008049f8c 0x0 tmp/amd64-darwin.macho-fold.o
.data 0x0000000008049f8c 0x0 tmp/amd64-darwin.macho-main.o
.data 0x000000000804974c 0x0 tmp/amd64-darwin.macho-fold.o
.data 0x000000000804974c 0x0 tmp/amd64-darwin.macho-main.o
*(.gnu.linkonce.d.*personality*)
.data1
*(.data1)
0x0000000008049f8c _edata = .
0x0000000008049f8c PROVIDE (edata, .)
0x0000000008049f8c __bss_start = .
0x000000000804974c _edata = .
0x000000000804974c PROVIDE (edata, .)
0x000000000804974c __bss_start = .
.bss 0x0000000008049f8c 0x0
.bss 0x000000000804974c 0x0
*(.dynbss)
*(.bss .bss.* .gnu.linkonce.b.*)
.bss 0x0000000008049f8c 0x0 tmp/amd64-darwin.macho-fold.o
.bss 0x0000000008049f8c 0x0 tmp/amd64-darwin.macho-main.o
.bss 0x000000000804974c 0x0 tmp/amd64-darwin.macho-fold.o
.bss 0x000000000804974c 0x0 tmp/amd64-darwin.macho-main.o
*(COMMON)
0x0000000008049f8c . = ALIGN ((. != 0x0)?0x4:0x1)
0x0000000008049f8c . = ALIGN (0x4)
0x0000000008049f8c . = ALIGN (0x4)
0x0000000008049f8c _end = .
0x0000000008049f8c PROVIDE (end, .)
0x0000000008049f8c . = DATA_SEGMENT_END (.)
0x000000000804974c . = ALIGN ((. != 0x0)?0x4:0x1)
0x000000000804974c . = ALIGN (0x4)
0x000000000804974c . = ALIGN (0x4)
0x000000000804974c _end = .
0x000000000804974c PROVIDE (end, .)
0x000000000804974c . = DATA_SEGMENT_END (.)
.stab
*(.stab)
@@ -2,18 +2,18 @@ file format elf32-littlearm
Sections:
Idx Name Size VMA LMA File off Algn Flags
0 MACHMAINX 0000000c 00000000 00000000 00000034 2**0 CONTENTS, RELOC, READONLY
1 NRV_HEAD 00000000 00000000 00000000 00000040 2**0 CONTENTS, READONLY
2 NRV2E 0000013c 00000000 00000000 00000040 2**0 CONTENTS, RELOC, READONLY
3 NRV2D 00000128 00000000 00000000 0000017c 2**0 CONTENTS, RELOC, READONLY
4 NRV2B 000000ec 00000000 00000000 000002a4 2**0 CONTENTS, RELOC, READONLY
5 NRV_TAIL 00000000 00000000 00000000 00000390 2**0 CONTENTS, READONLY
6 LZMA_ELF00 000000b8 00000000 00000000 00000390 2**0 CONTENTS, RELOC, READONLY
7 LZMA_DEC20 00000938 00000000 00000000 00000448 2**0 CONTENTS, RELOC, READONLY
8 LZMA_DEC10 00000478 00000000 00000000 00000d80 2**0 CONTENTS, RELOC, READONLY
9 LZMA_DEC30 00000000 00000000 00000000 000011f8 2**0 CONTENTS, READONLY
10 MACHMAINY 00000000 00000000 00000000 000011f8 2**0 CONTENTS, READONLY
11 MACHMAINZ 00000184 00000000 00000000 000011f8 2**0 CONTENTS, RELOC, READONLY
0 MACHMAINX 00000018 00000000 00000000 00000034 2**0 CONTENTS, RELOC, READONLY
1 NRV_HEAD 00000000 00000000 00000000 0000004c 2**0 CONTENTS, READONLY
2 NRV2E 0000013c 00000000 00000000 0000004c 2**0 CONTENTS, RELOC, READONLY
3 NRV2D 00000128 00000000 00000000 00000188 2**0 CONTENTS, RELOC, READONLY
4 NRV2B 000000ec 00000000 00000000 000002b0 2**0 CONTENTS, RELOC, READONLY
5 NRV_TAIL 00000000 00000000 00000000 0000039c 2**0 CONTENTS, READONLY
6 LZMA_ELF00 000000b8 00000000 00000000 0000039c 2**0 CONTENTS, RELOC, READONLY
7 LZMA_DEC20 00000938 00000000 00000000 00000454 2**0 CONTENTS, RELOC, READONLY
8 LZMA_DEC10 00000478 00000000 00000000 00000d8c 2**0 CONTENTS, RELOC, READONLY
9 LZMA_DEC30 00000000 00000000 00000000 00001204 2**0 CONTENTS, READONLY
10 MACHMAINY 00000000 00000000 00000000 00001204 2**0 CONTENTS, READONLY
11 MACHMAINZ 0000025c 00000000 00000000 00001204 2**0 CONTENTS, RELOC, READONLY
SYMBOL TABLE:
00000000 l d NRV2E 00000000 NRV2E
00000000 l d NRV2D 00000000 NRV2D
@@ -37,6 +37,7 @@ SYMBOL TABLE:
RELOCATION RECORDS FOR [MACHMAINX]:
OFFSET TYPE VALUE
00000008 R_ARM_PC24 MACHMAINZ
00000014 R_ARM_PC24 MACHMAINZ
RELOCATION RECORDS FOR [NRV2E]:
OFFSET TYPE VALUE
@@ -245,9 +246,18 @@ OFFSET TYPE VALUE
RELOCATION RECORDS FOR [MACHMAINZ]:
OFFSET TYPE VALUE
0000010c R_ARM_PC24 MACHMAINZ
00000118 R_ARM_PC24 MACHMAINZ
00000008 R_ARM_PC24 MACHMAINZ
00000084 R_ARM_PC24 MACHMAINZ
000000e0 R_ARM_PC24 MACHMAINZ
00000124 R_ARM_PC24 MACHMAINZ
0000013c R_ARM_PC24 MACHMAINZ
00000144 R_ARM_PC24 MACHMAINZ
00000180 R_ARM_PC24 MACHMAINZ
00000154 R_ARM_PC24 MACHMAINZ
0000015c R_ARM_PC24 MACHMAINZ
00000164 R_ARM_PC24 MACHMAINZ
000001ac R_ARM_PC24 MACHMAINZ
000001e4 R_ARM_PC24 MACHMAINZ
000001f0 R_ARM_PC24 MACHMAINZ
000001fc R_ARM_PC24 MACHMAINZ
00000214 R_ARM_PC24 MACHMAINZ
0000021c R_ARM_PC24 MACHMAINZ
00000258 R_ARM_PC24 MACHMAINZ
+49 -49
View File
@@ -72,35 +72,35 @@ LOAD tmp/arm.v5a-darwin.macho-main.o
.plt
*(.plt)
.text 0x0000000008048000 0x1108
.text 0x0000000008048000 0x11ec
*(.text .stub .text.* .gnu.linkonce.t.*)
.text 0x0000000008048000 0x244 tmp/arm.v5a-darwin.macho-fold.o
0x000000000804812c munmap
0x00000000080481b0 bswap
0x00000000080481e0 __udivsi3
0x0000000008048154 mmap
0x00000000080480dc write
.text 0x0000000008048000 0x318 tmp/arm.v5a-darwin.macho-fold.o
0x0000000008048200 munmap
0x0000000008048284 bswap
0x00000000080482b4 __udivsi3
0x0000000008048228 mmap
0x00000000080481b0 write
0x0000000008048000 _start
0x00000000080480c8 read
0x00000000080480b4 spin
0x000000000804818c pread
0x00000000080480b8 exit
0x0000000008048118 brk
0x00000000080480f0 open
0x00000000080481e8 div10
0x0000000008048140 mprotect
0x0000000008048104 close
.text 0x0000000008048244 0xec4 tmp/arm.v5a-darwin.macho-main.o
0x0000000008048828 do_xmap
0x0000000008048e60 upx_main
0x000000000804819c read
0x0000000008048188 spin
0x0000000008048260 pread
0x000000000804818c exit
0x00000000080481ec brk
0x00000000080481c4 open
0x00000000080482bc div10
0x0000000008048214 mprotect
0x00000000080481d8 close
.text 0x0000000008048318 0xed4 tmp/arm.v5a-darwin.macho-main.o
0x00000000080488fc do_xmap
0x0000000008048f44 upx_main
*(.text.*personality*)
*(.gnu.warning)
.fini
*(.fini)
0x0000000008049108 PROVIDE (__etext, .)
0x0000000008049108 PROVIDE (_etext, .)
0x0000000008049108 PROVIDE (etext, .)
0x00000000080491ec PROVIDE (__etext, .)
0x00000000080491ec PROVIDE (_etext, .)
0x00000000080491ec PROVIDE (etext, .)
.rodata
*(.rodata .rodata.* .gnu.linkonce.r.*)
@@ -116,8 +116,8 @@ LOAD tmp/arm.v5a-darwin.macho-main.o
.gcc_except_table
*(.gcc_except_table .gcc_except_table.*)
0x0000000008049108 . = (ALIGN (0x1000) - ((0x1000 - .) & 0xfff))
0x000000000804a108 . = (0x1000 DATA_SEGMENT_ALIGN 0x1000)
0x00000000080491ec . = (ALIGN (0x1000) - ((0x1000 - .) & 0xfff))
0x000000000804a1ec . = (0x1000 DATA_SEGMENT_ALIGN 0x1000)
.eh_frame
*(.eh_frame)
@@ -132,22 +132,22 @@ LOAD tmp/arm.v5a-darwin.macho-main.o
*(.tbss .tbss.* .gnu.linkonce.tb.*)
*(.tcommon)
.preinit_array 0x000000000804a108 0x0
0x000000000804a108 PROVIDE (__preinit_array_start, .)
.preinit_array 0x000000000804a1ec 0x0
0x000000000804a1ec PROVIDE (__preinit_array_start, .)
*(.preinit_array)
0x000000000804a108 PROVIDE (__preinit_array_end, .)
0x000000000804a1ec PROVIDE (__preinit_array_end, .)
.init_array 0x000000000804a108 0x0
0x000000000804a108 PROVIDE (__init_array_start, .)
.init_array 0x000000000804a1ec 0x0
0x000000000804a1ec PROVIDE (__init_array_start, .)
*(SORT(.init_array.*))
*(.init_array)
0x000000000804a108 PROVIDE (__init_array_end, .)
0x000000000804a1ec PROVIDE (__init_array_end, .)
.fini_array 0x000000000804a108 0x0
0x000000000804a108 PROVIDE (__fini_array_start, .)
.fini_array 0x000000000804a1ec 0x0
0x000000000804a1ec PROVIDE (__fini_array_start, .)
*(.fini_array)
*(SORT(.fini_array.*))
0x000000000804a108 PROVIDE (__fini_array_end, .)
0x000000000804a1ec PROVIDE (__fini_array_end, .)
.ctors
*crtbegin*.o(.ctors)
@@ -173,35 +173,35 @@ LOAD tmp/arm.v5a-darwin.macho-main.o
.got
*(.got)
0x000000000804a108 . = (. DATA_SEGMENT_RELRO_END 0xc)
0x000000000804a1ec . = (. DATA_SEGMENT_RELRO_END 0xc)
.got.plt
*(.got.plt)
.data 0x000000000804a108 0x0
.data 0x000000000804a1ec 0x0
*(.data .data.* .gnu.linkonce.d.*)
.data 0x000000000804a108 0x0 tmp/arm.v5a-darwin.macho-fold.o
.data 0x000000000804a108 0x0 tmp/arm.v5a-darwin.macho-main.o
.data 0x000000000804a1ec 0x0 tmp/arm.v5a-darwin.macho-fold.o
.data 0x000000000804a1ec 0x0 tmp/arm.v5a-darwin.macho-main.o
*(.gnu.linkonce.d.*personality*)
.data1
*(.data1)
0x000000000804a108 _edata = .
0x000000000804a108 PROVIDE (edata, .)
0x000000000804a108 __bss_start = .
0x000000000804a1ec _edata = .
0x000000000804a1ec PROVIDE (edata, .)
0x000000000804a1ec __bss_start = .
.bss 0x000000000804a108 0x0
.bss 0x000000000804a1ec 0x0
*(.dynbss)
*(.bss .bss.* .gnu.linkonce.b.*)
.bss 0x000000000804a108 0x0 tmp/arm.v5a-darwin.macho-fold.o
.bss 0x000000000804a108 0x0 tmp/arm.v5a-darwin.macho-main.o
.bss 0x000000000804a1ec 0x0 tmp/arm.v5a-darwin.macho-fold.o
.bss 0x000000000804a1ec 0x0 tmp/arm.v5a-darwin.macho-main.o
*(COMMON)
0x000000000804a108 . = ALIGN ((. != 0x0)?0x4:0x1)
0x000000000804a108 . = ALIGN (0x4)
0x000000000804a108 . = ALIGN (0x4)
0x000000000804a108 _end = .
0x000000000804a108 PROVIDE (end, .)
0x000000000804a108 . = DATA_SEGMENT_END (.)
0x000000000804a1ec . = ALIGN ((. != 0x0)?0x4:0x1)
0x000000000804a1ec . = ALIGN (0x4)
0x000000000804a1ec . = ALIGN (0x4)
0x000000000804a1ec _end = .
0x000000000804a1ec PROVIDE (end, .)
0x000000000804a1ec . = DATA_SEGMENT_END (.)
.stab
*(.stab)
+15 -14
View File
@@ -2,18 +2,18 @@ file format elf64-littleaarch64
Sections:
Idx Name Size VMA LMA File off Algn Flags
0 MACHMAINX 00000008 0000000000000000 0000000000000000 00000040 2**0 CONTENTS, RELOC, READONLY
1 NRV_HEAD 00000000 0000000000000000 0000000000000000 00000048 2**0 CONTENTS, READONLY
2 NRV2E 00000128 0000000000000000 0000000000000000 00000048 2**0 CONTENTS, READONLY
3 NRV2D 0000011c 0000000000000000 0000000000000000 00000170 2**0 CONTENTS, READONLY
4 NRV2B 000000f0 0000000000000000 0000000000000000 0000028c 2**0 CONTENTS, READONLY
5 NRV_TAIL 00000000 0000000000000000 0000000000000000 0000037c 2**0 CONTENTS, READONLY
6 LZMA_ELF00 000000d0 0000000000000000 0000000000000000 0000037c 2**0 CONTENTS, RELOC, READONLY
7 LZMA_DEC20 00000968 0000000000000000 0000000000000000 0000044c 2**0 CONTENTS, READONLY
8 LZMA_DEC10 0000049c 0000000000000000 0000000000000000 00000db4 2**0 CONTENTS, READONLY
9 LZMA_DEC30 00000000 0000000000000000 0000000000000000 00001250 2**0 CONTENTS, READONLY
10 MACHMAINY 00000000 0000000000000000 0000000000000000 00001250 2**0 CONTENTS, READONLY
11 MACHMAINZ 00000150 0000000000000000 0000000000000000 00001250 2**0 CONTENTS, RELOC, READONLY
0 MACHMAINX 00000018 0000000000000000 0000000000000000 00000040 2**0 CONTENTS, RELOC, READONLY
1 NRV_HEAD 00000000 0000000000000000 0000000000000000 00000058 2**0 CONTENTS, READONLY
2 NRV2E 00000128 0000000000000000 0000000000000000 00000058 2**0 CONTENTS, READONLY
3 NRV2D 0000011c 0000000000000000 0000000000000000 00000180 2**0 CONTENTS, READONLY
4 NRV2B 000000f0 0000000000000000 0000000000000000 0000029c 2**0 CONTENTS, READONLY
5 NRV_TAIL 00000000 0000000000000000 0000000000000000 0000038c 2**0 CONTENTS, READONLY
6 LZMA_ELF00 000000d0 0000000000000000 0000000000000000 0000038c 2**0 CONTENTS, RELOC, READONLY
7 LZMA_DEC20 00000968 0000000000000000 0000000000000000 0000045c 2**0 CONTENTS, READONLY
8 LZMA_DEC10 0000049c 0000000000000000 0000000000000000 00000dc4 2**0 CONTENTS, READONLY
9 LZMA_DEC30 00000000 0000000000000000 0000000000000000 00001260 2**0 CONTENTS, READONLY
10 MACHMAINY 00000000 0000000000000000 0000000000000000 00001260 2**0 CONTENTS, READONLY
11 MACHMAINZ 000002e0 0000000000000000 0000000000000000 00001260 2**0 CONTENTS, RELOC, READONLY
SYMBOL TABLE:
0000000000000000 l d LZMA_DEC30 0000000000000000 LZMA_DEC30
0000000000000000 l d MACHMAINZ 0000000000000000 MACHMAINZ
@@ -36,7 +36,8 @@ SYMBOL TABLE:
RELOCATION RECORDS FOR [MACHMAINX]:
OFFSET TYPE VALUE
0000000000000004 R_AARCH64_CALL26 MACHMAINZ+0x00000000000000dc
000000000000000c R_AARCH64_CALL26 MACHMAINZ+0x00000000000000e8
0000000000000014 R_AARCH64_CALL26 MACHMAINZ+0x0000000000000264
RELOCATION RECORDS FOR [LZMA_ELF00]:
OFFSET TYPE VALUE
@@ -44,4 +45,4 @@ OFFSET TYPE VALUE
RELOCATION RECORDS FOR [MACHMAINZ]:
OFFSET TYPE VALUE
0000000000000128 R_AARCH64_ADR_PREL_LO21 _start-0x0000000000000008
00000000000002b8 R_AARCH64_ADR_PREL_LO21 _start-0x0000000000000008
+58 -58
View File
@@ -67,36 +67,36 @@ LOAD tmp/arm64-darwin.macho-main.o
*(.iplt)
.iplt 0x0000000000400080 0x0 tmp/arm64-darwin.macho-fold.o
.text 0x0000000000400078 0x10c0
.text 0x0000000000400078 0x124c
*(.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 0x0000000000400078 0x158 tmp/arm64-darwin.macho-fold.o
.text 0x0000000000400078 0x2e4 tmp/arm64-darwin.macho-fold.o
0x0000000000400078 _start
0x000000000040012c spin
0x0000000000400130 exit
0x0000000000400138 read
0x0000000000400144 write
0x0000000000400150 open
0x000000000040015c close
0x0000000000400168 brk
0x0000000000400174 munmap
0x0000000000400180 mprotect
0x000000000040018c mmap
0x0000000000400198 pread
0x00000000004001a4 bswap
.text 0x00000000004001d0 0xf68 tmp/arm64-darwin.macho-main.o
0x0000000000400898 do_xmap
0x0000000000400e78 upx_main
0x00000000004002ac spin
0x00000000004002b0 exit
0x00000000004002b8 read
0x00000000004002c4 write
0x00000000004002d0 open
0x00000000004002e8 close
0x00000000004002f4 brk
0x0000000000400300 munmap
0x000000000040030c mprotect
0x0000000000400318 mmap
0x0000000000400324 pread
0x0000000000400330 bswap
.text 0x000000000040035c 0xf68 tmp/arm64-darwin.macho-main.o
0x0000000000400a24 do_xmap
0x0000000000401004 upx_main
*(.gnu.warning)
.fini
*(SORT(.fini))
0x0000000000401138 PROVIDE (__etext, .)
0x0000000000401138 PROVIDE (_etext, .)
0x0000000000401138 PROVIDE (etext, .)
0x00000000004012c4 PROVIDE (__etext, .)
0x00000000004012c4 PROVIDE (_etext, .)
0x00000000004012c4 PROVIDE (etext, .)
.rodata
*(.rodata .rodata.* .gnu.linkonce.r.*)
@@ -107,9 +107,9 @@ LOAD tmp/arm64-darwin.macho-main.o
.eh_frame_hdr
*(.eh_frame_hdr)
.eh_frame 0x0000000000401138 0x1c8
.eh_frame 0x00000000004012c8 0x1c8
*(.eh_frame)
.eh_frame 0x0000000000401138 0x1c8 tmp/arm64-darwin.macho-main.o
.eh_frame 0x00000000004012c8 0x1c8 tmp/arm64-darwin.macho-main.o
0x1b8 (size before relaxing)
.gcc_except_table
@@ -117,8 +117,8 @@ LOAD tmp/arm64-darwin.macho-main.o
.exception_ranges
*(.exception_ranges .exception_ranges*)
0x0000000000401300 . = (ALIGN (0x10000) - ((0x10000 - .) & 0xffff))
0x0000000000411300 . = DATA_SEGMENT_ALIGN (0x10000, 0x1000)
0x0000000000401490 . = (ALIGN (0x10000) - ((0x10000 - .) & 0xffff))
0x0000000000411490 . = DATA_SEGMENT_ALIGN (0x10000, 0x1000)
.eh_frame
*(.eh_frame)
@@ -136,22 +136,22 @@ LOAD tmp/arm64-darwin.macho-main.o
*(.tbss .tbss.* .gnu.linkonce.tb.*)
*(.tcommon)
.preinit_array 0x0000000000411300 0x0
0x0000000000411300 PROVIDE (__preinit_array_start, .)
.preinit_array 0x0000000000411490 0x0
0x0000000000411490 PROVIDE (__preinit_array_start, .)
*(.preinit_array)
0x0000000000411300 PROVIDE (__preinit_array_end, .)
0x0000000000411490 PROVIDE (__preinit_array_end, .)
.init_array 0x0000000000411300 0x0
0x0000000000411300 PROVIDE (__init_array_start, .)
.init_array 0x0000000000411490 0x0
0x0000000000411490 PROVIDE (__init_array_start, .)
*(SORT(.init_array.*))
*(.init_array)
0x0000000000411300 PROVIDE (__init_array_end, .)
0x0000000000411490 PROVIDE (__init_array_end, .)
.fini_array 0x0000000000411300 0x0
0x0000000000411300 PROVIDE (__fini_array_start, .)
.fini_array 0x0000000000411490 0x0
0x0000000000411490 PROVIDE (__fini_array_start, .)
*(SORT(.fini_array.*))
*(.fini_array)
0x0000000000411300 PROVIDE (__fini_array_end, .)
0x0000000000411490 PROVIDE (__fini_array_end, .)
.ctors
*crtbegin.o(.ctors)
@@ -180,43 +180,43 @@ LOAD tmp/arm64-darwin.macho-main.o
.got
*(.got)
*(.igot)
0x0000000000411300 . = DATA_SEGMENT_RELRO_END (., 0x18)
0x0000000000411490 . = DATA_SEGMENT_RELRO_END (., 0x18)
.got.plt 0x0000000000411300 0x0
.got.plt 0x0000000000411490 0x0
*(.got.plt)
*(.igot.plt)
.igot.plt 0x0000000000411300 0x0 tmp/arm64-darwin.macho-fold.o
.igot.plt 0x0000000000411490 0x0 tmp/arm64-darwin.macho-fold.o
.data 0x0000000000411300 0x0
0x0000000000411300 PROVIDE (__data_start, .)
.data 0x0000000000411490 0x0
0x0000000000411490 PROVIDE (__data_start, .)
*(.data .data.* .gnu.linkonce.d.*)
.data 0x0000000000411300 0x0 tmp/arm64-darwin.macho-fold.o
.data 0x0000000000411300 0x0 tmp/arm64-darwin.macho-main.o
.data 0x0000000000411490 0x0 tmp/arm64-darwin.macho-fold.o
.data 0x0000000000411490 0x0 tmp/arm64-darwin.macho-main.o
.data1
*(.data1)
0x0000000000411300 _edata = .
0x0000000000411300 PROVIDE (edata, .)
0x0000000000411300 . = .
0x0000000000411300 __bss_start = .
0x0000000000411300 __bss_start__ = .
0x0000000000411490 _edata = .
0x0000000000411490 PROVIDE (edata, .)
0x0000000000411490 . = .
0x0000000000411490 __bss_start = .
0x0000000000411490 __bss_start__ = .
.bss 0x0000000000411300 0x0
.bss 0x0000000000411490 0x0
*(.dynbss)
*(.bss .bss.* .gnu.linkonce.b.*)
.bss 0x0000000000411300 0x0 tmp/arm64-darwin.macho-fold.o
.bss 0x0000000000411300 0x0 tmp/arm64-darwin.macho-main.o
.bss 0x0000000000411490 0x0 tmp/arm64-darwin.macho-fold.o
.bss 0x0000000000411490 0x0 tmp/arm64-darwin.macho-main.o
*(COMMON)
0x0000000000411300 . = ALIGN ((. != 0x0)?0x8:0x1)
0x0000000000411300 _bss_end__ = .
0x0000000000411300 __bss_end__ = .
0x0000000000411300 . = ALIGN (0x8)
0x0000000000411300 . = SEGMENT_START ("ldata-segment", .)
0x0000000000411300 . = ALIGN (0x8)
0x0000000000411300 __end__ = .
0x0000000000411300 _end = .
0x0000000000411300 PROVIDE (end, .)
0x0000000000411300 . = DATA_SEGMENT_END (.)
0x0000000000411490 . = ALIGN ((. != 0x0)?0x8:0x1)
0x0000000000411490 _bss_end__ = .
0x0000000000411490 __bss_end__ = .
0x0000000000411490 . = ALIGN (0x8)
0x0000000000411490 . = SEGMENT_START ("ldata-segment", .)
0x0000000000411490 . = ALIGN (0x8)
0x0000000000411490 __end__ = .
0x0000000000411490 _end = .
0x0000000000411490 PROVIDE (end, .)
0x0000000000411490 . = DATA_SEGMENT_END (.)
.stab
*(.stab)