diff options
author | Alan Modra <amodra@gmail.com> | 2003-02-28 02:10:06 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-02-28 02:10:06 +0000 |
commit | 3aa97c588690b3606d2585733eda7e300a7d4272 (patch) | |
tree | cfa38a3009b5c4a107cb704a5b131e0e2d1e723a | |
parent | 3bcf55573d377355c73846cc0b819c7d878d8e19 (diff) | |
download | gdb-3aa97c588690b3606d2585733eda7e300a7d4272.zip gdb-3aa97c588690b3606d2585733eda7e300a7d4272.tar.gz gdb-3aa97c588690b3606d2585733eda7e300a7d4272.tar.bz2 |
* ldemul.c (ldemul_parse_args): Return FALSE by default.
* ldemul.h (struct ld_emulation_xfer_struct): Update parse_args
comment.
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/ldemul.c | 2 | ||||
-rw-r--r-- | ld/ldemul.h | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 011549c..6b2ee9e 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,9 @@ 2003-02-28 Alan Modra <amodra@bigpond.net.au> + * ldemul.c (ldemul_parse_args): Return FALSE by default. + * ldemul.h (struct ld_emulation_xfer_struct): Update parse_args + comment. + * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. (ldemul_parse_args): Return bfd_boolean. Formatting. * ldemul.h (ldemul_add_options, ldemul_handle_option): Declare. diff --git a/ld/ldemul.c b/ld/ldemul.c index 427e21d..dc08794 100644 --- a/ld/ldemul.c +++ b/ld/ldemul.c @@ -164,7 +164,7 @@ ldemul_parse_args (argc, argv) /* Try and use the emulation parser if there is one. */ if (ld_emulation->parse_args) return (*ld_emulation->parse_args) (argc, argv); - return TRUE; + return FALSE; } /* Let the emulation code handle an unrecognized file. */ diff --git a/ld/ldemul.h b/ld/ldemul.h index 548a704..b88fedf 100644 --- a/ld/ldemul.h +++ b/ld/ldemul.h @@ -147,7 +147,7 @@ typedef struct ld_emulation_xfer_struct { void (*set_symbols) PARAMS ((void)); /* Parse args which the base linker doesn't understand. - Return TRUE on success. */ + Return TRUE if the arg needs no further processing. */ bfd_boolean (*parse_args) PARAMS ((int, char **)); /* Hook to add options to parameters passed by the base linker to |