From 4e5bae56d47dbb1b1428a536ab61413afc544687 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Sun, 10 Feb 2002 19:12:13 +0000 Subject: 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. --- ld/ChangeLog | 7 +++++++ ld/emultempl/lnk960.em | 8 +++++--- ld/ldmain.c | 5 ++++- ld/lexsup.c | 5 ++++- 4 files changed, 20 insertions(+), 5 deletions(-) (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index 4d0f866..b70fbc5 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-10 Alan Modra * ldlang.c (entry_section): New initialised variable. 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 <, 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)); -- cgit v1.1