diff options
author | Alan Modra <amodra@gmail.com> | 2004-01-03 11:09:07 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-01-03 11:09:07 +0000 |
commit | 5e2f15758b3831ad6fa9f8eee34dbefb689a8d68 (patch) | |
tree | 7366cf53a1fbbce7793b6b5fa0957dd31789ecdb /ld/ldgram.y | |
parent | 386c036baa78260724d16fb2672450b09b684dcb (diff) | |
download | gdb-5e2f15758b3831ad6fa9f8eee34dbefb689a8d68.zip gdb-5e2f15758b3831ad6fa9f8eee34dbefb689a8d68.tar.gz gdb-5e2f15758b3831ad6fa9f8eee34dbefb689a8d68.tar.bz2 |
* ldfile.c (ldfile_set_output_arch): Add defarch param.
* ldfile.h (ldfile_set_output_arch): Ditto.
* emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
ldfile_set_output_arch.
* emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
* emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
* emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
* emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
* emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
* emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
* ldgram.y: Adjust ldfile_set_output_arch call.
* emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
* emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
* emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
* emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
* emultempl/gld960c.em (gld960_set_output_arch): Ditto.
* emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
* emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
Diffstat (limited to 'ld/ldgram.y')
-rw-r--r-- | ld/ldgram.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y index c00b7af..17717fb 100644 --- a/ld/ldgram.y +++ b/ld/ldgram.y @@ -328,7 +328,7 @@ ifile_p1: | OUTPUT_FORMAT '(' NAME ',' NAME ',' NAME ')' { lang_add_output_format ($3, $5, $7, 1); } | OUTPUT_ARCH '(' NAME ')' - { ldfile_set_output_arch($3); } + { ldfile_set_output_arch ($3, bfd_arch_unknown); } | FORCE_COMMON_ALLOCATION { command_line.force_common_definition = TRUE ; } | INHIBIT_COMMON_ALLOCATION |