mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
* emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
variable to avoid non-portable shell construct.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2001-05-23 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
|
* emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
|
||||||
|
variable to avoid non-portable shell construct.
|
||||||
|
|
||||||
2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
||||||
|
|
||||||
* ldmain.c (get_emulation): Add -mips5 command line argument.
|
* ldmain.c (get_emulation): Add -mips5 command line argument.
|
||||||
|
@ -789,6 +789,18 @@ gld${EMULATION_NAME}_find_statement_assignment (s)
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
if test x"$LDEMUL_BEFORE_ALLOCATION" != xgld"$EMULATION_NAME"_before_allocation; then
|
if test x"$LDEMUL_BEFORE_ALLOCATION" != xgld"$EMULATION_NAME"_before_allocation; then
|
||||||
|
if test x"${ELF_INTERPRETER_NAME+set}" = xset; then
|
||||||
|
ELF_INTERPRETER_SET_DEFAULT="
|
||||||
|
if (sinterp != NULL)
|
||||||
|
{
|
||||||
|
sinterp->contents = ${ELF_INTERPRETER_NAME};
|
||||||
|
sinterp->_raw_size = strlen (sinterp->contents) + 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
"
|
||||||
|
else
|
||||||
|
ELF_INTERPRETER_SET_DEFAULT=
|
||||||
|
fi
|
||||||
cat >>e${EMULATION_NAME}.c <<EOF
|
cat >>e${EMULATION_NAME}.c <<EOF
|
||||||
|
|
||||||
/* This is called after the sections have been attached to output
|
/* This is called after the sections have been attached to output
|
||||||
@ -816,15 +828,7 @@ gld${EMULATION_NAME}_before_allocation ()
|
|||||||
(const char * const *) command_line.auxiliary_filters,
|
(const char * const *) command_line.auxiliary_filters,
|
||||||
&link_info, &sinterp, lang_elf_version_info)))
|
&link_info, &sinterp, lang_elf_version_info)))
|
||||||
einfo ("%P%F: failed to set dynamic section sizes: %E\n");
|
einfo ("%P%F: failed to set dynamic section sizes: %E\n");
|
||||||
|
${ELF_INTERPRETER_SET_DEFAULT}
|
||||||
${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. */
|
/* Let the user override the dynamic linker we are using. */
|
||||||
if (command_line.interpreter != NULL
|
if (command_line.interpreter != NULL
|
||||||
&& sinterp != NULL)
|
&& sinterp != NULL)
|
||||||
|
Reference in New Issue
Block a user