Commit: Update binutils DWARF tests for 16 bit targets
Nick Clifton
nickc@redhat.com
Mon May 18 13:35:00 GMT 2015
Hi Guys,
I am applying the patch below to fix a small problem with the dw2-W
test that was recently added to the binutils testsuite. It used the
".int" directive and assumed that that would create a 4byte entry.
But for 16-bit targets it only generates a 2-byte entry. This meant
that the DW_AT_high_PC values were wrong for those targets.
Cheers
Nick
binutils/testsuite/ChangeLog
2015-05-18 Nick Clifton <nickc@redhat.com>
* binutils-all/dw2-3.S: Replace .int with .4byte.
diff --git a/binutils/testsuite/binutils-all/dw2-3.S b/binutils/testsuite/binutils-all/dw2-3.S
index c033e4d..1763f5f 100644
--- a/binutils/testsuite/binutils-all/dw2-3.S
+++ b/binutils/testsuite/binutils-all/dw2-3.S
@@ -27,7 +27,7 @@
.type func_cu1, %function
func_cu1:
.Lbegin_func_cu1:
- .int 0
+ .4byte 0
.Lend_func_cu1:
.size func_cu1, .-func_cu1
.Lend_text1:
More information about the Binutils
mailing list