Skip to content
Snippets Groups Projects
Commit c49ff77a authored by Hans-Peter Nilsson's avatar Hans-Peter Nilsson
Browse files

* gas/cris/rd-dtpoffd1.d, gas/cris/rd-dtpoffd1.s: New test.

parent d2b52762
No related merge requests found
2008-12-21 Hans-Peter Nilsson <hp@axis.com>
* gas/cris/rd-dtpoffd1.d, gas/cris/rd-dtpoffd1.s: New test.
2008-12-20 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Run opts, opts-intel, sse2avx-opts,
......
#objdump: -sr
#as: --em=criself
# Checking .dtpoffd output.
.*: file format .*-cris
RELOCATION RECORDS FOR \[.text\]:
OFFSET TYPE VALUE
0+4 R_CRIS_32_DTPREL extsym\+0x0000002a
0+c R_CRIS_32_DTPREL x\+0x00000002
Contents of section .text:
0000 54686973 00000000 69732061 00000000 .*
0010 99665655 .*
Contents of section .tdata:
0000 00000000 .*
; Check that .dtpoffd trivially works, for external (though presumably
; module-local) and local symbols with offsets.
.section .tdata,"awT",@progbits
.type x, @object
.size x, 4
x:
.dword 0
.text
start:
.dword 0x73696854
.dtpoffd extsym+42
.dword 0x61207369
.dtpoffd x+2
.dword 0x55566699
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment