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]

[PATCH] Addition of new option '--rlib' in linker for Renesas SH targets


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.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Attachment: rlib.patch.tar.gz
Description: rlib.patch.tar.gz


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