Reverts an "enhancement" made in a previous delta which complained of
authorNick Clifton <nickc@redhat.com>
Wed, 24 Dec 2014 08:21:50 +0000 (08:21 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 24 Dec 2014 08:21:50 +0000 (08:21 +0000)
unprocessed augmentation data at the end of a CIE.

* dwarf.c (read_cie): Revert check for unused augmentation data -
it was bogus.

binutils/ChangeLog
binutils/dwarf.c

index b2bb3f1d2ef324ccea76fdba0672e0f221b2863b..3427f0d182888e8f367e7fb2f1d0f6f22279f96e 100644 (file)
@@ -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.
index e4efd06581e8c8913afb65323199d2ecf51dbaed..332d7009701e8a68652cb04125e625eb52156e85 100644 (file)
@@ -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;
This page took 0.028366 seconds and 4 git commands to generate.