xcoff64 gas-config-obj-coff.c.patch
Tom Rix
trix@redhat.com
Mon Jan 29 11:40:00 GMT 2001
obj-coff.c : (add_lineno) disable checking for negative line numbers for
xcoff
----------------------------------------------------------------------------
--
diff -rcp sources-original/src/gas/config/obj-coff.c
sources/src/gas/config/obj-coff.c
*** sources-original/src/gas/config/obj-coff.c Sat Jan 20 00:28:32 2001
--- sources/src/gas/config/obj-coff.c Fri Jan 26 15:47:07 2001
*************** add_lineno (frag, offset, num)
*** 445,456 ****
--- 445,460 ----
{
abort ();
}
+
+ #ifndef OBJ_XCOFF
+ /* The native aix assembler accepts negative line numbers */
if (num <= 0)
{
/* Zero is used as an end marker in the file. */
as_warn (_("Line numbers must be positive integers\n"));
num = 1;
}
+ #endif
new_line->next = line_nos;
new_line->frag = frag;
new_line->l.line_number = num;
More information about the Binutils
mailing list