From e08fa7e57a573a9baa5ccd8d4b8d73cc871f9b48 Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Sat, 26 Apr 2014 19:46:31 -0700 Subject: Update x86_64-linux-android-4.8 to 4.8.2 Taken from NDK r9d+. See previous commit for build instructions Change-Id: Ice785e5a9057502377e473237a4e83084fe56079 --- x86_64-linux-android/lib/ldscripts/elf_l1om.xn | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'x86_64-linux-android/lib/ldscripts/elf_l1om.xn') diff --git a/x86_64-linux-android/lib/ldscripts/elf_l1om.xn b/x86_64-linux-android/lib/ldscripts/elf_l1om.xn index efad55b..2a035b3 100644 --- a/x86_64-linux-android/lib/ldscripts/elf_l1om.xn +++ b/x86_64-linux-android/lib/ldscripts/elf_l1om.xn @@ -49,7 +49,7 @@ SECTIONS .iplt : { *(.iplt) } .text : { - *(.text.unlikely .text.*_unlikely) + *(.text.unlikely .text.*_unlikely .text.unlikely.*) *(.text.exit .text.exit.*) *(.text.startup .text.startup.*) *(.text.hot .text.hot.*) @@ -99,8 +99,7 @@ SECTIONS { KEEP (*crtbegin*.o(.init_array)) KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*) SORT_BY_INIT_PRIORITY(.ctors.*))) - KEEP (*(.init_array)) - KEEP (*(EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtend.o *crtend?.o ) .ctors)) + KEEP (*(.init_array EXCLUDE_FILE (*crtbegin.o *crtbegin*.o *crtend.o *crtend*.o ) .ctors)) } PROVIDE_HIDDEN (__init_array_end = .); PROVIDE_HIDDEN (__fini_array_start = .); @@ -108,8 +107,7 @@ SECTIONS { KEEP (*crtbegin*.o(.fini_array)) KEEP (*(SORT_BY_INIT_PRIORITY(.fini_array.*) SORT_BY_INIT_PRIORITY(.dtors.*))) - KEEP (*(.fini_array)) - KEEP (*(EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtend.o *crtend?.o ) .dtors)) + KEEP (*(.fini_array EXCLUDE_FILE (*crtbegin.o *crtbegin*.o *crtend.o *crtend*.o ) .dtors)) } PROVIDE_HIDDEN (__fini_array_end = .); .ctors : @@ -173,6 +171,7 @@ SECTIONS *(LARGE_COMMON) } . = ALIGN(64 / 8); + . = SEGMENT_START("ldata-segment", .); .lrodata ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1)) : { *(.lrodata .lrodata.* .gnu.linkonce.lr.*) @@ -210,7 +209,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) } -- cgit v1.2.3