aboutsummaryrefslogtreecommitdiff
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
commit8aae64e67e5c1f9c371c1da643052c5efcf8d280 (patch)
treef4e38876edc6afdd77481054d3435dc6ee93f32f /ld/ldmain.h
parenta5d63722abbd36361494765da515902c47b2bc99 (diff)
downloadgdb-8aae64e67e5c1f9c371c1da643052c5efcf8d280.zip
gdb-8aae64e67e5c1f9c371c1da643052c5efcf8d280.tar.gz
gdb-8aae64e67e5c1f9c371c1da643052c5efcf8d280.tar.bz2
* 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 d21b3fd..500a4c7 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 *));