* emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Strip

`:foo' from ${ARCH}.
This commit is contained in:
Ian Lance Taylor 1996-02-14 16:10:18 +00:00
parent f1d39876d0
commit db3bfcd64c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Feb 14 11:09:25 1996 Ian Lance Taylor <ian@cygnus.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Strip
`:foo' from ${ARCH}.
Tue Feb 13 15:58:58 1996 Bryan Ford <baford@snake.cs.utah.edu>
* scripttempl/i386msdos.sc: Don't pad the .text section. Put

View File

@ -66,7 +66,7 @@ static char *gld${EMULATION_NAME}_get_script PARAMS ((int *isfile));
static void
gld${EMULATION_NAME}_before_parse()
{
ldfile_output_architecture = bfd_arch_${ARCH};
ldfile_output_architecture = bfd_arch_`echo ${ARCH} | sed -e 's/:.*//'`;
config.dynamic_link = ${DYNAMIC_LINK-true};
}