[PATCH] Addition of new option '--rlib' in linker for Renesas SH targets
Pedro Alves
pedro.alves@domatica.pt
Mon Jun 26 17:28:00 GMT 2006
Gina Verlekar wrote:
>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.
>
>
>
If the Renesas library is fully converted into a GNU archive, why isn't
this implimented as a
separate tool? One that converts the libs only once, and be done with it
so the user can use -l
normally. You could even integrate the tool into the build system, so it
would be transparent
like your patches aims at being.
Cheers,
Pedro Alves
More information about the Binutils
mailing list