summaryrefslogtreecommitdiff
path: root/ld/ldmain.h
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-05-07 04:14:57 +0000
committerAlexandre Oliva <aoliva@redhat.com>2003-05-07 04:14:57 +0000
commit76536c793b448c64b25e498e63f4949ba8ee567e (patch)
tree28234e9b216d979ee25a399854b146928fb9aab4 /ld/ldmain.h
parent5806d4e1c37f25de3cfad42af4061dfbe78b70ee (diff)
downloadbinutils-redhat-76536c793b448c64b25e498e63f4949ba8ee567e.tar.gz
* ldmain.h (overflow_cutoff_limit): Declare.
* ldmain.c (overflow_cutoff_limit): Define, initialized to 10. (reloc_overflow): Limit error messages based on it. * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to unlimited.
Diffstat (limited to 'ld/ldmain.h')
-rw-r--r--ld/ldmain.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldmain.h b/ld/ldmain.h
index d21b3fdbca..500a4c78d9 100644
--- a/ld/ldmain.h
+++ b/ld/ldmain.h
@@ -36,6 +36,7 @@ extern bfd_boolean demangling;
extern int g_switch_value;
extern const char *output_filename;
extern struct bfd_link_info link_info;
+extern int overflow_cutoff_limit;
extern void add_ysym PARAMS ((const char *));
extern void add_wrap PARAMS ((const char *));