diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2003-04-24 01:43:33 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2003-04-24 01:43:33 +0000 |
commit | 0f0569c4ae6c593d573b2961438826fc80ae1e42 (patch) | |
tree | a2593bb53ea21de93bdc0a05bc6cc8ffefbd3601 /ld/ldmain.c | |
parent | 6e94181b1eec688155f664b137f5332b9d1bdcad (diff) | |
download | gdb-0f0569c4ae6c593d573b2961438826fc80ae1e42.zip gdb-0f0569c4ae6c593d573b2961438826fc80ae1e42.tar.gz gdb-0f0569c4ae6c593d573b2961438826fc80ae1e42.tar.bz2 |
include/
* bfdlink.h (bfd_link_callbacks): Add error_handler.
ld/
* ldmain.c (link_callbacks): Initialize error_handler.
* ldmisc.c (error_handler): New function.
* ldmisc.h (error_handler): New prototype.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r-- | ld/ldmain.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c index 125dc6a..d8ee1b2 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -155,7 +155,8 @@ static struct bfd_link_callbacks link_callbacks = reloc_overflow, reloc_dangerous, unattached_reloc, - notice + notice, + error_handler }; struct bfd_link_info link_info; |