This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

why is re-defining register names specially treated in gas


In assign_symbol(), the error for re-defining an already defined symbol
is suppressed when the symbol is in reg_section. Can anyone explain why
this has to be that way? It would seem to me that this is OK for 'real'
register names (i.e. those produced by target specific code) but not for
those resulting from equating custom symbols to register names (which
currently appear to be indistinguishable).

Thanks, Jan


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