Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-03-28 | * layout.cc (Layout::layout): If we see an input section with a | Ian Lance Taylor | 1 | -1/+63 | |
name that needs sorting, set the must_sort flag for the output section. (Layout::make_output_section): If the name of the output section indicates that it might require sorting, set the may_sort flag. * output.h (Output_section::may_sort_attached_input_sections): New function. (Output_section::set_may_sort_attached_input_sections): New function. (Output_section::must_sort_attached_input_sections): New function. (Output_section::set_must_sort_attached_input_sections): New function. (class Output_section): Declare Input_section_sort_entry. Define Input_section_sort_compare. Declare sort_attached_input_sections. Add new fields: may_sort_attached_input_sections_, must_sort_attached_input_sections_, attached_input_sections_are_sorted_. * output.cc (Output_section::Output_section): Initialize new fields. (Output_section::add_input_section): Add an entry to input_sections_ if may_sort or must_sort are true. (Output_section::set_final_data_size): Call sort_attached_input_sections if necessary. (Output_section::Input_section_sort_entry): Define new class. (Output_section::Input_section_sort_compare::operator()): New function. (Output_section::sort_attached_input_sections): New function. * configure.ac: Check whether the compiler supports constructor priorities. Define a CONSTRUCTOR_PRIORITY automake conditional. * testsuite/initpri1.c: New file. * testsuite/Makefile.am (check_PROGRAMS): Add initpri1 if CONSTRUCTOR_PRIORITY. (initpri1_SOURCES, initpri1_DEPENDENCIES): New variables. (initpri1_LDFLAGS): New variable. * configure, Makefile.in, testsuite/Makefile.in: Rebuild. | |||||
2008-03-26 | PR gold/5986 | Ian Lance Taylor | 1 | -0/+67 | |
Fix problems building gold with gcc 4.3.0. * gold.h (TEMPLATE_ATTRIBUTE_PRINTF_4): Define. (gold_error_at_location, gold_warning_at_location): Use it. * configure.ac: Check whether we can compile and use a template function with a printf attribute. * x86_64.cc (Target_x86_64::do_code_fill): Swap out a 32-bit value when jumping over bytes. * object.cc: Instantiate Object::read_section_data. * debug.h: Include <cstring> * dwarf_reader.cc: Include <algorithm> * main.cc: Include <cstring>. * options.cc: Include <cstring>. * output.cc: Include <cstring>. * script.cc: Include <cstring>. * script.h: Include <string>. * symtab.cc: Include <cstring> and <algorithm>. * target-select.cc: Include <cstring>. * version.cc: Include <string>. * testsuite/testmain.cc: Include <cstdlib>. * configure, config.in: Rebuild. | |||||
2008-03-14 | Don't get confused about whether a symbol is the default version if we | Ian Lance Taylor | 1 | -1/+20 | |
see a later reference to it. Add tests for this case. | |||||
2008-02-29 | Remove gcc 3.2 compatibility hacks. | Ian Lance Taylor | 1 | -53/+0 | |
2008-02-06 | Support creating empty output when there are no input objects. | Ian Lance Taylor | 1 | -16/+60 | |
2008-01-23 | Parse a SECTIONS clause in a linker script. | Ian Lance Taylor | 1 | -3/+3 | |
2008-01-15 | From Andrew Chatham and Craig Silverstein: Add support for version | Ian Lance Taylor | 1 | -1/+20 | |
scripts. | |||||
2007-11-30 | From Craig Silverstein: Add support for compressing .debug_str section. | Ian Lance Taylor | 1 | -45/+563 | |
2007-10-24 | Use AC_GNU_SOURCE. | Ian Lance Taylor | 1 | -0/+8 | |
2007-10-17 | Add infrastructure for threading support. | Ian Lance Taylor | 1 | -1/+40 | |
2007-10-14 | Only run static TLS tests on glibc 2.4 or later. | Ian Lance Taylor | 1 | -11/+102 | |
2007-10-12 | Add --stats option to print runtime and memory usage statistics. | Ian Lance Taylor | 1 | -0/+102 | |
2007-10-07 | Add --version option. | Ian Lance Taylor | 1 | -19/+31 | |
2007-10-07 | Add a TLS test case. | Ian Lance Taylor | 1 | -1/+54 | |
2007-10-04 | Full support for --sysroot. | Ian Lance Taylor | 1 | -0/+43 | |
2007-10-02 | From Craig Silverstein: don't run function pointer non-PIC tests when | Ian Lance Taylor | 1 | -1/+26 | |
they won't work. | |||||
2007-09-30 | Clean up target handling--only build required files, warn about | Ian Lance Taylor | 1 | -5/+22 | |
unsupported targets. | |||||
2007-09-25 | Rework File_read interface. Get file size. Use pread when | Ian Lance Taylor | 1 | -2/+115 | |
available. | |||||
2007-09-22 | Add bootstrap test. | Ian Lance Taylor | 1 | -1/+52 | |
2007-09-04 | Add support for --enable-target to control which template | Ian Lance Taylor | 1 | -0/+89 | |
specializations we generate. | |||||
2006-11-30 | Added a testsuite. More support for COPY relocations. | Ian Lance Taylor | 1 | -2/+85 | |
2006-11-14 | More dynamic object support, initial scripting support. | Ian Lance Taylor | 1 | -1/+43 | |
2006-10-20 | Framework for relocation scanning. Implement simple static TLS | Ian Lance Taylor | 1 | -0/+232 | |
relocations. | |||||
2006-09-26 | g++ 3.2.2 portability for grhat. | Ian Lance Taylor | 1 | -0/+42 | |
2006-09-26 | More section layout code. | Ian Lance Taylor | 1 | -1/+845 | |
2006-08-04 | Initial CVS checkin of gold | Ian Lance Taylor | 1 | -0/+5472 | |