aboutsummaryrefslogtreecommitdiff
path: root/ld/lexsup.c
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/lexsup.c
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/lexsup.c')
-rw-r--r--ld/lexsup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/lexsup.c b/ld/lexsup.c
index e8c2eba..b2f94f1 100644
--- a/ld/lexsup.c
+++ b/ld/lexsup.c
@@ -1047,6 +1047,7 @@ parse_args (argc, argv)
ldversion (1);
version_printed = TRUE;
trace_file_tries = TRUE;
+ overflow_cutoff_limit = -2;
break;
case 'v':
ldversion (0);