diff options
author | Daniel Jacobowitz <drow@false.org> | 2002-02-10 19:12:13 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2002-02-10 19:12:13 +0000 |
commit | 4e5bae56d47dbb1b1428a536ab61413afc544687 (patch) | |
tree | ff361353bf726208324754bfa3047e4d7f3a341a /ld/emultempl | |
parent | 34b0f91d24c2668c92d68fefe418cb02bfcc97db (diff) | |
download | gdb-4e5bae56d47dbb1b1428a536ab61413afc544687.zip gdb-4e5bae56d47dbb1b1428a536ab61413afc544687.tar.gz gdb-4e5bae56d47dbb1b1428a536ab61413afc544687.tar.bz2 |
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* ldmain.c: Add prototype for main ().
* lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
* emultempl/lnk960.em (lnk960_choose_target): Function should
take two arguments.
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/lnk960.em | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ld/emultempl/lnk960.em b/ld/emultempl/lnk960.em index 6d90da9..f5741b4 100644 --- a/ld/emultempl/lnk960.em +++ b/ld/emultempl/lnk960.em @@ -2,7 +2,7 @@ # It does some substitutions. cat >e${EMULATION_NAME}.c <<EOF /* intel coff loader emulation specific stuff - Copyright 1991, 1992, 1994, 1995, 1996, 1999, 2000, 2001 + Copyright 1991, 1992, 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Written by Steve Chamberlain steve@cygnus.com @@ -56,7 +56,7 @@ static void lnk960_after_parse PARAMS ((void)); static void lnk960_before_allocation PARAMS ((void)); static void lnk960_after_allocation PARAMS ((void)); static void lnk960_set_output_arch PARAMS ((void)); -static char *lnk960_choose_target PARAMS ((void)); +static char *lnk960_choose_target PARAMS ((int, char **)); static char *lnk960_get_script PARAMS ((int *)); @@ -246,7 +246,9 @@ lnk960_set_output_arch() } static char * -lnk960_choose_target() +lnk960_choose_target (argc, argv) + int argc ATTRIBUTE_UNUSED; + char **argv ATTRIBUTE_UNUSED; { #ifdef GNU960 |