Hi,

I am trying to compile romInit.s in vxWorks. And I am getting too many errors 
of following type

../romInit.s:452: Error: too many positional arguments

The reason is the Macro definition does not take any space around operator

for ex:

li r3, MACRO_DEF

where as MACRO_DEF is
#define MACRO_DEF  (a + b)

#define a 0x1000
#define b 0x2000

To be able to compile successfully the above definition needs to be changed to


#define MACRO_DEF  (a+b)


#define a (0x1000)
#define b (0x2000)

it reduces readability and it is tedious to do for all MACROS lise this

thanks
aparna

-- 
           Summary: Error: too many positional arguments
           Product: binutils
           Version: 2.15
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: apjain at cisco dot com
                CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=5860

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to