This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

xcoff64 gas-config-obj-coff.c.patch



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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]