aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2014-12-24 08:21:50 +0000
committerNick Clifton <nickc@redhat.com>2014-12-24 08:21:50 +0000
commitc361b9ac1ffcf62fb5d4c031c55e60cea963a85d (patch)
treeae296ef1132c6262aa0fba4b53d4030e46a38a7c /binutils
parentd5111a0e037c732029879829ca4d18ae2ae0d3e5 (diff)
downloadgdb-c361b9ac1ffcf62fb5d4c031c55e60cea963a85d.zip
gdb-c361b9ac1ffcf62fb5d4c031c55e60cea963a85d.tar.gz
gdb-c361b9ac1ffcf62fb5d4c031c55e60cea963a85d.tar.bz2
Reverts an "enhancement" made in a previous delta which complained of
unprocessed augmentation data at the end of a CIE. * dwarf.c (read_cie): Revert check for unused augmentation data - it was bogus.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/dwarf.c9
2 files changed, 7 insertions, 7 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index b2bb3f1..3427f0d 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-24 Nick Clifton <nickc@redhat.com>
+
+ * dwarf.c (read_cie): Revert check for unused augmentation data -
+ it was bogus.
+
2014-12-23 Andrew Stubbs <ams@codesourcery.com>
* objcopy.c (strip_usage): Reword --remove-section description.
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index e4efd06..332d700 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -5535,13 +5535,8 @@ read_cie (unsigned char *start, unsigned char *end,
break;
p++;
}
-
- if (q < qend)
- {
- warn (_("Not enough augmentation data (%lx bytes still needed)\n"),
- (long) ((augmentation_data + augmentation_data_len) - q));
- augmentation_data_len = q - augmentation_data;
- }
+ /* Note - it is OK if this loop terminates with q < qend.
+ Padding may have been inserted to align the end of the CIE. */
}
*p_cie = fc;