diff options
author | Nick Clifton <nickc@redhat.com> | 2004-04-20 12:17:16 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-04-20 12:17:16 +0000 |
commit | 6482c264f4a6d239f2abd356e09ae465e74efeb1 (patch) | |
tree | 7ff3cb95f0c24d9341f9366e551a0e23bdb5d9bf /ld/testsuite/ld-pe/secrel1.s | |
parent | b4781d441cad5589faa6e3fcbfcfb20d28cc7579 (diff) | |
download | gdb-6482c264f4a6d239f2abd356e09ae465e74efeb1.zip gdb-6482c264f4a6d239f2abd356e09ae465e74efeb1.tar.gz gdb-6482c264f4a6d239f2abd356e09ae465e74efeb1.tar.bz2 |
Add support for a .secrel32 x86 reloc to allow DWARF" debug information to used
with COFF based x86 ports.
Diffstat (limited to 'ld/testsuite/ld-pe/secrel1.s')
-rw-r--r-- | ld/testsuite/ld-pe/secrel1.s | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/ld/testsuite/ld-pe/secrel1.s b/ld/testsuite/ld-pe/secrel1.s new file mode 100644 index 0000000..eaf59cd --- /dev/null +++ b/ld/testsuite/ld-pe/secrel1.s @@ -0,0 +1,77 @@ +.text
+
+ .ascii ">>>>"
+pre04: .ascii "<<<<"
+ .ascii ">>>>>"
+pre0d: .ascii "<<<"
+ .ascii ">>>>>>"
+pre16: .ascii "<<"
+ .ascii ">>>>>>>"
+pre1f: .ascii "<"
+
+.data
+
+ .ascii ">>>>"
+sam04: .ascii "<<<<"
+ .ascii ">>>>>"
+sam0d: .ascii "<<<"
+ .ascii ">>>>>>"
+sam16: .ascii "<<"
+ .ascii ">>>>>>>"
+sam1f: .ascii "<"
+
+ .ascii ">>>>"
+ .secrel32 pre04
+ .byte 0x11
+ .secrel32 pre0d
+ .byte 0x11
+ .secrel32 pre16
+ .byte 0x11
+ .secrel32 pre1f
+ .byte 0x11
+ .ascii "<<<<<<<<"
+
+ .ascii ">>>>"
+ .secrel32 sam04
+ .byte 0x11
+ .secrel32 sam0d
+ .byte 0x11
+ .secrel32 sam16
+ .byte 0x11
+ .secrel32 sam1f
+ .byte 0x11
+ .ascii "<<<<<<<<"
+
+ .ascii ">>>>"
+ .secrel32 nex04
+ .byte 0x11
+ .secrel32 nex0d
+ .byte 0x11
+ .secrel32 nex16
+ .byte 0x11
+ .secrel32 nex1f
+ .byte 0x11
+ .ascii "<<<<<<<<"
+
+ .ascii ">>>>"
+ .secrel32 ext24
+ .byte 0x11
+ .secrel32 ext2d
+ .byte 0x11
+ .secrel32 ext36
+ .byte 0x11
+ .secrel32 ext3f
+ .byte 0x11
+ .ascii "<<<<<<<<"
+
+.section .rdata
+
+ .ascii ">>>>"
+nex04: .ascii "<<<<"
+ .ascii ">>>>>"
+nex0d: .ascii "<<<"
+ .ascii ">>>>>>"
+nex16: .ascii "<<"
+ .ascii ">>>>>>>"
+nex1f: .ascii "<"
+ .ascii ">>>>"
|