C6X OSABI field

Bernd Schmidt bernds@codesourcery.com
Thu May 12 14:16:00 GMT 2011


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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: osabi-src.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20110512/bcbf9893/attachment.ksh>


More information about the Binutils mailing list