aboutsummaryrefslogtreecommitdiff
path: root/ld/ldfile.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-01-03 11:09:07 +0000
committerAlan Modra <amodra@gmail.com>2004-01-03 11:09:07 +0000
commit5e2f15758b3831ad6fa9f8eee34dbefb689a8d68 (patch)
tree7366cf53a1fbbce7793b6b5fa0957dd31789ecdb /ld/ldfile.h
parent386c036baa78260724d16fb2672450b09b684dcb (diff)
downloadbinutils-5e2f15758b3831ad6fa9f8eee34dbefb689a8d68.zip
binutils-5e2f15758b3831ad6fa9f8eee34dbefb689a8d68.tar.gz
binutils-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/ldfile.h')
-rw-r--r--ld/ldfile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldfile.h b/ld/ldfile.h
index 8b2e6e9..6d5f09d 100644
--- a/ld/ldfile.h
+++ b/ld/ldfile.h
@@ -1,5 +1,5 @@
/* ldfile.h -
- Copyright 1991, 1992, 1993, 1994, 1995, 2000, 2002, 2003
+ Copyright 1991, 1992, 1993, 1994, 1995, 2000, 2002, 2003, 2004
Free Software Foundation, Inc.
This file is part of GLD, the Gnu Linker.
@@ -57,7 +57,7 @@ extern bfd_boolean ldfile_try_open_bfd
extern FILE *ldfile_find_command_file
(const char *name, const char *extend);
extern void ldfile_set_output_arch
- (const char *);
+ (const char *, enum bfd_architecture);
extern bfd_boolean ldfile_open_file_search
(const char *arch, struct lang_input_statement_struct *,
const char *lib, const char *suffix);