diff options
Diffstat (limited to 'aarch64-linux-android/lib/ldscripts/aarch64elf.xsw')
-rw-r--r-- | aarch64-linux-android/lib/ldscripts/aarch64elf.xsw | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/aarch64-linux-android/lib/ldscripts/aarch64elf.xsw b/aarch64-linux-android/lib/ldscripts/aarch64elf.xsw index dd4be4e..56047fa 100644 --- a/aarch64-linux-android/lib/ldscripts/aarch64elf.xsw +++ b/aarch64-linux-android/lib/ldscripts/aarch64elf.xsw @@ -29,21 +29,21 @@ SECTIONS *(.rela.dtors) *(.rela.got) *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) - *(.rela.iplt) + *(.rela.ifunc) } .rela.plt : { *(.rela.plt) + *(.rela.iplt) } .init : { KEEP (*(SORT_NONE(.init))) } =0 - .plt : { *(.plt) } - .iplt : { *(.iplt) } + .plt : { *(.plt) *(.iplt) } .text : { - *(.text.unlikely .text.*_unlikely) + *(.text.unlikely .text.*_unlikely .text.unlikely.*) *(.text.exit .text.exit.*) *(.text.startup .text.startup.*) *(.text.hot .text.hot.*) @@ -145,12 +145,12 @@ SECTIONS .bss section disappears because there are no input sections. FIXME: Why do we need it? When there is no .bss section, we don't pad the .data section. */ - . = ALIGN(. != 0 ? 32 / 8 : 1); + . = ALIGN(. != 0 ? 64 / 8 : 1); } _bss_end__ = . ; __bss_end__ = . ; - . = ALIGN(32 / 8); + . = ALIGN(64 / 8); . = SEGMENT_START("ldata-segment", .); - . = ALIGN(32 / 8); + . = ALIGN(64 / 8); __end__ = . ; _end = .; PROVIDE (end = .); /* Stabs debugging sections. */ @@ -176,7 +176,7 @@ SECTIONS /* DWARF 2 */ .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) } .debug_abbrev 0 : { *(.debug_abbrev) } - .debug_line 0 : { *(.debug_line) } + .debug_line 0 : { *(.debug_line .debug_line.* .debug_line_end ) } .debug_frame 0 : { *(.debug_frame) } .debug_str 0 : { *(.debug_str) } .debug_loc 0 : { *(.debug_loc) } @@ -198,5 +198,5 @@ SECTIONS } .ARM.attributes 0 : { KEEP (*(.ARM.attributes)) KEEP (*(.gnu.attributes)) } .note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) } - /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) *(.gnu_object_only) } + /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) } } |