mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
7572ca8989
Increase the maximum page size to 64kB and align the TEXT_START_ADDR to a 64kB boundary. This brings AArch32 in line with AArch64 and improves compatability under certain conditions. bfd/ChangeLog: 2014-07-08 Will Newton <will.newton@linaro.org> * elf32-arm.c (ELF_MAXPAGESIZE): Increase the default value to 64kB and remove custom setting for NaCl. ld/ChangeLog: 2014-07-08 Will Newton <will.newton@linaro.org> * emulparams/armelf_linux.sh (TEXT_START_ADDR): Increase alignment to 64kB boundary. ld/testsuite/ChangeLog: 2014-07-08 Will Newton <will.newton@linaro.org> * ld-arm/arm-lib.ld: Increase MAXPAGESIZE value to match bfd. * ld-arm/cortex-a8-fix-bl-rel-plt.d: Update offsets to take into account increased segment alignment. * ld-arm/ifunc-gdesc.r: Likewise. * ld-arm/tls-lib.d: Likewise.
25 lines
735 B
Bash
25 lines
735 B
Bash
ARCH=arm
|
|
SCRIPT_NAME=elf
|
|
OUTPUT_FORMAT="elf32-littlearm"
|
|
BIG_OUTPUT_FORMAT="elf32-bigarm"
|
|
LITTLE_OUTPUT_FORMAT="elf32-littlearm"
|
|
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
|
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
|
|
TEMPLATE_NAME=elf32
|
|
EXTRA_EM_FILE=armelf
|
|
GENERATE_SHLIB_SCRIPT=yes
|
|
GENERATE_PIE_SCRIPT=yes
|
|
|
|
DATA_START_SYMBOLS='PROVIDE (__data_start = .);';
|
|
OTHER_TEXT_SECTIONS='*(.glue_7t) *(.glue_7) *(.vfp11_veneer) *(.v4_bx)'
|
|
OTHER_BSS_SYMBOLS='__bss_start__ = .;'
|
|
OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ;'
|
|
OTHER_END_SYMBOLS='__end__ = . ;'
|
|
OTHER_SECTIONS='.note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }'
|
|
|
|
TEXT_START_ADDR=0x00010000
|
|
TARGET2_TYPE=got-rel
|
|
|
|
# ARM does not support .s* sections.
|
|
NO_SMALL_DATA=yes
|