This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Commit: Update binutils DWARF tests for 16 bit targets
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Mon, 18 May 2015 14:35:53 +0100
- Subject: Commit: Update binutils DWARF tests for 16 bit targets
- Authentication-results: sourceware.org; auth=none
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: