summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Import binutils 2.25 tarballbaserock/tiagogomes/update-toolchainbaserock/build-essentialTiago Gomes2015-01-207104-250444/+1179346
| | | | | | | | | | | | | | | | | The import was done by: 1) removing all tracked files 2) removing all .gitignore files 3) extracting the 2.25 tarball into the repo 4) reassembling patch e7277 5) creating a single commit with the result of the above operations Removing all .gitignore files is crucial, otherwise the generated C files by bison and flex will not be committed, causing binutils to not compile on stage 3 (and a lot of pain tracking down why it doesn't, true story). Note that the morphologies files were not added back, as they are placed in the definitions repo as well.
* Merge branch 'baserock/richardmaw/S10442/cross-toolchain' into ↵Richard Maw2014-03-051-0/+24
|\ | | | | | | | | | | baserock/build-essential Reviewed-by: Lars Wirzenius and Sam Thursfield
| * Add morphology for arm cross binutilsbaserock/richardmaw/S10442/cross-toolchainRichard Maw2014-02-271-0/+24
|/
* Merge branch 'baserock/richardmaw/S8564/ro-staging-area' into ↵Richard Maw2013-08-236-79/+49
|\ | | | | | | | | | | baserock/build-essential Reviewed-by: Lars Wirzenius
| * morph: Do not attempt to fix specsbaserock/richardmaw/S8564/ro-staging-areaRichard Maw2013-08-141-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The script called stage2-eglibc-fix-specs would modify gcc's specs file so that it would build things differently. This was required, since it is difficult to alter the gcc command lines to fix this, as built systems don't always make this easy. This is no longer possible, since builds are now only allowed to write to $chunk.build, $chunk.inst and /tmp. However it is no longer necessary to do the fix here, since eglibc now installs fixed specs.
| * morphs: Convert morphologies to YAMLRichard Maw2013-08-146-79/+51
|/
* Merge branch 'baserock/richardmaw/inspect-zlib' into baserock/build-essentialRichard Maw2013-05-282-3/+2
|\ | | | | | | Briefly reviewed by Daniel Silverstone.
| * morphology: remove --with-lib-pathbaserock/richardmaw/inspect-zlibRichard Maw2013-05-242-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | This is needed for it to look in /usr/lib. This is needed for gcc later, which needs to link against the system zlib, which is installed in /usr/lib. Without it, it will not find it because it only looks in *lib64 and /tools. It used to coincidentally work before, since the stage 2 artifacts were similar enough. This similarity broke building on ARM after shared objects for zlib were introduced, since the stage 2 shared objects were warped, and incompatible with correctly built shared objects.
| * morphology: use embedded zlib during stage 2Richard Maw2013-05-232-2/+2
|/ | | | | | | | | Enough things can go wrong that we can't rely on having shared objects work during this stage of the bootstrap, hence why the toolchain will use embedded zlib. This also fixes a typo with `--with-lib-path`, so it shouldn't use the host's libraries any more.
* Merge branch 'baserock/samthursfield/build-essential-2-rebase' into ↵Sam Thursfield2013-03-158-3818/+84
|\ | | | | | | baserock/build-essential
| * Use MORPH_ARCH field to set target-specific flagsSam Thursfield2013-03-144-4/+8
| | | | | | | | | | Also, use config.guess when we need to know BUILD, because Morph no longer sets this variable.
| * Add zlib to build-essentialSam Thursfield2013-03-144-4/+6
| | | | | | | | | | | | It's never good to have multiple versions of the same library in use on a system, so we should avoid using the versions of ZLib that are bundled in the GCC and Binutils releases.
| * Prevent build from using g++ from host machineSam Thursfield2013-03-132-1/+2
| | | | | | | | | | | | Stage 1 does not build a C++ compiler, but autoconf configure scripts will happily use g++ from the host system instead. Force CXX=false to make sure that it doesn't try to build any C++ code.
| * Remove -B from CPPFLAGSSam Thursfield2013-03-122-4/+4
| | | | | | | | | | | | | | We had to pass -BSYSROOT/PREFIX/include because it was the only way to get GCC to look for headers inside a prefix that is inside a sysroot. However, backporting a patch from GCC trunk to add the --with-native-system-header-dir configure flag fixes this problem.
| * Remove AC_PROG_CXX from LD's configure.inSam Thursfield2013-03-122-3816/+11
| | | | | | | | | | | | | | This is only needed for a few of the tests, but causes 'configure' to fail if not disabled because during stage 2 of the bootstrap we don't have a C++ compiler available. (Or, worse, the host C++ compiler is available and we get errors later on).
| * Add morphs for build-essential bootstrapSam Thursfield2013-03-116-1/+65
|/ | | | | | | | | | JSON versions are generated from .yaml versions using the edit-morph script in the Morph source tree: 'scripts/edit-morph to-json *.morph.yaml' The .morph files themselves should be converted to YAML after the next Baserock release.
* Remove every .gitignore, not just toplevel, and add missing filesSam Thursfield2012-12-2875-135/+56533
|
* Add files from tarball that were previously ignoredSam Thursfield2012-12-2894-0/+72986
|
* Remove .gitignore for tarball branchSam Thursfield2012-12-281-40/+0
|
* Add morphology to build from v2.22 tarballSam Thursfield2012-12-271-0/+9
|
* Import binutils-2.22 tarballSam Thursfield2012-12-14824-72528/+77670
| | | | Required for build-essential bootstrapping
* daily updateAlan Modra2012-03-271-1/+1
|
* ld/Roland McGrath2012-03-273-47/+59
| | | | | | * configure.in: Set want64 on a 64-bit host regardless of --enable-targets=all. * configure: Regenerated.
* daily updateAlan Modra2012-03-261-1/+1
|
* 2012-03-26 Tristan Gingold <gingold@adacore.com>Tristan Gingold2012-03-262-1/+5
| | | | * lexsup.c (parse_args): Add a missing '\n'.
* daily updateAlan Modra2012-03-251-1/+1
|
* ld/Alan Modra2012-03-255-11/+23
| | | | | | | | | | * ldemul.c (before_allocation_default): Revert last change. ldlang.c (lang_add_section): Likewise. (strip_excluded_output_sections): Don't strip output sections with user input sections when emitrelocations, unless all are SEC_EXCLUDE. ld/testsuite/ * ld-powerpc/vxworks-relax.rd: Remove check on reloc section file offset and reloc symbol indices.
* daily updateAlan Modra2012-03-241-1/+1
|
* gas/Maxim Kuvyrkov2012-03-245-1/+24
| | | | | | | | * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP. * doc/c-mips.texi: Mention XLP. opcodes/ * mips-dis.c (mips_arch_choices): Add entry for Broadcom XLP.
* daily updateAlan Modra2012-03-231-1/+1
|
* * ldemul.c (before_allocation_default): When emitrelocations,Alan Modra2012-03-233-1/+8
| | | | | don't strip sections.. * ldlang.c (lang_add_section): ..and don't set up map_head, map_tail.
* * elf.c (assign_file_positions_for_non_load_sections): Don't warnAlan Modra2012-03-232-6/+12
| | | | on empty alloc sections.
* * linker.c (_bfd_nearby_section): New function, split out from..Alan Modra2012-03-235-82/+98
| | | | | | | | | (fix_syms): ..here. * bfd-in.h (_bfd_nearby_section): Declare. * bfd-in2.h: Regenerate. * elflink.c (elf_link_input_bfd): Don't use text_index_section or data_index_section with ld -q or ld -r output relocs against stripped output sections. Instead use _bfd_nearby_section.
* PR binutils/13894Alan Modra2012-03-232-3/+12
| | | | | * elf64-ppc.c (opd_entry_value): Read full symbol table when sym hashes unavailable.
* daily updateAlan Modra2012-03-221-1/+1
|
* daily updateAlan Modra2012-03-211-1/+1
|
* PR ld/13813Hans-Peter Nilsson2012-03-212-1/+10
| | | | | * ld-mips-elf/comm-data.exp (mips_comm_data_test): For N32 and N64 tests, also specify assembler option -march=mips3.
* 2012-03-21 Cary Coutant <ccoutant@google.com>Cary Coutant2012-03-2124-168/+4486
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: Add gdb-index.cc, gdb-index.h. * Makefile.in: Regenerate. * dwarf_reader.cc (Sized_elf_reloc_mapper::do_initialize): New function. (Sized_elf_reloc_mapper::symbol_section): New function. (Sized_elf_reloc_mapper::do_get_reloc_target): New function. (make_elf_reloc_mapper): New function. (Dwarf_abbrev_table::clear_abbrev_codes): New function. (Dwarf_abbrev_table::do_read_abbrevs): New function. (Dwarf_abbrev_table::do_get_abbrev): New function. (Dwarf_ranges_table::read_ranges_table): New function. (Dwarf_ranges_table::read_range_list): New function. (Dwarf_pubnames_table::read_section): New function. (Dwarf_pubnames_table::read_header): New function. (Dwarf_pubnames_table::next_name): New function. (Dwarf_die::Dwarf_die): New function. (Dwarf_die::read_attributes): New function. (Dwarf_die::skip_attributes): New function. (Dwarf_die::set_name): New function. (Dwarf_die::set_linkage_name): New function. (Dwarf_die::attribute): New function. (Dwarf_die::string_attribute): New function. (Dwarf_die::int_attribute): New function. (Dwarf_die::uint_attribute): New function. (Dwarf_die::ref_attribute): New function. (Dwarf_die::child_offset): New function. (Dwarf_die::sibling_offset): New function. (Dwarf_info_reader::check_buffer): New function. (Dwarf_info_reader::parse): New function. (Dwarf_info_reader::do_parse): New function. (Dwarf_info_reader::do_read_string_table): New function. (Dwarf_info_reader::lookup_reloc): New function. (Dwarf_info_reader::get_string): New function. (Dwarf_info_reader::visit_compilation_unit): New function. (Dwarf_info_reader::visit_type_unit): New function. (Sized_dwarf_line_info::Sized_dwarf_line_info): Use Sized_elf_reloc_mapper. (Sized_dwarf_line_info::symbol_section): Remove function. (Sized_dwarf_line_info::read_relocs): Use Sized_elf_reloc_mapper. (Sized_dwarf_line_info::read_line_mappings): Remove object parameter, adjust callers. (Sized_dwarf_line_info::format_file_lineno): Fix type of cast. * dwarf_reader.h: Include <sys/types.h>. (class Track_relocs): Remove forward declaration. (class Elf_reloc_mapper): New class. (class Sized_elf_reloc_mapper): New class. (class Dwarf_abbrev_table): New class. (class Dwarf_range_list): New class. (class Dwarf_ranges_table): New class. (class Dwarf_pubnames_table): New class. (class Dwarf_die): New class. (class Dwarf_info_reader): New class. (Sized_dwarf_line_info::read_line_mappings): Remove object parameter. (Sized_dwarf_line_info::symbol_section): Remove member function. * dynobj.h (Sized_dynobj::do_section_contents): Refactor code from base class. * gdb-index.cc: New source file. * gdb-index.h: New source file. * incremental.cc (Sized_relobj_incr::do_layout): Track .debug_info and .debug_types sections, call Layout::add_to_gdb_index. (Sized_relobj_incr::do_section_name): Implement. (Sized_relobj_incr::do_section_contents): Adjust parameter list and return type; Implement. (Sized_incr_dynobj::do_section_contents): Adjust parameter list and return type. * incremental.h (Sized_relobj_incr::do_section_contents): Adjust parameter list and return type. (Sized_incr_dynobj::do_section_contents): Likewise. * layout.cc: Include gdb-index.h. (Layout::Layout): Initialize gdb_index_data_. (Layout::init_fixed_output_section): Check for .gdb_index section. (Layout::add_to_gdb_index): New function. Instantiate. * layout.h: Add forward declaration for class Gdb_index. (Layout::add_to_gdb_index): New member function. (Layout::gdb_index_data_): New data member. * main.cc: Include gdb-index.h. (main): Print statistics for gdb index. * object.cc (Object::section_contents): Move code into do_section_contents. (need_decompressed_section): Check for sections needed when building gdb index. (build_compressed_section_map): Likewise. (Sized_relobj_file::do_read_symbols): Need local symbols when building gdb index. (Sized_relobj_file::do_layout): Track .debug_info and .debug_types sections; call Layout::add_to_gdb_index. (Sized_relobj_file::do_decompressed_section_contents): Call do_section_contents directly. * object.h (Object::do_section_contents): Adjust parameter list and return type. (Object::do_decompressed_section_contents): Call do_section_contents directly. (Sized_relobj_file::do_section_contents): Adjust parameter list and return type. * options.h (class General_options): Add --gdb-index option. * plugin.cc (Sized_pluginobj::do_section_contents): Adjust parameter list and return type. * plugin.h (Sized_pluginobj::do_section_contents): Likewise. * reloc.h (Track_relocs::checkpoint): New function. (Track_relocs::reset): New function. * testsuite/Makefile.am (gdb_index_test_1.sh, gdb_index_test_2.sh): New test cases. * testsuite/Makefile.in: Regenerate. * testsuite/gdb_index_test.cc: New test source file. * testsuite/gdb_index_test_1.sh: New test source file. * testsuite/gdb_index_test_2.sh: New test source file.
* 2012-03-21 Eliot Dresselhaus <eliot@sonic.net>Joseph Myers2012-03-212-0/+8
| | | | | * elf32-tic6x.c (elf32_tic6x_merge_private_bfd_data): Return TRUE for non-C6X objects.
* gas/Thomas Schwinge2012-03-214-12/+31
| | | | | | | | | | | [SH] Support the .uaquad and .8byte directives also for non-sh64 configurations. * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle BFD_RELOC_64. * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad description... * doc/c-sh.texi (SH Machine Directives): ... here.
* daily updateAlan Modra2012-03-201-1/+1
|
* PR ld/12742Kai Tietz2012-03-205-0/+73
| | | | | | | | | | | | | * configure.in (AC_CHECK_HEADERS): Test for windows.h and dlfcn.h. * plugin.c: Guard include of dlfcn.h if HAVE_DLFCN_H is defined. Add windows.h header include if HAVE_WINDOWS_H is defined. (dlerror): New static function if windows variant is used instead of dlfcn.h. (dlclose): Likewise. (dlopen): Likewise. (dlsym): Likewise. * configure: Regenerated. * config.in: Regenerated.
* Handle relocation against protected function for -BsymbolicH.J. Lu2012-03-2014-1/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfd/ 2012-03-20 H.J. Lu <hongjiu.lu@intel.com> PR ld/13880 * elf32-i386.c (elf_i386_relocate_section): Don't issue an error for R_386_GOTOFF relocation against protected function if SYMBOLIC_BIND is true. * elf64-x86-64.c (elf_x86_64_relocate_section): Don't issue an error for R_X86_64_GOTOFF64 relocation against protected function when building executable or SYMBOLIC_BIND is true. ld/testsuite/ 2012-03-20 H.J. Lu <hongjiu.lu@intel.com> PR ld/13880 * ld-i386/i386.exp: Run protected4 and protected5. * ld-x86-64/x86-64.exp: Likewise. * ld-i386/protected4.d: New. * ld-i386/protected4.s: Likewise. * ld-i386/protected5.d: Likewise. * ld-i386/protected5.s: Likewise. * ld-x86-64/protected4.d: Likewise. * ld-x86-64/protected4.s: Likewise. * ld-x86-64/protected5.d: Likewise. * ld-x86-64/protected5.s: Likewise.
* * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP systemNick Clifton2012-03-205-8/+57
| | | | | | | | | | | registers. (do_vmsr): Likewise. (arm_opcode_insns): Do not default to using the FPSCR register in the VMRS and VMSR registers. * gas/arm/vfp1xD.s: Add tests of the VMSR ad VMRS instructions in priviledged modes. * gas/arm/vfp1xD.d: Update expected output.
* 2012-03-19 Doug Kwan <dougkwan@google.com>Doug Kwan2012-03-198-32/+116
| | | | | | | | | | | | | | | | | * arm.cc (Target_arm::do_define_standard_symbols): New method. (Target_arm::do_finalize_sections): Remove code which defines __exidx_start and __exidx_end. Make symbol table parameter anonymous as it is not used. * gold.cc (queue_middle_tasks): Call target hook to define any target-specific symbols. * target.h (Target::define_standard_symbols): New method. (Target::do_define_standard_symbols): Same. * testsuite/Makefile.am (arm_exidx_test): Dump relocations also. * testsuite/Makefile.in: Regenerate. * testsuite/arm_exidx.s: Generate data relocations for __exidx_start and __exidx_end. * testsuite/arm_exidx_test.sh: Check that no unused dynamic relocations are generated for __exidx_start and __exidx_end.
* daily updateAlan Modra2012-03-191-1/+1
|
* * ld-m68k/m68k.exp ("TLS indirect symbol use"): PassAndreas Schwab2012-03-192-2/+7
| | | | --copy-dt-needed-entries.
* daily updateAlan Modra2012-03-181-1/+1
|
* daily updateAlan Modra2012-03-171-1/+1
|
* 2012-03-16 Doug Kwan <dougkwan@google.com>Doug Kwan2012-03-173-24/+28
| | | | | * testsuite/Makefile.am: Disable test initpri3b. * testsuite/Makefile.in: Regenerate.