Let the user change the dynamic linker used by ELF code.
authorIan Lance Taylor <ian@airs.com>
Wed, 15 Jun 1994 20:46:43 +0000 (20:46 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 15 Jun 1994 20:46:43 +0000 (20:46 +0000)
commit7fb9ca5fc27e521d28d5ef74bfd73b0b8bab8da6
tree7ba9f19d65ccbfa55579fd36b4c05e827c77aa1d
parent57569ce8d17b939e41d9af72237207fe3e3ede89
Let the user change the dynamic linker used by ELF code.
* ld.h (args_type): Add new field interpreter.
* lexsup.c (parse_args): Add dynamic-linker to longopts, and
handle it.
* ldmain.c (main): Initialize command_line.interpreter to NULL.
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Get
the ELF backend to return the .interp section.  If
command_line.interpreter is not NULL, set the contents of .interp
to it.
* ld.texinfo: Mention -dynamic-linker.
ld/ChangeLog
ld/emultempl/elf32.em
ld/ldmain.c
ld/lexsup.c