summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 2012-12-20 Greta Yorsh <Greta.Yorsh@arm.com>Richard Earnshaw2012-12-209-198/+253
| | | | | | | | | | | | * config/tc-arm.c (rfefa,rfeea,rfeed): Fix encoding. (rfe,srs,srsea,srsfa,srsed,srsfd): Add missing mnemonics. * gas/arm/srs-t2.s: Add tests for missing srs modes. * gas/arm/srs-t2.l: Update expected output. * gas/arm/srs-arm.s: Add tests for missing srs modes. * gas/arm/srs-arm.l: Update expected output. * gas/arm/archv6.s: Add tests for missing rfe modes. * gas/arm/archv6.d: Update expected output.
* daily updateAlan Modra2012-12-191-1/+1
|
* Fix indentation in the last checkinH.J. Lu2012-12-191-1/+1
|
* Fix and use elf_append_relH.J. Lu2012-12-193-50/+23
| | | | | | | | | * elf32-i386.c (elf_i386_relocate_section): Replace bfd_elf32_swap_reloc_out with elf_append_rel. (elf_i386_finish_dynamic_symbol): Likewise. * elflink.c (elf_append_rel): Call swap_reloc_out instead of swap_reloca_out.
* Reindent elf_i386_finish_dynamic_symbolH.J. Lu2012-12-192-1/+5
| | | | * elf32-i386.c (elf_i386_finish_dynamic_symbol): Reindent.
* Group text sections with prefixes .text.unlikely,.text.hot and .text.startupSriraman Tallam2012-12-198-7/+265
| | | | | | | | | | | | | | | | | | | | | by default. 2012-12-18 Sriraman Tallam <tmsriram@google.com> * layout.cc (Layout::is_section_name_prefix_grouped): New function. * layout.h (Layout::is_section_name_prefix_grouped): New function. * output.cc (Output_section::add_input_section): Check if section name contains special prefix. Keep input sections to sort such sections. (Output_section::Input_section_sort_section_order_index_compare ::operator()): Group sections according to prefixes. * (Output_section::sort_attached_input_sections): Add condition to Input_section_entry constructor call. * testsuite/Makefile.am (text_section_grouping): New test. * testsuite/Makefile.in: Regenerate. * testsuite/text_section_grouping.cc: New file. * testsuite/text_section_grouping.sh: New file.
* daily updateAlan Modra2012-12-181-1/+1
|
* ld/Roland McGrath2012-12-185-24/+59
| | | | | | | | * ld.texinfo (Options): Describe -Trodata-segment. * ldlex.h (enum option_values): Add OPTION_TRODATA_SEGMENT. * lexsup.c (ld_options, parse_args): Handle -Trodata-segment. * scripttempl/elf.sc (RODATA_ADDR, SHLIB_RODATA_ADDR): Wrap SEGMENT_START("rodata-segment", ...) + SIZEOF_HEADERS around the value.
* merge from gccDJ Delorie2012-12-182-1/+14
|
* PR ld/14736Michael Eager2012-12-188-23/+155
| | | | | | | | | | | | bfd: * elf32-microblaze.c (calc_fixup): Add end range. gas/testsuite: * gas/microblaze/relax_size.exp: New file - test object size after linker relaxation * gas/microblaze/relax_size.s: Likewise * gas/microblaze/relax_size.elf: Likewise * gas/microblaze/relax_size2.s: Likewise * gas/microblaze/relax_size2.elf: Likewise
* PR ld/14962Alan Modra2012-12-186-0/+41
| | | | | | * ld-scripts/pr14962.d, * ld-scripts/pr14962.t, * ld-scripts/pr14962a.s, * ld-scripts/pr14962b.s: New test. * ld-scripts/expr.exp: Run it.
* * elf.c (swap_out_syms): Set shndx to SHN_ABS when not one ofAlan Modra2012-12-182-0/+6
| | | | the special MAP_* values.
* daily updateAlan Modra2012-12-171-1/+1
|
* ld/testsuite/Roland McGrath2012-12-173-0/+7
| | | | | * ld-elf/elf.exp (stack exec, stack size): Run for *-*-nacl* targets. * ld-i386/export-class.exp: Run for i?86-*-nacl* targets.
* bfd/Roland McGrath2012-12-172-0/+9
| | | | | * elf32-arm.c (elf32_arm_size_stubs): Skip input BFDs that are not ARM ELF.
* 2012-12-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2012-12-172-0/+20
| | | | * COPYING.LIBGLOSS: Add license for bfin libgloss.
* Remove the leading zeroH.J. Lu2012-12-172-3/+7
| | | | * ld-elf/var1.d: Remove the leading zero.
* Add copyright noticesNick Clifton2012-12-17221-18/+3352
|
* Update PR ld/14962 testcaseH.J. Lu2012-12-172-4/+4
|
* Add a testcase for PR ld/14962H.J. Lu2012-12-174-0/+49
| | | | | | | PR ld/14962 * ld-elf/var1.d: New file. * ld-elf/var1.s: Likewise. * ld-elf/var1.t: Likewise.
* PR ld/14962Alan Modra2012-12-174-74/+37
| | | | | | | | | * ldexp.h (struct ldexp_control): Add "assign_name". * ldexp.c (fold_name <NAME>): Compare and clear assign_name on match. (exp_fold_tree_1): Remove existing code testing for self assignment. Instead set and test expld.assign_name. * ldlang.c (scan_for_self_assignment): Delete. (print_assignment): Instead set and test expld.assign_name.
* Don't check IFUNC relocations in elf_*_check_relocsH.J. Lu2012-12-163-143/+10
| | | | | | * elf32-i386.c (elf_i386_check_relocs): Don't check IFUNC relocations here. * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
* daily updateAlan Modra2012-12-161-1/+1
|
* Also check local IFUNC referencesH.J. Lu2012-12-1616-7/+190
| | | | | | | | | | | | | | | | | | | | | | | | | bfd/ PR ld/14968 * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Also check local IFUNC references. * elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise. ld/testsuite/ PR ld/14968 * ld-ifunc/ifunc-18a-i386.d: New file. * ld-ifunc/ifunc-18a-x86-64.d: Likewise. * ld-ifunc/ifunc-18a.s: Likewise. * ld-ifunc/ifunc-18b-i386.d: Likewise. * ld-ifunc/ifunc-18b-x86-64.d: Likewise. * ld-ifunc/ifunc-18b.s: Likewise. * ld-ifunc/ifunc-19a-i386.d: Likewise. * ld-ifunc/ifunc-19a-x86-64.d: Likewise. * ld-ifunc/ifunc-19a.s: Likewise. * ld-ifunc/ifunc-19b-i386.d: Likewise. * ld-ifunc/ifunc-19b-x86-64.d: Likewise. * ld-ifunc/ifunc-19b.s: Likewise.
* * configure.ac (ENABLE_GOLD): Consider *-*-gnu* targets ELF.Thomas Schwinge2012-12-163-2/+7
| | | | * configure: Regenerate.
* daily updateAlan Modra2012-12-151-1/+1
|
* Fix copy'n'paste-o.Thomas Schwinge2012-12-151-1/+1
|
* ld/testsuite/Thomas Schwinge2012-12-156-7/+15
| | | | | | | | * ld-elf/elf.exp (stack exec, stack size): Run for any GNU target. * ld-elf/maxpage3c.d: Run for any x86 GNU target. * ld-elf/maxpage4.d: Likewise. * ld-elf/maxpage5.d: Likewise. * ld-i386/export-class.exp: Likewise.
* gold/Cary Coutant2012-12-153-8/+22
| | | | | | | | * testsuite/Makefile.am (exception_separate_shared_12_test): Add --no-as-needed flag. (exception_separate_shared_12_test): Likewise. (incremental_copy_test): Likewise. * testsuite/Makefile.in: Regenerate.
* gold/Cary Coutant2012-12-152-2/+11
| | | | | * dwp.cc (Dwp_output_file::add_cu_set): Check for duplicate CUs. (Dwp_output_file::Dwp_index::enter_set): Add assert.
* daily updateAlan Modra2012-12-141-1/+1
|
* gdbTom Tromey2012-12-142-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * NEWS: Mention "info proc" and core files. * corelow.c (core_info_proc): New function. (init_core_ops): Set to_info_proc. * gdbarch.c, gdbarch.h: Rebuild. * gdbarch.sh (core_info_proc): New method. * infcmd.c (info_proc_cmd_1): Invoke target_info_proc first. * linux-tdep.c (linux_core_info_proc_mappings) (linux_core_info_proc): New functions. (linux_find_memory_region_ftype): New typedef. (linux_find_memory_regions_full): New function, from linux_find_memory_regions. (struct linux_find_memory_regions_data): New. (linux_find_memory_regions_thunk): New function. (linux_find_memory_regions): Rewrite. (struct linux_make_mappings_data): New. (linux_make_mappings_callback) (linux_make_mappings_corefile_notes): New functions. (linux_make_corefile_notes): Call linux_make_mappings_corefile_notes. (linux_init_abi): Call set_gdbarch_core_info_proc. * target.c (target_info_proc): Return 'int'. * target.h (target_info_proc): Update. gdb/doc * gdb.texinfo (SVR4 Process Information): Mention core files. gdb/testsuite * gdb.base/info-proc.exp: Add core file tests. bfd * elf.c (elfcore_grok_note) <NT_FILE>: New case.
* ld/testsuite/Yufeng Zhang2012-12-143-1/+15
| | | | | | | | 2012-12-13 Yufeng Zhang <yufeng.zhang@arm.com> * ld-elf/indirect.exp: Disable if -shared is not supported. * lib/ld-lib.exp (check_shared_lib_support): Add aarch64*-*-elf and arm*-*-elf to the exclude list.
* daily updateAlan Modra2012-12-141-1/+1
|
* Check local IFUNC callsH.J. Lu2012-12-1312-6/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfd/ 2012-12-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/14956 * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Check local IFUNC calls. * elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise. ld/testsuite/ 2012-12-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/14956 * ld-ifunc/ifunc-14-i386.d: Renamed to ... * ld-ifunc/ifunc-14a-i386.d: This. * ld-ifunc/ifunc-14-x86-64.d: Renamed to ... * ld-ifunc/ifunc-14a-x86-64.d: This. * ld-ifunc/ifunc-14b-i386.d: New file. * ld-ifunc/ifunc-14b-x86-64.d: Likewise. * ld-ifunc/ifunc-14c-i386.d: Likewise. * ld-ifunc/ifunc-14c-x86-64.d: Likewise. * ld-ifunc/ifunc-14d-i386.d: Likewise. * ld-ifunc/ifunc-14d-x86-64.d: Likewise.
* PR binutils/14950Alan Modra2012-12-132-65/+46
| | | | | * ppc-opc.c (insert_sci8, extract_sci8): Rewrite. (insert_sci8n, extract_sci8n): Likewise.
* daily updateAlan Modra2012-12-121-1/+1
|
* Add --with-build-config=bootstrap-asan supportH.J. Lu2012-12-125-24/+582
| | | | | | | | * Makefile.def (target_modules): Add bootstrap=true and raw_cxx=true to libsanitizer. * configure.ac (bootstrap_target_libs): Add libsanitizer. * Makefile.in: Regenerated. * configure: Likewise.
* Add libstdc++-raw-cxx.m4H.J. Lu2012-12-122-0/+40
| | | | * libstdc++-raw-cxx.m4: New file.
* Add bootstrap-asan.mkH.J. Lu2012-12-122-0/+10
| | | | * bootstrap-asan.mk: New file.
* * powerpc.cc (class Track_tls): New.Alan Modra2012-12-122-43/+157
| | | | | | | | (class Relocate, class Scan): Inherit Track_tls. (Target_powerpc::Scan::local, global): Track tls optimization and avoid creating plt entry for __tls_get_addr if all uses are optimized away. (Target_powerpc::Relocate::relocate): Update to use Track_tls.
* * options.h (General_options): Add --toc-sort/--no-toc-sort.Alan Modra2012-12-124-5/+103
| | | | | | | | | | | | Replace no_toc_optimize with toc_optimize. * output.h (Output_section::input_sections): Provide non-const variant. * powerpc.cc (Powerpc_relobj::has_small_toc_reloc_, set_has_small_toc_reloc, has_small_toc_reloc): New variable and accessors. (Target_powerpc::Scan::local, global): Call set_has_small_toc_reloc. (class Sort_toc_sections): New. (Target_powerpc::do_finalize_sections): Sort toc sections. (Target_powerpc::Relocate::relocate): Update toc_optimize test.
* daily updateAlan Modra2012-12-111-1/+1
|
* ld/Roland McGrath2012-12-114-2/+23
| | | | | | | | | * emulparams/elf_nacl.sh (nacl_rodata_addr): New shell function. (RODATA_ADDR, SHLIB_RODATA_ADDR): Use it to base the calculation on SEGMENT_START("text-segment", ...) rather than ... alone. * Makefile.am (earmelf_nacl.c, earmelfb_nacl.c): Add missing dependency on $(srcdir)/emulparams/elf_nacl.sh. * Makefile.in: Regenerate.
* Microblaze: Add support for handling TLS symbol suffixes and generatingMichael Eager2012-12-119-166/+785
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TLS relocs for General Dynamic and Local Dynamic models. bfd/Changelog * reloc.c: Add new relocations * bfd-in2.h: Regenerated * libbfd.h: Regenerated * elf32-microblaze.c (microblaze_elf_howto_raw): Add TLS relocations (microblaze_elf_reloc_type_lookup): Likewise (elf32_mb_link_hash_entry): define TLS reference types (elf32_mb_link_hash_table): add TLS Local dynamic GOT entry #define has_tls_reloc if section has TLS relocs (dtprel_base), (check_unique_offset): New (microblaze_elf_output_dynamic_relocation): output simple dynamic relocation into SRELOC. (microblaze_elf_relocate_section): Accommodate TLS relocations. (microblaze_elf_check_relocs): Likewise (update_local_sym_info): New (microblaze_elf_copy_indirect_symbol): Add tls_mask. (allocate_dynrelocs): Handle TLS symbol (microblaze_elf_size_dynamic_sections): Set size and offset (microblaze_elf_finish_dynamic_symbol): Use microblaze_elf_output_dynamic_relocation gas/Changelog * config/tc-microblaze.c: Define TLS offsets (md_relax_table): Add TLS offsets (imm_types), (match_imm), (get_imm_otype): New to support TLS offsets. (tc_microblaze_fix_adjustable): Add TLS relocs. (md_convert_frag): Support TLS offsets. (md_apply_fix), (md_estimate_size_before_relax), (tc_gen_reloc): Add TLS relocs include/Changelog * elf/microblaze.h: Add TLS relocs to START_RELOC_NUMBERS
* daily updateAlan Modra2012-12-101-1/+1
|
* gold/Roland McGrath2012-12-103-22/+63
| | | | | | | * testsuite/binary_unittest.cc (read_all): New function. (Sized_binary_test): Use it instead of ::read. * fileread.cc (do_read): Don't assume pread always reads the whole amount in a single call.
* Add copyright noticesNick Clifton2012-12-10121-105/+897
|
* * powerpc.cc (Target_selector_powerpc::Target_selector_powerpc):Alan Modra2012-12-102-23/+8
| | | | | Set EM_PPC64 or EM_PPC here. (Target_selector_powerpc::do_recognize): Delete.
* * powerpc.cc (Powerpc_relobj::Powerpc_relobj): Init has14_ andAlan Modra2012-12-102-1/+9
| | | | | stub_table_. (Target_powerpc::Branch_info::make_stub): Don't omit addend.