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]

C6X OSABI field


TI have requested that the linker should set the OSABI field to either
Linux C6000 or Bare-metal C6000, depending on toolchain. IIUC this
should be done for applications and shared libraries, but not for
assembler output files or relocatable links.

The following patch implements this, using additional target vectors. I
don't know if this is the optimal way of doing this, but it appears to
work. Ok?

For inexplicable reasons this has exposed a problem in the ld testsuite
where shared libraries are built without -mdsbt. We should create
dynamic sections in this case; also fixed in this patch.


Bernd

Attachment: osabi-src.diff
Description: Text document


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