* emultempl/aix.em (gld*_before_parse): Set default arch. Reverts
2002-05-10 change.
This commit is contained in:
parent
86fff92e97
commit
7fc44b9cd6
2 changed files with 74 additions and 60 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-08-06 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* emultempl/aix.em (gld*_before_parse): Set default arch. Reverts
|
||||
2002-05-10 change.
|
||||
|
||||
2002-08-01 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* emulparams/armelf.sh: Revert previous delta.
|
||||
|
|
|
@ -147,6 +147,15 @@ static char *command_line_blibpath = NULL;
|
|||
static void
|
||||
gld${EMULATION_NAME}_before_parse ()
|
||||
{
|
||||
const bfd_arch_info_type *arch = bfd_scan_arch ("${OUTPUT_ARCH}");
|
||||
if (arch)
|
||||
{
|
||||
ldfile_output_architecture = arch->arch;
|
||||
ldfile_output_machine = arch->mach;
|
||||
ldfile_output_machine_name = arch->printable_name;
|
||||
}
|
||||
else
|
||||
ldfile_output_architecture = bfd_arch_`echo ${ARCH} | sed -e 's/:.*//'`;
|
||||
|
||||
config.has_shared = true;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue