From: Daniel Jacobowitz Date: Sun, 10 Feb 2002 19:10:35 +0000 (+0000) Subject: 2002-02-10 Daniel Jacobowitz X-Git-Tag: binutils-2_12~85 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0e94e7706e38b341715c51778bbb022f37f49114;p=thirdparty%2Fbinutils-gdb.git 2002-02-10 Daniel Jacobowitz * 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. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index a4fa7cc091f..920acbff76d 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2002-02-10 Daniel Jacobowitz + + * 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. + 2002-02-09 Chris Demetriou * ld.texinfo (Options): Add back in -nostdlib documentation, diff --git a/ld/emultempl/lnk960.em b/ld/emultempl/lnk960.em index 6d90da9717c..f5741b4c4ed 100644 --- a/ld/emultempl/lnk960.em +++ b/ld/emultempl/lnk960.em @@ -2,7 +2,7 @@ # It does some substitutions. cat >e${EMULATION_NAME}.c <, assume it defines strtoul. */ /* Omit args to avoid the possibility of clashing with a system header that might disagree about consts. */ unsigned long strtoul (); +#endif static int is_num PARAMS ((const char *, int, int, int)); static void set_default_dirlist PARAMS ((char *dirlist_ptr));