aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-07-19 20:21:52 +0000
committerMark Mitchell <mark@codesourcery.com>1999-07-19 20:21:52 +0000
commit0ca638235fd604214ba86252fdf872cd081f49bc (patch)
tree6a41bb7dbe32ea17172fd5934eb1333e6dea9e81 /ld/emulparams
parentf1a5f37efe8ec6ebe6d180317e1e213b01c329a9 (diff)
downloadgdb-0ca638235fd604214ba86252fdf872cd081f49bc.zip
gdb-0ca638235fd604214ba86252fdf872cd081f49bc.tar.gz
gdb-0ca638235fd604214ba86252fdf872cd081f49bc.tar.bz2
* emulparams/elf32bmipn32.sh (OTHER_RELOCATING_SECTIONS): Add
.MIPS.events and .MIPS.content handling. * emulparams/elf64bmip.sh (OTHER_RELOCATING_SECTIONS): Likewise.
Diffstat (limited to 'ld/emulparams')
-rwxr-xr-xld/emulparams/elf32bmipn32.sh32
-rwxr-xr-xld/emulparams/elf64bmip.sh32
2 files changed, 64 insertions, 0 deletions
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*)
+ }
+'