diff options
author | Nick Clifton <nickc@redhat.com> | 2001-05-22 14:00:18 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-05-22 14:00:18 +0000 |
commit | 506eee2253b69d1cd98c00212a57e572a74945ec (patch) | |
tree | 63b9dedd38f0f8c731faa4b9c6305f693490cc08 /ld/emultempl | |
parent | 2d0441d9628b8196f726082b03c663000a491623 (diff) | |
download | gdb-506eee2253b69d1cd98c00212a57e572a74945ec.zip gdb-506eee2253b69d1cd98c00212a57e572a74945ec.tar.gz gdb-506eee2253b69d1cd98c00212a57e572a74945ec.tar.bz2 |
Improve Solaris compatability
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/elf32.em | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index c0d52b1..0b38c1f 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -817,6 +817,14 @@ gld${EMULATION_NAME}_before_allocation () &link_info, &sinterp, lang_elf_version_info))) einfo ("%P%F: failed to set dynamic section sizes: %E\n"); +${ELF_INTERPRETER_NAME+" + if (sinterp != NULL) + { + sinterp->contents = ${ELF_INTERPRETER_NAME}; + sinterp->_raw_size = strlen (sinterp->contents) + 1; + } + +"} /* Let the user override the dynamic linker we are using. */ if (command_line.interpreter != NULL && sinterp != NULL) |