aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2009-09-07 18:07:02 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2009-09-07 18:07:02 +0000
commiteb7cc02115c176068ad577e9787cff620cf32d4f (patch)
tree3899f9763528884b58f68e57ad0b3be47e48956d /binutils/testsuite
parent1ecbdee03ea43a662dda7b1fd47102b11b284925 (diff)
downloadgdb-eb7cc02115c176068ad577e9787cff620cf32d4f.zip
gdb-eb7cc02115c176068ad577e9787cff620cf32d4f.tar.gz
gdb-eb7cc02115c176068ad577e9787cff620cf32d4f.tar.bz2
binutils/
* dwarf.c (process_debug_info): Support section padding abbrev codes. binutils/testsuite/ * binutils-all/testranges.s (.debug_info): Pad the only CU.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r--binutils/testsuite/ChangeLog4
-rw-r--r--binutils/testsuite/binutils-all/testranges.s4
2 files changed, 8 insertions, 0 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index d212b67..250959e 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * binutils-all/testranges.s (.debug_info): Pad the only CU.
+
+2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+
* binutils-all/testranges.s: Replace all .long by .4byte.
2009-09-04 DJ Delorie <dj@redhat.com>
diff --git a/binutils/testsuite/binutils-all/testranges.s b/binutils/testsuite/binutils-all/testranges.s
index 0964519..e1f9931b 100644
--- a/binutils/testsuite/binutils-all/testranges.s
+++ b/binutils/testsuite/binutils-all/testranges.s
@@ -32,6 +32,10 @@ debugS:
.uleb128 0x2 ;# (DIE (0x6d) DW_TAG_subprogram)
.ascii "A\0" ;# DW_AT_name
.4byte range_sub - range ;# DW_AT_ranges
+
+ ;# minimal section alignment on alpha-* is 2, ensure no new invalid CU
+ ;# will be started.
+ .balign 2
debugE:
.section .debug_abbrev,"",%progbits