aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorJie Zhang <jie.zhang@analog.com>2008-07-15 13:09:47 +0000
committerJie Zhang <jie.zhang@analog.com>2008-07-15 13:09:47 +0000
commitb0a0b9787e4bb82a555a54077f5df26a96e105a7 (patch)
treeb7d18592be65400d84121f00a203affeba443a28 /ld
parent4098af0f821e6de7251497a6f0a3ce39f24095da (diff)
downloadgdb-b0a0b9787e4bb82a555a54077f5df26a96e105a7.zip
gdb-b0a0b9787e4bb82a555a54077f5df26a96e105a7.tar.gz
gdb-b0a0b9787e4bb82a555a54077f5df26a96e105a7.tar.bz2
bfd/
* elf32-bfin.c (elf32_bfin_special_sections[]): New. (elf_backend_special_sections): Define. ld/ * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/emulparams/elf32bfinfd.sh20
2 files changed, 24 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index ecc1a0a..4c5f7ae 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-15 Jie Zhang <jie.zhang@analog.com>
+
+ * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
+
2008-07-12 Craig Silverstein <csilvers@google.com>
PR ld/6741
diff --git a/ld/emulparams/elf32bfinfd.sh b/ld/emulparams/elf32bfinfd.sh
index 19ec748..e3ae57b 100644
--- a/ld/emulparams/elf32bfinfd.sh
+++ b/ld/emulparams/elf32bfinfd.sh
@@ -14,3 +14,23 @@ OTHER_READONLY_SECTIONS="
${RELOCATING+__ROFIXUP_END__ = .;}
}
"
+# 0xff700000, 0xff800000, 0xff900000 and 0xffa00000 are also used in
+# Dynamic linker and linux kernel. They need to be keep synchronized.
+OTHER_SECTIONS="
+ .l1.data 0xff700000 :
+ {
+ *(.l1.data)
+ }
+ .l1.data.A 0xff800000 :
+ {
+ *(.l1.data.A)
+ }
+ .l1.data.B 0xff900000 :
+ {
+ *(.l1.data.B)
+ }
+ .l1.text 0xffa00000 :
+ {
+ *(.l1.text)
+ }
+"