aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/symbian-seg1.s
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-04-29 11:53:45 +0000
committerDaniel Jacobowitz <drow@false.org>2008-04-29 11:53:45 +0000
commit266b05cf7629d7cefecd2b31542a2332e3d5e385 (patch)
tree329c85db1221b44ff910b956ca91823f3688fb5f /ld/testsuite/ld-arm/symbian-seg1.s
parenta0fe373c768a198d0eb78aecedcbe809708dc921 (diff)
downloadgdb-266b05cf7629d7cefecd2b31542a2332e3d5e385.zip
gdb-266b05cf7629d7cefecd2b31542a2332e3d5e385.tar.gz
gdb-266b05cf7629d7cefecd2b31542a2332e3d5e385.tar.bz2
* elf.c (_bfd_elf_get_dynamic_reloc_upper_bound)
(_bfd_elf_canonicalize_dynamic_reloc): Find dynamic relocations even if they are not loaded. * elflink.c (_bfd_elf_init_2_index_sections): Set data_index_section first. * ld-arm/symbian-seg1.s, ld-arm/symbian-seg1.d: New files. * ld-arm/arm-elf.exp: Run symbian-seg1.
Diffstat (limited to 'ld/testsuite/ld-arm/symbian-seg1.s')
-rw-r--r--ld/testsuite/ld-arm/symbian-seg1.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/symbian-seg1.s b/ld/testsuite/ld-arm/symbian-seg1.s
new file mode 100644
index 0000000..8f893a2
--- /dev/null
+++ b/ld/testsuite/ld-arm/symbian-seg1.s
@@ -0,0 +1,13 @@
+ .text
+ .globl _start
+_start:
+ .word datavar
+ .word rodatavar
+
+ .section ".rodata", "a"
+rodatavar:
+ .word 0
+
+ .section ".data", "aw"
+datavar:
+ .word 0