tags 620448 + upstream
quit

Matthias Klose wrote:
> On 04/02/2011 12:37 AM, Josh Triplett wrote:

>> GNU as recently introduced a new check for the .size directive, which
>> has caught some fairly widespread errors (often caused by typos).
>> However, this check results in errors, rather than warnings, and since
>> the check has never existed before and the previous behavior simply
>> ignored the incorrect directive, this has broken the builds of many
>> different pieces of software.  In particular, breaks compilation of all
[...]
> staying with the upstream behaviour.

So that would make this an upstream bug or feature request, right?

I didn't see ay explanation in the aforementioned through for why this
has to be an error by default.  Maybe it would be worth a report at
<http://sourceware.org/bugzilla>.  Certainly the patch could be
simple: something like

-- >8 --
--- a/gas/as.h
+++ b/gas/as.h
@@ -579,8 +579,8 @@ COMMON char *        found_comment_file;
 /* If .size directive failure should be error or warning.  */
 COMMON enum
   {
-    size_check_error = 0,
-    size_check_warning
+    size_check_warning = 0,
+    size_check_error
   }
 flag_size_check;
 #endif
-- 8< --

I imagine.

Good luck,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to