diff options
author | Alan Modra <amodra@gmail.com> | 2003-02-28 22:55:11 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-02-28 22:55:11 +0000 |
commit | fcf65871118c9a451245ae44effc84cd2503a596 (patch) | |
tree | fe768365f7a820a2583a8a383b4a3637bf3003da /ld/emultempl | |
parent | a55cc764aed98017f982ab5673d4028b74e53a2b (diff) | |
download | ppe42-binutils-fcf65871118c9a451245ae44effc84cd2503a596.tar.gz ppe42-binutils-fcf65871118c9a451245ae44effc84cd2503a596.zip |
* ldemul.c: Include getopt.h.
* emultempl/elf32.em: Include getopt.h earlier.
* emultempl/ticoff.em: Likewise.
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/elf32.em | 2 | ||||
-rw-r--r-- | ld/emultempl/ticoff.em | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 28bb8d8f8a..3d94a6688a 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -39,6 +39,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "sysdep.h" #include "libiberty.h" #include "safe-ctype.h" +#include "getopt.h" #include "bfdlink.h" @@ -51,7 +52,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "ldemul.h" #include <ldgram.h> #include "elf/common.h" -#include "getopt.h" static void gld${EMULATION_NAME}_before_parse PARAMS ((void)); diff --git a/ld/emultempl/ticoff.em b/ld/emultempl/ticoff.em index 620877ad14..90c940e497 100644 --- a/ld/emultempl/ticoff.em +++ b/ld/emultempl/ticoff.em @@ -27,18 +27,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "bfd.h" #include "sysdep.h" #include "bfdlink.h" +#include "getopt.h" #include "ld.h" #include "ldmain.h" #include "ldmisc.h" - #include "ldexp.h" #include "ldlang.h" #include "ldfile.h" #include "ldemul.h" -#include "getopt.h" - static int coff_version; static void gld_${EMULATION_NAME}_before_parse PARAMS ((void)); |