From f38069161116907b870668f979f81c8dc5bba0d9 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 9 Feb 2004 18:06:20 +0000 Subject: [PATCH] * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move .note.gnu.arm.ident to after allocated sections. Mark its address as 0. --- ld/ChangeLog | 6 ++++++ ld/emulparams/armelf.sh | 2 +- ld/emulparams/armelf_linux.sh | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index efb71f3340e..373d7ac0e03 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2004-02-09 Daniel Jacobowitz + + * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move + .note.gnu.arm.ident to after allocated sections. Mark its + address as 0. + 2004-02-09 Daniel Jacobowitz * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB. diff --git a/ld/emulparams/armelf.sh b/ld/emulparams/armelf.sh index 71e305909c9..35a6d232573 100644 --- a/ld/emulparams/armelf.sh +++ b/ld/emulparams/armelf.sh @@ -7,9 +7,9 @@ TEXT_START_ADDR=0x8000 TEMPLATE_NAME=elf32 EXTRA_EM_FILE=armelf OTHER_TEXT_SECTIONS='*(.glue_7t) *(.glue_7)' -OTHER_READONLY_SECTIONS='.note.gnu.arm.ident : { KEEP (*(.note.gnu.arm.ident)) }' OTHER_BSS_SYMBOLS='__bss_start__ = .;' OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ; __end__ = . ;' +OTHER_SECTIONS='.note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }' DATA_START_SYMBOLS='__data_start = . ;'; diff --git a/ld/emulparams/armelf_linux.sh b/ld/emulparams/armelf_linux.sh index 99a1afe91c2..88a2d19151d 100644 --- a/ld/emulparams/armelf_linux.sh +++ b/ld/emulparams/armelf_linux.sh @@ -11,9 +11,9 @@ GENERATE_SHLIB_SCRIPT=yes DATA_START_SYMBOLS='__data_start = . ;'; OTHER_TEXT_SECTIONS='*(.glue_7t) *(.glue_7)' -OTHER_READONLY_SECTIONS='.note.gnu.arm.ident : { KEEP (*(.note.gnu.arm.ident)) }' OTHER_BSS_SYMBOLS='__bss_start__ = .;' OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ; __end__ = . ;' +OTHER_SECTIONS='.note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }' TEXT_START_ADDR=0x00008000 -- 2.30.2