Using S_SET_VOLATILE in md_undefined_symbol crashes as
Nick Clifton
nickc@redhat.com
Tue Aug 8 09:38:00 GMT 2017
More information about the Binutils mailing list
Tue Aug 8 09:38:00 GMT 2017
- Previous message (by thread): Using S_SET_VOLATILE in md_undefined_symbol crashes as
- Next message (by thread): Using S_SET_VOLATILE in md_undefined_symbol crashes as
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi HoraK, > The problem is I have a source file where all registers for the EZ-USB FX2LP are listed and some of them are also defined within the 8051 patch now if as reaches such an symbol it throws an error "symbol ... is already defined" How are the symbols being defined ? It may be possible for you to override the way the definition is parsed and allow the redefinition to occur. Also - are the register name definitions in the source file necessary ? One trick used by some ports is to add a prefix to register names, one that would not occur in ordinary code, such as $ or % or __ . This allows user code to create symbols that look like register names, (eg r1, r2), but which are not the real register names (%r1, %r2) and so the redefinition error does not occur. Cheers Nick
- Previous message (by thread): Using S_SET_VOLATILE in md_undefined_symbol crashes as
- Next message (by thread): Using S_SET_VOLATILE in md_undefined_symbol crashes as
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list