From 0ca638235fd604214ba86252fdf872cd081f49bc Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Mon, 19 Jul 1999 20:21:52 +0000 Subject: * emulparams/elf32bmipn32.sh (OTHER_RELOCATING_SECTIONS): Add .MIPS.events and .MIPS.content handling. * emulparams/elf64bmip.sh (OTHER_RELOCATING_SECTIONS): Likewise. --- ld/ChangeLog | 6 ++++++ ld/emulparams/elf32bmipn32.sh | 32 ++++++++++++++++++++++++++++++++ ld/emulparams/elf64bmip.sh | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index e8af0fd..e762a90 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +Mon Jul 19 14:19:14 1999 Mark P. Mitchell + + * emulparams/elf32bmipn32.sh (OTHER_RELOCATING_SECTIONS): Add + .MIPS.events and .MIPS.content handling. + * emulparams/elf64bmip.sh (OTHER_RELOCATING_SECTIONS): Likewise. + 1999-07-17 Nick Clifton * ldlang.c (get_target): New function: Return true iff the diff --git a/ld/emulparams/elf32bmipn32.sh b/ld/emulparams/elf32bmipn32.sh index 0efae9b..56f42a9 100755 --- a/ld/emulparams/elf32bmipn32.sh +++ b/ld/emulparams/elf32bmipn32.sh @@ -41,3 +41,35 @@ EXECUTABLE_SYMBOLS=" # segment. WRITABLE_RODATA= +OTHER_RELOCATING_SECTIONS=' + .MIPS.events.text : + { + *(.MIPS.events.text) + *(.MIPS.events.gnu.linkonce.t*) + } + .MIPS.content.text : + { + *(.MIPS.content.text) + *(.MIPS.content.gnu.linkonce.t*) + } + .MIPS.events.data : + { + *(.MIPS.events.data) + *(.MIPS.events.gnu.linkonce.d*) + } + .MIPS.content.data : + { + *(.MIPS.content.data) + *(.MIPS.content.gnu.linkonce.d*) + } + .MIPS.events.rodata : + { + *(.MIPS.events.rodata) + *(.MIPS.events.gnu.linkonce.r*) + } + .MIPS.content.rodata : + { + *(.MIPS.content.rodata) + *(.MIPS.content.gnu.linkonce.r*) + } +' diff --git a/ld/emulparams/elf64bmip.sh b/ld/emulparams/elf64bmip.sh index c77cee4..a4852d5 100755 --- a/ld/emulparams/elf64bmip.sh +++ b/ld/emulparams/elf64bmip.sh @@ -45,3 +45,35 @@ EXECUTABLE_SYMBOLS=" WRITABLE_RODATA= +OTHER_RELOCATING_SECTIONS=' + .MIPS.events.text : + { + *(.MIPS.events.text) + *(.MIPS.events.gnu.linkonce.t*) + } + .MIPS.content.text : + { + *(.MIPS.content.text) + *(.MIPS.content.gnu.linkonce.t*) + } + .MIPS.events.data : + { + *(.MIPS.events.data) + *(.MIPS.events.gnu.linkonce.d*) + } + .MIPS.content.data : + { + *(.MIPS.content.data) + *(.MIPS.content.gnu.linkonce.d*) + } + .MIPS.events.rodata : + { + *(.MIPS.events.rodata) + *(.MIPS.events.gnu.linkonce.r*) + } + .MIPS.content.rodata : + { + *(.MIPS.content.rodata) + *(.MIPS.content.gnu.linkonce.r*) + } +' -- cgit v1.1