aboutsummaryrefslogtreecommitdiff
path: root/aarch64-linux-gnu/lib/ldscripts/armelfb_linux_eabi.xwe
diff options
context:
space:
mode:
Diffstat (limited to 'aarch64-linux-gnu/lib/ldscripts/armelfb_linux_eabi.xwe')
-rw-r--r--aarch64-linux-gnu/lib/ldscripts/armelfb_linux_eabi.xwe18
1 files changed, 11 insertions, 7 deletions
diff --git a/aarch64-linux-gnu/lib/ldscripts/armelfb_linux_eabi.xwe b/aarch64-linux-gnu/lib/ldscripts/armelfb_linux_eabi.xwe
index a48d413..445b96e 100644
--- a/aarch64-linux-gnu/lib/ldscripts/armelfb_linux_eabi.xwe
+++ b/aarch64-linux-gnu/lib/ldscripts/armelfb_linux_eabi.xwe
@@ -1,5 +1,5 @@
-/* Script for -z combreloc -z now -z relro -z separate-code: combine and sort reloc sections with separate code segment */
-/* Copyright (C) 2014-2019 Free Software Foundation, Inc.
+/* Script for -z combreloc -z separate-code -z relro -z now */
+/* Copyright (C) 2014-2020 Free Software Foundation, Inc.
Copying and distribution of this script, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. */
@@ -7,7 +7,7 @@ OUTPUT_FORMAT("elf32-bigarm", "elf32-bigarm",
"elf32-littlearm")
OUTPUT_ARCH(arm)
ENTRY(_start)
-SEARCH_DIR("=/home/dragon/proton-clang-build/install/aarch64-linux-gnu/lib"); SEARCH_DIR("=/usr/local/lib"); SEARCH_DIR("=/lib"); SEARCH_DIR("=/usr/lib");
+SEARCH_DIR("=/root/build/install/aarch64-linux-gnu/lib"); SEARCH_DIR("=/usr/local/lib"); SEARCH_DIR("=/lib"); SEARCH_DIR("=/usr/lib");
SECTIONS
{
PROVIDE (__executable_start = SEGMENT_START("text-segment", 0x00010000)); . = SEGMENT_START("text-segment", 0x00010000) + SIZEOF_HEADERS;
@@ -76,8 +76,9 @@ SECTIONS
*(.text.exit .text.exit.*)
*(.text.startup .text.startup.*)
*(.text.hot .text.hot.*)
+ *(SORT(.text.sorted.*))
*(.text .stub .text.* .gnu.linkonce.t.*)
- /* .gnu.warning sections are handled specially by elf32.em. */
+ /* .gnu.warning sections are handled specially by elf.em. */
*(.gnu.warning)
*(.glue_7t) *(.glue_7) *(.vfp11_veneer) *(.v4_bx)
}
@@ -95,9 +96,12 @@ SECTIONS
.rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
.rodata1 : { *(.rodata1) }
.ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) }
- PROVIDE_HIDDEN (__exidx_start = .);
- .ARM.exidx : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) }
- PROVIDE_HIDDEN (__exidx_end = .);
+ .ARM.exidx :
+ {
+ PROVIDE_HIDDEN (__exidx_start = .);
+ *(.ARM.exidx* .gnu.linkonce.armexidx.*)
+ PROVIDE_HIDDEN (__exidx_end = .);
+ }
.eh_frame_hdr : { *(.eh_frame_hdr) *(.eh_frame_entry .eh_frame_entry.*) }
.eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) *(.eh_frame.*) }
.gcc_except_table : ONLY_IF_RO { *(.gcc_except_table .gcc_except_table.*) }