aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/loadaddr.s
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2006-08-18 14:38:00 +0000
committerH.J. Lu <hjl.tools@gmail.com>2006-08-18 14:38:00 +0000
commit7c9e8d98112842cba7fde29e05ab9860c9098b43 (patch)
treeb7aaeca13824058904cda3efc38ff474e031c751 /ld/testsuite/ld-elf/loadaddr.s
parent61049d3bcf3ab3c3350acbd8a185cf0995168971 (diff)
downloadgdb-7c9e8d98112842cba7fde29e05ab9860c9098b43.zip
gdb-7c9e8d98112842cba7fde29e05ab9860c9098b43.tar.gz
gdb-7c9e8d98112842cba7fde29e05ab9860c9098b43.tar.bz2
2006-08-18 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3052 * ld-elf/loadaddr.s: New file. * ld-elf/loadaddr1.d: Likewise. * ld-elf/loadaddr1.t: Likewise. * ld-elf/loadaddr2.d: Likewise. * ld-elf/loadaddr2.t: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/loadaddr.s')
-rw-r--r--ld/testsuite/ld-elf/loadaddr.s16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/loadaddr.s b/ld/testsuite/ld-elf/loadaddr.s
new file mode 100644
index 0000000..dcf40c8
--- /dev/null
+++ b/ld/testsuite/ld-elf/loadaddr.s
@@ -0,0 +1,16 @@
+ .text
+ .globl main
+ .globl start
+ .globl _start
+ .globl __start
+main:
+start:
+_start:
+__start:
+ .byte 0
+ .section .bar,"ax","progbits"
+ .byte 0
+ .section .foo,"aw","progbits"
+ .byte 0
+ .data
+ .byte 0