[PATCH] Addition of new option '--rlib' in linker for Renesas SH targets
Gina Verlekar
GinaV@KPITCummins.com
Mon Jun 26 13:47:00 GMT 2006
Hi,
The patch attached herewith adds a new option '--rlib' to the linker.
Using this
option, Linker links a Renesas SH library file (created by Renesas
Compiler)
with GNU object files.
'--rlib' option is supported only for Renesas SH targets.
The format of the option is:
--rlib=<filename >
where 'filename' is the Renesas SH library file to be linked.
This patch converts the Renesas library file into a GNU archive with
name
<filename>.rlib. This file is created in the same directory as the
Renesas
library file. This created GNU archive is then passed to the Linker for
further
processing.
This option can be used multiple times to link multiple Renesas SH
library
files.
Patch has been generated for latest snapshot of binutils
(binutils-060621).
No new regression failures are found.
Changelog
2006-06-26 Gina G. Verlekar <ginav@kpitcummins.com>
* lexsup.c: Add --rlib option for linking Renesas SH library
file.
* ldrlib.c: Add new file for processing Renesas SH library file.
* Makefile.in: Modify to include ldrlib.c file for compilation.
* Makefile.am: Likewise.
* ld.texinfo: Add documentation for linker option '--rlib'.
* configdoc.texi: Likewise.
Any comments will be appreciated.
Regards,
Gina Verlekar
KPIT Cummins InfoSystems Ltd.
Pune, India
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas SH, H8, R8C, M16C and
M32C
Series.
The following site also offers free technical support to its users.
Visit http://www.kpitgnutools.com for details.
Latest versions of KPIT GNU tools were released on June 1, 2006.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rlib.patch.tar.gz
Type: application/x-gzip
Size: 9330 bytes
Desc: rlib.patch.tar.gz
URL: <https://sourceware.org/pipermail/binutils/attachments/20060626/955fb5d1/attachment.bin>
More information about the Binutils
mailing list