diff options
author | Cary Coutant <ccoutant@google.com> | 2011-06-08 04:43:28 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2011-06-08 04:43:28 +0000 |
commit | e6455dfbc2dae8cc91f64b4120e87e138970cf84 (patch) | |
tree | ae3c3f5e8ee74a9e4ea1951152ffa055096758b6 /gold/common.cc | |
parent | * layout.cc (Layout::set_segment_offsets): Don't adjust layout (diff) | |
download | binutils-gdb-e6455dfbc2dae8cc91f64b4120e87e138970cf84.tar.gz binutils-gdb-e6455dfbc2dae8cc91f64b4120e87e138970cf84.tar.bz2 binutils-gdb-e6455dfbc2dae8cc91f64b4120e87e138970cf84.zip |
* common.cc (Symbol_table::do_allocate_commons_list): Call
gold_fallback.
* errors.cc (Errors::fatal): Adjust call to gold_exit.
(Errors::fallback): New function.
(gold_fallback): New function.
* errors.h (Errors::fallback): New function.
* gold.cc (gold_exit): Change status parameter to enum; adjust
all callers.
(queue_initial_tasks): Call gold_fallback.
* gold.h: Include cstdlib.
(Exit_status): New enum type.
(gold_exit): Change status parameter to enum.
(gold_fallback): New function.
* layout.cc (Layout::set_section_offsets): Call gold_fallback.
(Layout::create_symtab_sections): Likewise.
(Layout::create_shdrs): Likewise.
* main.cc (main): Adjust call to gold_exit.
* output.cc (Output_data_got::add_got_entry): Call gold_fallback.
(Output_data_got::add_got_entry_pair): Likewise.
(Output_section::add_input_section): Likewise.
(Output_section::add_output_section_data): Likewise.
(Output_segment::set_section_list_addresses): Likewise.
* x86_64.cc (Output_data_plt_x86_64::add_entry): Likewise.
Diffstat (limited to 'gold/common.cc')
-rw-r--r-- | gold/common.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/common.cc b/gold/common.cc index bffa8290d93..1a9aea871ce 100644 --- a/gold/common.cc +++ b/gold/common.cc @@ -351,9 +351,9 @@ Symbol_table::do_allocate_commons_list( // For an incremental update, allocate from the free list. off = os->allocate(ssym->symsize(), ssym->value()); if (off == -1) - gold_fatal(_("out of patch space in section %s; " - "relink with --incremental-full"), - os->name()); + gold_fallback(_("out of patch space in section %s; " + "relink with --incremental-full"), + os->name()); ssym->allocate_common(os, off); } } |