aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-11-16Implement linker -z global optionhjl/globalH.J. Lu5-0/+29
2012-11-16Update DF_1_XXX from SolarisH.J. Lu4-4/+100
binutils/ * readelf.c (process_dynamic_section): Correct DF_1_CONFALT. Also dump DF_1_ENDFILTEE, DF_1_DISPRELDNE, DF_1_NODIRECT, DF_1_IGNMULDEF, DF_1_NOKSYMS, DF_1_NOHDR, DF_1_EDITED, DF_1_NORELOC, DF_1_SYMINTPOSE, DF_1_GLOBAUDIT and DF_1_SINGLETON. include/elf/ * common.h (DF_1_CONLFAT): Renamed to ... (DF_1_CONFALT): This. (DF_1_ENDFILTEE): New. (DF_1_DISPRELDNE): Likewise. (DF_1_DISPRELPND): Likewise. (DF_1_NODIRECT): Likewise. (DF_1_IGNMULDEF): Likewise. (DF_1_NOKSYMS): Likewise. (DF_1_NOHDR): Likewise. (DF_1_EDITED): Likewise. (DF_1_NORELOC): Likewise. (DF_1_SYMINTPOSE): Likewise. (DF_1_GLOBAUDIT): Likewise. (DF_1_SINGLETON): Likewise.
2012-11-16Fix typo.Maxim Kuvyrkov1-1/+1
2012-11-16 Port lib32 arangement from Debian.Maxim Kuvyrkov2-0/+16
* emulparams/elf_i386.sh: Include lib32 directories in library search path.
2012-11-15daily updateAlan Modra1-1/+1
2012-11-15Restore "Consider *-*-nacl* targets ELF for gold"H.J. Lu3-2/+7
* configure.ac (ENABLE_GOLD): Consider *-*-nacl* targets ELF. * configure: Regenerate.
2012-11-15 * ldmain.c (main): Add start_sbrk set to sbrk(0) on entry.Simon Baldwin2-1/+10
On exit, compute data size as the delta between current sbrk(0) and start_sbrk.
2012-11-15bfd/Roland McGrath4-11/+21
* elf32-arm.c (elf32_arm_nacl_plt0_entry): Use bic rather than bfc instruction for data sandboxing. gold/ * arm.cc (Output_data_plt_arm_nacl::first_plt_entry): Use bic rather than bfc instruction for data sandboxing.
2012-11-15Sync toplevel files with GCCH.J. Lu5-15/+553
2012-11-13 Richard Henderson <rth@redhat.com> * configure.ac: Move libsanitizer logic to subdirectory. * configure: Regenerate. 2012-11-13 Dodji Seketeli <dodji@redhat.com> * configure.ac: Enable libsanitizer just on x86 linux for now. * configure: Re-generate. 2012-11-13 David Edelsohn <dje.gcc@gmail.com> * configure.ac: Merge libquadmath sections. * configure: Regenerate. 2012-11-12 Wei Mi <wmi@google.com> * configure.ac: Add libsanitizer to target_libraries. * Makefile.def: Ditto. * configure: Regenerate. * Makefile.in: Regenerate.
2012-11-14daily updateAlan Modra1-1/+1
2012-11-14opcodes/Michael Eager9-5/+87
* microblaze-opc.h: Define new instruction type INST_TYPE_IMM5, update OPCODE_MASK_H13S, add OPCODE_MASK_HN, define MIN_IMM5 / MAX_IMM5, and increase MAX_OPCODES. (op_code_struct): add mbar and sleep * microblaze-opcm.h (microblaze_instr): add mbar Define IMM_MBAR and IMM5_MBAR_MASK * microblaze-dis.c: Add get_field_imm5_mbar (print_insn_microblaze): Add support for INST_TYPE_IMM5 and INST_TYPE_NONE gas/ * config/tc-microblaze.c (md_assemble): Add support for INST_TYPE_IMM5 gas/testsuite/ * gas/microblaze/allinsn.s: Add mbar and sleep * gas/microblaze/allinsn.d: Likewise
2012-11-14Add clz opcode.Michael Eager6-2/+20
opcodes/ * microblaze-opc.h: Increase MAX_OPCODES (op_code_struct): add clz insn * microblaze-opcm.h (microblaze_instr): add clz gas/testsuite/ * gas/microblaze/allinsn.s: Add clz insn * gas/microblaze/allinsn.d: Likewise
2012-11-14Add the endian reversing versions of load/store instructions;Michael Eager7-2/+78
2012-11-14 Edgar E. Iglesias <edgar.iglesias@gmail.com> * microblaze-opc.h: Increase MAX_OPCODES (op_code_struct): add lbur, lhur, lwr, sbr, shr, swr * microblaze-opcm.h (microblaze_instr): add lbur, lhur, lwr, sbr, shr, swr 2012-11-14 David Holsgrove <david.holsgrove@xilinx.com> * gas/microblaze/allinsn.exp: New file - test newly added opcodes * gas/microblaze/allinsn.s: Likewise * gas/microblaze/allinsn.d: Likewise
2012-11-14gas/ChangeLog:Ulrich Weigand9-99/+59
* config/tc-ppc.c (md_apply_fix): Leave field zero when emitting an ELF reloc on data as well. gas/testsuite/ChangeLog: * gas/ppc/astest.d: Update for fixup changes. * gas/ppc/astest64.d: Likewise. * gas/ppc/astest2.d: Likewise. * gas/ppc/astest2_64.d: Likewise. * gas/ppc/test1elf32.d: Likewise. * gas/ppc/test1elf64.d: Likewise.
2012-11-14bfd/Tristan Gingold5-1/+114
2012-11-14 Tristan Gingold <gingold@adacore.com> * mach-o.c (bfd_mach_o_read_main) (bfd_mach_o_read_source_version): New functions. (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_DATA_IN_CODE, BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS, BFD_MACH_O_LC_MAIN, BFD_MACH_O_LC_SOURCE_VERSION. * mach-o.h (bfd_mach_o_main_command) (bfd_mach_o_source_version_command): New types. (bfd_mach_o_load_command): Add fields for these new types. binutils/ 2012-11-14 Tristan Gingold <gingold@adacore.com> * od-macho.c (bfd_mach_o_load_command_name): Add new definitions. (dump_load_command): Handle BFD_MACH_O_LC_SOURCE_VERSION and BFD_MACH_O_LC_MAIN.
2012-11-142012-11-14 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-8/+62
* external.h (mach_o_entry_point_command_external) (mach_o_source_version_command_external) (mach_o_data_in_code_entry_external): New structures. * loader.h (bfd_mach_o_load_command_type): Add BFD_MACH_O_LC_MAIN, BFD_MACH_O_LC_DATA_IN_CODE, BFD_MACH_O_LC_SOURCE_VERSION and BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS. (BFD_MACH_O_REFERENCE_MASK): Adjust value. (BFD_MACH_O_N_REF_TO_WEAK): New definition. (BFD_MACH_O_N_ARM_THUMB_DEF, BFD_MACH_O_N_SYMBOL_RESOLVER): Likewise. (bfd_mach_o_data_in_code_entry_kind): New enum.
2012-11-142012-11-14 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-20/+35
* mach-o.c (bfd_mach_o_canonicalize_one_reloc): Add a special handling for non-scattered pairs. Update comments.
2012-11-142012-11-14 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+41
* arm.h: New file.
2012-11-13daily updateAlan Modra1-1/+1
2012-11-13Allocate elf_segment_map with bfd_zallocH.J. Lu2-1/+6
* elf.c (rewrite_elf_program_header): Allocate elf_segment_map with bfd_zalloc, instead of bfd_alloc.
2012-11-13 * readelf.c (get_machine_flags) <EM_MIPS, EM_MIPS_RS3_LE>: MoveMaciej W. Rozycki2-6/+11
code to handle EF_SH_PIC and EF_SH_FDPIC... <EM_SH>: ... here.
2012-11-12daily updateAlan Modra1-1/+1
2012-11-12Correct gas microblaze ChangeLog entryH.J. Lu1-7/+6
2012-11-12Add missing test cases.Michael Eager5-0/+44
* gas/microblaze/endian.exp: New file - endian testcase for microblaze / microblazeel. * gas/microblaze/endian.s: Likewise. * gas/microblaze/endian_be.d: Likewise. * gas/microblaze/endian_le.d: Likewise. * gas/microblaze/endian_le_elf.d: Likewise.
2012-11-11daily updateAlan Modra1-1/+1
2012-11-11merge from gccDJ Delorie7-24/+83
2012-11-11Merge from GCC.Thomas Schwinge2-0/+5
config/ * dfp.m4 (enable_decimal_float): Enable for i?86*-*-gnu*. libdecnumber/ * configure: Regenerate.
2012-11-10daily updateAlan Modra1-1/+1
2012-11-09daily updateAlan Modra1-1/+1
2012-11-09Files missing from previous commit.Michael Eager2-0/+41
2012-11-09 * read.h (s_vendor_attribute): Move to...Maciej W. Rozycki7-142/+161
* config/obj-elf.h (obj_elf_vendor_attribute): ... here. * read.c (potable): Remove "gnu_attribute". (skip_whitespace, skip_past_char, skip_past_comma): Delete, move to config/obj-elf.c. (s_vendor_attribute): Delete, move to obj_elf_vendor_attribute in config/obj-elf.c. (s_gnu_attribute): Delete, move to obj_elf_gnu_attribute in config/obj-elf.c. * config/obj-elf.c (elf_pseudo_table): Add "gnu_attribute". (skip_whitespace, skip_past_char, skip_past_comma): New, moved from read.c. (obj_elf_vendor_attribute): New, moved from s_vendor_attribute in read.c. (obj_elf_gnu_attribute): New, moved from s_gnu_attribute in read.c. * config/tc-arm.c (s_arm_eabi_attribute): Rename s_vendor_attribute to obj_elf_vendor_attribute. * config/tc-tic6x.c (s_tic6x_c6xabi_attribute): Likewise.
2012-11-092012-11-09 Nick Clifton <nickc@redhat.com>Nick Clifton29-107/+1010
* Makefile.am (ALL_MACHINES): Add cpu-v850-rh850.lo. (ALL_MACHINES_CFILES): Add cpu-v850-rh850.c. * archures.c (bfd_arch_info): Add bfd_v850_rh850_arch. * config.bfd: Likewise. * configure.in: Add bfd_elf32_v850_rh850_vec. * cpu-v850.c: Update printed description. * cpu-v850_rh850.c: New file. * elf32-v850.c (v850_elf_check_relocs): Add support for RH850 ABI relocs. (v850_elf_perform_relocation): Likewise. (v850_elf_final_link_relocate): Likewise. (v850_elf_relocate_section): Likewise. (v850_elf_relax_section): Likewise. (v800_elf_howto_table): New. (v850_elf_object_p): Add support for RH850 ABI values. (v850_elf_final_write_processing): Likewise. (v850_elf_merge_private_bfd_data): Likewise. (v850_elf_print_private_bfd_data): Likewise. (v800_elf_reloc_map): New. (v800_elf_reloc_type_lookup): New. (v800_elf_reloc_name_lookup): New. (v800_elf_info_to_howto): New. (bfd_elf32_v850_rh850_vec): New. (bfd_arch_v850_rh850): New. * targets.c (_bfd_targets): Add bfd_elf32_v850_rh850_vec. * Makefile.in: Regenerate. * bfd-in2.h: Regenerate. * configure: Regenerate. * readelf.c (get_machine_flags): Add support for E_FLAG_RX_ABI. (guess_is_rela): Add EM_V800. (dump_relocations): Likewise. (get_machine_name): Update EM_V800. (get_machine_flags): Add support for RH850 ABI flags. (is_32bit_abs_reloc): Add support for RH850 ABI reloc. * config/tc-v850.c (v850_target_arch): New. (v850_target_format): New. (set_machine): Use v850_target_arch. (md_begin): Likewise. (md_show_usage): Document new switches. (md_parse_option): Add -mgcc-abi, -mrh850-abi, -m8byte-align and -m4byte-align. * config/tc-v850.c (TARGET_ARCH) Use v850_target_arch. (TARGET_FORMAT): Use v850_target_format. * doc/c-v850.texi: Document new options. * v850.h: Add RH850 ABI values. * Makefile.am: (ALL_EMULATION_SOURCES): Add ev850_rh850.c. * Makefile.in: Regenerate. * configure.tgt (v850*-*-*): Make v850_rh850 the default emulation. Add vanilla v850 as an extra emulation. * emulparams/v850_rh850.sh: New file. * scripttempl/v850_rh850.sc: New file. * configure.in: Add bfd_v850_rh850_arch. * configure: Regenerate. * disassemble.c (disassembler): Likewise.
2012-11-092012-11-09 Nick Clifton <nickc@redhat.com>Nick Clifton13-15/+211
* elf32-rx.c (describe_flags): New function. Returns a buffer containing a description of the E_FLAG_RX_... values set. (rx_elf_merge_private_bfd_data): Use it. (rx_elf_print_private_bfd_data): Likewise. (elf32_rx_machine): Skip EF_RX_CPU_RX check. (elf32_rx_special_sections): Define. (elf_backend_special_sections): Define. 2012-11-09 Nick Clifton <nickc@redhat.com> * readelf.c (get_machine_flags): Add support for E_FLAG_RX_ABI. 2012-11-09 Nick Clifton <nickc@redhat.com> * config/obj-elf.c (obj_elf_change_section): Allow init array sections to have the SHF_EXECINSTR attribute for the RX target. * config/tc-rx.c (elf_flags): Initialise with E_FLAG_RX_ABI. (enum options): Add OPTION_USES_GCC_ABI and OPTION_USES_RX_ABI. (md_longopts): Add -mgcc-abi and -mrx-abi. (md_parse_option): Add support for OPTION_USES_GCC_ABI and OPTION_USES_RX_ABI. * doc/as.texinfo (RX Options): Add mention of remaining RX options. * doc/c-rx.texi: Document -mgcc-abi and -mrx-abi. 2012-11-09 Nick Clifton <nickc@redhat.com> * rx.h (EF_RX_CPU_RX): Add comment. (E_FLAG_RX_ABI): Define. 2012-11-09 Nick Clifton <nickc@redhat.com> * emultempl/rxelf.em (no_flag_mismatch_warnings): Initialise to true. (PARSE_AND_LIST_LONGOPTS): Add flag-mismatch-warnings. (PARSE_AND_LIST_ARG_CASES): Add support for --flag-mismatch-warnings.
2012-11-09Add microblazeel target support to bfd, gas and ld.Michael Eager19-54/+195
binutils/bfd/Changelog 2012-11-09 Edgar E. Iglesias <edgar.iglesias@gmail.com> * config.bfd: Add microblazeel-*-* * configure.in: Likewise. * configure: Regenerate. * elf32-microblaze.c (microblaze_elf_relocate_section): Add endian awareness. (microblaze_elf_merge_private_bfd_data): New. (microblaze_bfd_write_imm_value_32): New. (microblaze_bfd_write_imm_value_64): New. (microblaze_elf_relax_section): Add endian awareness. (microblaze_elf_add_symbol_hook): Define TARGET_LITTLE_NAME, TARGET_LITTLE_SYM and bfd_elf32_bfd_merge_private_bfd_data. * targets.c: Add bfd target bfd_elf32_microblazeel_vec. binutils/gas/Changelog 2012-11-09 Edgar E. Iglesias <edgar.iglesias@gmail.com> * tc-microblaze.c (md_longopts): Define OPTION_EB and OPTION_EL for target. (md_parse_option): Likewise. * tc-microblaze.h: Set elf32-microblazeel if not target_big_endian for TARGET_FORMAT. * configure.tgt: Add microblazeel and set endian per target. binutils/gas/testsuite/Changelog 2012-11-09 David Holsgrove <david.holsgrove@xilinx.com> * gas/microblaze/endian.exp: New file - endian testcase for microblaze / microblazeel. * gas/microblaze/endian.s: Likewise. * gas/microblaze/endian_be.d: Likewise. * gas/microblaze/endian_le.d: Likewise. * gas/microblaze/endian_le_elf.d: Likewise. * gas/microblaze/reloc_sym.d: Update to accept targets other than elf32-microblaze. * gas/microblaze/special_reg.d: Likewise. binutils/ld/Changelog 2012-11-09 Edgar E. Iglesias <edgar.iglesias@gmail.com> * Makefile.am: Add eelf32microblazeel.c and eelf32mbel_linux.c. * Makefile.in: Regenerated. * configure.tgt: Add microblazeel and set endian per target. * emulparams/elf32mb_linux.sh: Add OUTPUT_FORMAT. * emulparams/elf32microblaze.sh: Likewise. * emulparams/elf32mbel_linux.sh: New file. * emulparams/elf32microblazeel.sh: Likewise.
2012-11-092012-11-07 James Murray <jsm@jsm-net.demon.co.uk>Sean Keys1-0/+4
* config/tc-m68hc11.c: Fix R_M68HC12_16B relocation for movb/w
2012-11-09Remove trailing redundant `;'H.J. Lu29-26/+69
bfd/ * aout-tic30.c (MY_final_link_callback): Remove trailing redundant `;'. * coff-h8500.c (extra_case): Likewise. (bfd_coff_reloc16_get_value): Likewise. * dwarf2.c (_bfd_dwarf2_cleanup_debug_info): Likewise. * elf.c (_bfd_elf_slurp_version_tables): Likewise. * elf32-frv.c (elf32_frv_relocate_section): Likewise. * elf32-v850.c (v850_elf_perform_relocation): Likewise. * opncls.c (bfd_calc_gnu_debuglink_crc32): Likewise. * plugin.c (add_symbols): Likewise. * reloc.c (bfd_check_overflow): Likewise. * vms-lib.c (_bfd_vms_lib_archive_p): Likewise. binutils/ * coffgrok.c (coff_grok): Remove trailing redundant `;'. * resrc.c (open_input_stream): Likewise. gas/ * config/atof-ieee.c (gen_to_words): Remove trailing redundant `;'. * config/atof-vax.c (flonum_gen2vax): Likewise. * config/tc-d10v.c (write_2_short): Likewise. * config/tc-i386-intel.c (i386_intel_simplify): Likewise. * config/tc-s390.c (tc_s390_force_relocation): Likewise. * config/tc-v850.c (md_parse_option): Likewise. * config/tc-xtensa.c (find_address_of_next_align_frag): Likewise. * dwarf2dbg.c (out_header): Likewise. * symbols.c (dollar_label_name): Likewise. (fb_label_name): Likewise. ld/ * testplug.c (record_add_file): Remove trailing redundant `;'. opcodes/ * aarch64-opc.h (gen_mask): Remove trailing redundant `;'. * ia64-gen.c (fetch_insn_class): Likewise.
2012-11-08daily updateAlan Modra1-1/+1
2012-11-08gdbTom Tromey2-0/+9
* linux-tdep.c (linux_make_siginfo_note): New function. (linux_make_corefile_notes): Use it. * corelow.c (get_core_siginfo): New function. (core_xfer_partial) <TARGET_OBJECT_SIGNAL_INFO>: New case. gdb/testsuite * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from core files, if possible. * gdb.base/siginfo-thread.c: New file * gdb.base/siginfo-thread.exp: New file bfd * elf.c (elfcore_grok_note) <NT_SIGINFO>: New case; make pseudosection.
2012-11-08 * mips.h (EF_MIPS_32BITMODE): Move next to lower-order bits.Maciej W. Rozycki2-4/+8
2012-11-08 gas/Maciej W. Rozycki11-0/+126
* config/tc-mips.c (mips_ip) <'u'>: Default to BFD_RELOC_LO16. gas/testsuite/ * gas/mips/lui.d: New test. * gas/mips/micromips@lui.d: New test. * gas/mips/lui-1.l: New list test. * gas/mips/lui-2.l: New list test. * gas/mips/lui.s: New test source. * gas/mips/lui-1.s: New test source. * gas/mips/lui-2.s: New test source. * gas/mips/mips.exp: Run the new tests.
2012-11-08Regenerate.Alan Modra14-6/+63
2012-11-07daily updateAlan Modra1-1/+1
2012-11-072012-11-07 James Murray <jsm@jsm-net.demon.co.uk>Sean Keys1-3/+3
* config/tc-m68hc11.c: Fix R_M68HC12_16B relocation for movb/w
2012-11-072012-11-07 James Murray <jsm@jsm-net.demon.co.uk>Sean Keys3-0/+36
* ld-m68hc11/movw.d: New test for 16bit relocate. * ld-m68hc11/movw.s: Source for test.
2012-11-072012-11-07 David Holsgrove <david.holsgrove@xilinx.com>Michael Eager3-3/+11
* config/tc-microblaze.c: Remove special register condition check for INST_TYPE_RFSL related instructions. 2012-11-07 David Holsgrove <david.holsgrove@xilinx.com> * testsuite/gas/microblaze/special_reg.exp: Add test case. * testsuite/gas/microblaze/special_reg.s: Likewise. * testsuite/gas/microblaze/special_reg.d: Likewise.
2012-11-07Don't read beyond section endH.J. Lu2-1/+9
* objcopy.c (copy_section): Don't read beyond section end.
2012-11-07Replace memcpy with memmoveH.J. Lu2-1/+6
* section.c (bfd_get_section_contents): Replace memcpy with memmove.
2012-11-07 PR binutils/14481Hans-Peter Nilsson2-1/+19
* aout-target.h (MY_close_and_cleanup): Make local function instead of alias of MY_bfd_free_cached_info. Also call _bfd_generic_close_and_cleanup.
2012-11-07Change return type of bclose to bfd_booleanH.J. Lu6-8/+19
PR binutils/14813 * bfdio.c (bfd_iovec): Change return type of bclose to bfd_boolean. (memory_bclose): Change return type to bfd_boolean. * cache.c (cache_bclose): Likewise. * opncls.c (opncls_bclose): Likewise. Return TRUE on success. * vms-lib.c (vms_lib_bclose): Likewise. Return TRUE. * libbfd.h: Regenerated.
2012-11-06Add a testcase for PR binutils/14567H.J. Lu6-37/+181
binutils/ PR binutils/14567 * Makefile.am (BFDTEST2_PROG): New. (bfdtest2_DEPENDENCIES): Likewise. (TEST_PROGS): Add $(BFDTEST2_PROG). * Makefile.in: Regenerated. * bfdtest2.c: New file. binutils/testsuite/ PR binutils/14567 * binutils-all/ar.exp (bfdtest1): Removed. (long_filenames): Take bfdtests. (thin_archive): Likewise. (thin_archive_with_nested): Likewise. (bfdtests): New. Pass $bfdtests to long_filenames, thin_archive and thin_archive_with_nested.
2012-11-06daily updateAlan Modra1-1/+1
2012-11-062012-11-06 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+8
* coff-x86_64.c (_bfd_generic_find_nearest_line_discriminator): Define as coff_find_nearest_line_discriminator.
2012-11-06 * config/tc-xgate.c: Make some functions static. FormattingAlan Modra2-376/+340
style and whitespace fixes. Wrap overly long lines. Format help message.
2012-11-06 PR binutils/14567Alan Modra2-0/+11
* opncls.c (opncls_iovec): Forward declare. (_bfd_new_bfd_contained_in): If using opncls_iovec, copy iostream to new bfd.
2012-11-06 * mach-o.c (bfd_mach_o_close_and_cleanup): Don't callAlan Modra2-0/+8
_bfd_generic_close_and_cleanup for mach_o_fat archives.
2012-11-06Allow SEC_CODE and SEC_READONLY in section flags.Alan Modra2-6/+10
2012-11-06bfd/Alan Modra4-14/+31
* coff-tic4x.c (tic4x_coff0_vec, tic4x_coff0_beh_vec, tic4x_coff1_vec, tic4x_coff1_beh_vec, tic4x_coff2_vec, tic4x_coff2_beh_vec): Allow SEC_CODE and SEC_READONLY in section flags. gas/ * config/tc-tic4x.c: Remove alignment TODO comments. (tic4x_do_align): Enable subseg_text_p test.
2012-11-06bfd/Alan Modra5-6/+63
* elf64-ppc.c (struct ppc_link_hash_table): Add dot_toc_dot. (ppc64_elf_size_stubs): Lookup ".TOC.". (ppc64_elf_relocate_section): Resolve special symbol ".TOC.". gas/ * config/tc-ppc.c (ppc_elf_adjust_symtab): New function, split out.. (ppc_frob_file_before_adjust): ..from here. (md_apply_fix): Set BSF_KEEP on .TOC. if not @tocbase. * config/tc-ppc.h (ppc_elf_adjust_symtab): Declare. (tc_adjust_symtab): Define.
2012-11-06 * elf64-ppc.c (maybe_strip_output): Heed SEC_KEEP.Alan Modra2-1/+6
2012-11-06 * config/tc-ppc.c (md_apply_fix): Fix xcoff build breakage fromAlan Modra2-0/+7
last patch.
2012-11-06 * config/tc-xgate.c: Remove bogus use of <fx_pcrel_adjust>.Sean Keys3-45/+31
* config/tc-m68hc11.c: Likewise.
2012-11-05daily updateAlan Modra1-1/+1
2012-11-05 * MAINTAINERS: Update my email address.Stephane Carrez2-1/+5
2012-11-052012-11-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel3-0/+13
PR target/14788 * elf32-s390.c (elf_s390_relocate_section): Set elf.dynobj for local ifunc symbols. * elf64-s390.c (elf_s390_relocate_section): Likewise.
2012-11-05 * configure.ac: Apply 2012-09-10 change to config.in here.Alan Modra3-10/+20
* configure: Regenerate.
2012-11-05 * configure.in: Apply 2012-09-10 change to config.in here. AddAlan Modra3-3/+11
__CONFIG_H__ check. * config.in: Regenerate.
2012-11-05 * configure.in: Apply 2012-09-10 change to config.in here.Alan Modra8-5/+22
2012-11-05 * config/tc-ppc.c (md_chars_to_number): Delete.Alan Modra2-520/+440
(ppc_setup_opcodes): Assert num_powerpc_operands fit. (ppc_is_toc_sym): Move earlier in file. (md_assemble): Move code setting reloc from md_apply_fix. Combine non-ELF code setting fixup with ELF code. Stash opindex in fx_pcrel_adjust. Adjust fixup offset for VLE. Don't set fx_no_overflow here. (md_apply_fix): Rewrite to use ppc_insert_operand for all resolved instruction fields. Leave insn field zero when emitting an ELF reloc in most cases.
2012-11-05 * write.h (struct fix <fx_pcrel_adjust>): Make it a signed char.Alan Modra3-8/+10
* config/tc-m68k.c (tc_gen_reloc, md_pcrel_from): Remove explicit sign extendion of fx_pxrel_adjust.
2012-11-05 * elf64-ppc.c (ppc64_elf_edit_toc): Clear "repeat" insideAlan Modra2-126/+138
loop. Really mark toc entry referring to another toc entry only if the first is used.
2012-11-05 * powerpc.cc (Powerpc_relobj): Delete "Offset" typedef.Alan Modra2-43/+75
(struct Opd_ent): Use "Address" rather than "Offset". (Output_data_got_powerpc::got_base_offset): Return Valtype. (Target_powerpc::got_section): Make public. (Target_powerpc::scan_relocs): Move code setting symbols.. (Powerpc_relobj::do_scan_relocs): ..to here, new function. Create _SDA_BASE_ only when referenced.
2012-11-04daily updateAlan Modra1-1/+1
2012-11-04Add --disable-libstdcxx configure optionH.J. Lu3-26/+63
2012-11-03 H.J. Lu <hongjiu.lu@intel.com> * configure: Regenerated. 2012-11-03 Robert Mason <rbmj@verizon.net> * configure.ac: add --disable-libstdcxx configure option and handle defaulted state only for VxWorks, ARM-wince-pe and AVR.
2012-11-03Add gthr.m4H.J. Lu2-0/+31
2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com> * gthr.m4: New. Define GCC_AC_THREAD_HEADER.
2012-11-03daily updateAlan Modra1-1/+1
2012-11-02daily updateAlan Modra1-1/+1
2012-11-02gold/Roland McGrath2-3/+7
* i386.cc (Target_i386::relocate_relocs): Remove extraneous typename from last change.
2012-11-01gold/Roland McGrath10-83/+100
* target.h (Sized_target::relocate_relocs): Use Elf_Off for offset_in_output_section parameter. (Sized_target::relocate_special_relocatable): Likewise. * arm.cc (Target_arm::relocate_relocs): Likewise. (Target_arm::relocate_special_relocatable): Likewise. * i386.cc (Target_i386::relocate_relocs): Likewise. * powerpc.cc (Target_powerpc::relocate_relocs): Likewise. * sparc.cc (Target_sparc::relocate_relocs): Likewise. * target-reloc.h (relocate_relocs): Likewise. * testsuite/testfile.cc (Target_test): Likewise. * tilegx.cc (Target_tilegx::relocate_relocs): Likewise. * x86_64.cc (Target_x86_64::relocate_relocs): Likewise.
2012-11-01 * config/tc-mips.c (is_delay_slot_valid): Simplify expression.Maciej W. Rozycki2-2/+5
2012-11-01daily updateAlan Modra1-1/+1
2012-11-01 gas/Maciej W. Rozycki6-0/+79
* config/tc-mips.c (append_insn): Set fx_no_overflow for 16-bit microMIPS branch relocations. gas/testsuite/ * gas/mips/micromips-b16.d: New test. * gas/mips/micromips-b16.s: New test source. * gas/mips/mips.exp: Run the new test.
2012-11-01 gas/Maciej W. Rozycki10-7/+185
* config/tc-mips.c (is_delay_slot_valid): Don't accept macros in 16-bit delay slots. (macro_build_jalr): Emit 32-bit JALR if placed in a 32-bit delay slot. (macro) <M_JAL_2>: Likewise gas/testsuite/ * gas/mips/micromips-branch-delay.l: Update messages for 16-bit delay slot changes. * gas/mips/micromips-warn-branch-delay.d: New test. * gas/mips/micromips-warn-branch-delay.l: Stderr output for the new test. * gas/mips/micromips-warn-branch-delay-1.d: New test. * gas/mips/micromips-warn-branch-delay.s: New test source. * gas/mips/micromips-warn-branch-delay-1.s: New test source. * gas/mips/mips.exp: Run the new tests.
2012-11-01gold/Roland McGrath2-4/+7
* system.h: Move inclusion of <clocale> to after <libintl.h> in [ENABLE_NLS] section, and separately at top of [!ENABLE_NLS] section.
2012-11-01gold/Roland McGrath2-2/+7
* descriptors.cc (set_close_on_exec): Add ATTRIBUTE_UNUSED to the parameter, which is unused in the [!F_SETFD] case.
2012-11-01gold/Roland McGrath4-15/+23
* dwarf_reader.cc (Sized_elf_reloc_mapper::symbol_section): Cast SYMNDX to off_t before comparing it to this->data_size(). * output.cc (Output_symtab_xindex::endian_do_write): Likewise. * incremental.cc (Output_section_incremental_inputs::do_write): Cast GLOBAL_SYM_COUNT to off_t before comparing it to SYMTAB_SIZE.
2012-11-01gold/Roland McGrath2-0/+5
* nacl.cc: Include "libiberty.h" for vasprintf declaration.
2012-11-01binutilsTom Tromey4-0/+16
* readelf.c (get_note_type): Handle NT_386_TLS, NT_386_IOPERM. include/common/elf * common.h (NT_386_TLS, NT_386_IOPERM): New defines.
2012-11-01 * emultempl/elf32.em: Print stacksize help.Nathan Sidwell2-0/+6
2012-11-01 * ldlang.c (insert_pad): Correct output section size calculation.Alan Modra2-3/+13
(lang_size_sections_1): Likewise for lang_data_statement and lang_reloc_statement.
2012-10-31daily updateAlan Modra1-1/+1
2012-10-312012-10-31 David Holsgrove <david.holsgrove@xilinx.com>Michael Eager10-1/+181
* config/tc-microblaze.c: Check for weak symbols before emitting relocation. 2012-10-31 David Holsgrove <david.holsgrove@xilinx.com> * gas/microblaze: New. * gas/microblaze/reloc_sym.exp: Add test case. * gas/microblaze/reloc_strongsym.s: Likewise. * gas/microblaze/reloc_weaksym.s: Likewise. * gas/microblaze/reloc_sym.d: Likewise.
2012-10-31oops accidentally omitted from previous deltaNick Clifton6-0/+65
2012-10-30Handle --enable-64-bit-bfd when setting CORE_HEADERH.J. Lu3-4/+9
* configure.in: Also handle --enable-64-bit-bfd when setting CORE_HEADER for 'i[3-7]86-*-linux-*'.
2012-10-30bfd:Nick Clifton19-19/+220
* elf32-arm.c (elf32_arm_print_private_bfd_data): Recognise and display the new ARM hard-float/soft-float ABI flags for EABI_VER5 (elf32_arm_post_process_headers): Add the hard-float/soft-float ABI flag as appropriate for ET_DYN/ET_EXEC in EABI_VER5. binutils: * readelf.c (decode_ARM_machine_flags): Recognise and display the new ARM hard-float/soft-float ABI flags for EABI_VER5. Split out the code for EABI_VER4 and EABI_VER5 to allow this. elfcpp: * arm.h: New enum for EABI soft- and hard-float flags. gold: * gold.cc (Target_arm::do_adjust_elf_header): Add the hard-float/soft-float ABI flag as appropriate for ET_DYN/ET_EXEC in EABI_VER5. include: * elf/arm.h (EF_ARM_ABI_FLOAT_SOFT): New define. (EF_ARM_ABI_FLOAT_HARD): Likewise. ld/testsuite: * ld-arm/eabi-hard-float.s: New test source. * ld-arm/eabi-soft-float.s: New test source. * ld-arm/eabi-hard-float.d: New test. * ld-arm/eabi-soft-float.d: New test. * ld-arm/eabi-soft-float-ABI4.d: New test. * ld-arm/eabi-soft-float-r.d: New test. * ld-arm/arm-elf.xp: Use the new tests. binutils: PR binutils/14779 * configure.in: Add checks for wchar.h and mbstate_t. * config.in: Regenerate. * configure: Regenerate. * readelf.c: Conditionally include wchar.h. (print_symbol): Conditionally use mbstate_t.
2012-10-30Add Linux/x86_64 core support to i[3-7]86-*-linuxH.J. Lu5-35/+112
* configure.in: Set CORE_HEADER to hosts/x86-64linux.h for 'i[3-7]86-*-linux-*' if x86_64-*linux is enabled. * configure: Regenerated. * elf64-x86-64.c (elf_x86_64_write_core_note): Replace type 'prpsinfo_t' and 'prstatus_t' with 'prpsinfo64_t' and 'prstatus64_t' respectively. * hosts/x86-64linux.h (a8_uint64_t): New. (user_regsx32_struct): Renamed to ... (user_regs64_struct): This. Replace uint64_t with a8_uint64_t. (elf_gregx32_t): Renamed to ... (elf_greg64_t): This. Replace uint64_t with a8_uint64_t. (ELF_NGREGX32): Removed. (ELF_NGREG64): New. (elf_gregx32_t): Removed. (elf_greg64_t): New. (struct prstatus64_timeval): New. (elf_prstatusx32): Replace elf_gregsetx32_t with elf_gregset64_t. (elf_prstatus64): New. (elf_prpsinfo64): New. (prstatus64_t, prpsinfo64_t): New typedef.
2012-10-29gold/Cary Coutant2-12/+51
* dwp.cc (usage): Add file and exit status parameters; add --help and --version options. (print_version): New function. (main): Add --help and --version options.
2012-10-29daily updateAlan Modra1-1/+1
2012-10-29* elf32-xgate.c(elf_xgate_howto_table): Fix src and dest mask forSean Keys2-2/+7
R_XGATE_16
2012-10-29 * sb.c (sb_check): Use __builtin_clzll when size_t is not theAlan Modra2-1/+9
same size as long.
2012-10-29binutils/Alan Modra8-21/+35
* dlltool.c (INIT_SEC_DATA): Move. (secdata <DLLTOOL_PPC>): Use here too. binutils/testsuite/ * binutils-all/copy-3.d: Exclude all cygwin and mingw targets, and rs6000. gas/ * config/tc-ppc.c (ppc_znop): Remove unused vars. ld/ * configure.tgt (powerpcle-pe,winnt,cygwin): Add deffilep.o and pe-dll.o.
2012-10-29 * elf32-ppc.c (ppc_elf_howto_raw): Correct dst_mask inAlan Modra2-7/+14
R_PPC_VLE_LO16A, R_PPC_VLE_HI16A, R_PPC_VLE_HA16A, R_PPC_VLE_SDAREL_LO16A, R_PPC_VLE_SDAREL_HI16A, R_PPC_VLE_SDAREL_HA16A reloc howtos.
2012-10-29 * ld-powerpc/powerpc.exp: Modify emulation option passed to ldAlan Modra51-680/+755
when little-endian. * ld-powerpc/apuinfo-nul.rd: Update for le output. * ld-powerpc/apuinfo.rd: Likewise. * ld-powerpc/plt1.d: Likewise. * ld-powerpc/relax.d: Likewise. * ld-powerpc/relaxr.d: Likewise. * ld-powerpc/sdadyn.d: Likewise. * ld-powerpc/tls.d: Likewise. * ld-powerpc/tls.g: Likewise. * ld-powerpc/tls.t: Likewise. * ld-powerpc/tls32.d: Likewise. * ld-powerpc/tls32.g: Likewise. * ld-powerpc/tls32.t: Likewise. * ld-powerpc/tlsexe.d: Likewise. * ld-powerpc/tlsexe.g: Likewise. * ld-powerpc/tlsexe.r: Likewise. * ld-powerpc/tlsexe.t: Likewise. * ld-powerpc/tlsexe32.d: Likewise. * ld-powerpc/tlsexe32.g: Likewise. * ld-powerpc/tlsexe32.r: Likewise. * ld-powerpc/tlsexe32.t: Likewise. * ld-powerpc/tlsexetoc.d: Likewise. * ld-powerpc/tlsexetoc.g: Likewise. * ld-powerpc/tlsexetoc.r: Likewise. * ld-powerpc/tlsexetoc.t: Likewise. * ld-powerpc/tlsmark.d: Likewise. * ld-powerpc/tlsmark32.d: Likewise. * ld-powerpc/tlsopt1.d: Likewise. * ld-powerpc/tlsopt1_32.d: Likewise. * ld-powerpc/tlsopt2.d: Likewise. * ld-powerpc/tlsopt2_32.d: Likewise. * ld-powerpc/tlsopt3.d: Likewise. * ld-powerpc/tlsopt3_32.d: Likewise. * ld-powerpc/tlsopt4.d: Likewise. * ld-powerpc/tlsopt4_32.d: Likewise. * ld-powerpc/tlsso.d: Likewise. * ld-powerpc/tlsso.g: Likewise. * ld-powerpc/tlsso.r: Likewise. * ld-powerpc/tlsso.t: Likewise. * ld-powerpc/tlsso32.d: Likewise. * ld-powerpc/tlsso32.g: Likewise. * ld-powerpc/tlsso32.r: Likewise. * ld-powerpc/tlsso32.t: Likewise. * ld-powerpc/tlstoc.d: Likewise. * ld-powerpc/tlstoc.g: Likewise. * ld-powerpc/tlstoc.t: Likewise. * ld-powerpc/tlstocso.d: Likewise. * ld-powerpc/tlstocso.g: Likewise. * ld-powerpc/tlstocso.t: Likewise. * ld-powerpc/tocopt.out: Likewise.
2012-10-29 * gas/cfi/cfi.exp: Remove redundant ppc test. ExcludeAlan Modra62-2815/+2935
powerpc-pe targets from cfi-common-6 test. * gas/cfi/cfi-ppc-1.d: Use objdump to handle pe. * gas/cfi/cfi-ppc-1.s: Don't use .type and .size. * gas/ppc/ppc.exp: Exclude various tests for powerpc-pe. Exclude vle tests for le targets. * gas/ppc/476.d, * gas/ppc/476.s: Update for le output. Use .text rather than section directive with quotes. * gas/ppc/a2.d, * gas/ppc/a2.s: Likewise. * gas/ppc/altivec.d, * gas/ppc/altivec.s: Likewise. * gas/ppc/altivec2.d: Likewise. * gas/ppc/altivec_and_spe.d: Likewise. * gas/ppc/astest.d: Likewise. * gas/ppc/astest2.d: Likewise. * gas/ppc/astest2_64.d: Likewise. * gas/ppc/astest64.d: Likewise. * gas/ppc/booke.d, * gas/ppc/booke.s: Likewise. * gas/ppc/cell.d, * gas/ppc/cell.s: Likewise. * gas/ppc/common.d, * gas/ppc/common.s: Likewise. * gas/ppc/e500.d, * gas/ppc/e500.s: Likewise. * gas/ppc/e500mc.d, * gas/ppc/e500mc.s: Likewise. * gas/ppc/e500mc64_nop.d, * gas/ppc/e500mc64_nop.s: Likewise. * gas/ppc/e5500_nop.d, * gas/ppc/e5500_nop.s: Likewise. * gas/ppc/e6500.d, * gas/ppc/e6500.s: Likewise. * gas/ppc/e6500_nop.d, * gas/ppc/e6500_nop.s: Likewise. * gas/ppc/machine.d: Likewise. * gas/ppc/power4.d, * gas/ppc/power4.s: Likewise. * gas/ppc/power4_32.d, * gas/ppc/power4_32.s: Likewise. * gas/ppc/power6.d, * gas/ppc/power6.s: Likewise. * gas/ppc/power7.d, * gas/ppc/power7.s: Likewise. * gas/ppc/ppc750ps.d, * gas/ppc/ppc750ps.s: Likewise. * gas/ppc/regnames.d: Likewise. * gas/ppc/simpshft.d: Likewise. * gas/ppc/test1elf32.d: Likewise. * gas/ppc/test1elf64.d: Likewise. * gas/ppc/titan.d, * gas/ppc/titan.s: Likewise. * gas/ppc/vle-reloc.s: Likewise. * gas/ppc/vle-simple-1.s: Likewise. * gas/ppc/vle-simple-2.s: Likewise. * gas/ppc/vle-simple-3.s: Likewise. * gas/ppc/vle-simple-4.s: Likewise. * gas/ppc/vle-simple-5.s: Likewise. * gas/ppc/vle-simple-6.s: Likewise. * gas/ppc/vle.s: Likewise. * gas/ppc/vsx.d, * gas/ppc/vsx.s: Likewise.
2012-10-28daily updateAlan Modra1-1/+1
2012-10-27daily updateAlan Modra1-1/+1
2012-10-27gas/testsuite:Iain Sandoe2-1/+8
2012-10-27 James Lemke <jwlemke@codesourcery.com> * gas/m68k/all.exp: Exclude pr11676 for fido-*-*.
2012-10-26daily updateAlan Modra1-1/+1
2012-10-26 * po/hr.po: New Croation translation.Nick Clifton6-112/+8004
* configure.in (ALL_LINGUAS): Add hr. * configure: Regenerate. * po/uk.po: Updated Ukranian translation.
2012-10-26 * dwarf2.h (DW_AT_APPLE_optimized, DW_AT_APPLE_flags)Nick Clifton2-0/+24
(DW_AT_APPLE_isa, DW_AT_APPLE_block) (DW_AT_APPLE_major_runtime_vers, DW_AT_APPLE_runtime_class) (DW_AT_APPLE_omit_frame_ptr, DW_AT_APPLE_property_name) (DW_AT_APPLE_property_getter, DW_AT_APPLE_property_setter) (DW_AT_APPLE_property_attribute, DW_AT_APPLE_objc_complete_type) (DW_AT_APPLE_property, DW_OP_GNU_entry_value): New macros.
2012-10-262012-10-26 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel14-678/+744
* s390-mkopc.c: Accept empty lines in s390-opc.txt. * s390-opc.c: Add M_20OPT field. New instruction formats RRF_RURR2 and RRF_RMRR. * s390-opc.txt: Add new instructions. New instruction type for lptea. 2012-10-26 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gas/testsuite/gas/s390/zarch-z10.d: Refreshed. * gas/testsuite/gas/s390/zarch-z10.s: Refreshed. * gas/testsuite/gas/s390/zarch-z196.d: Refreshed. * gas/testsuite/gas/s390/zarch-z196.s: Refreshed. * gas/testsuite/gas/s390/zarch-z9-109.d: Refreshed. * gas/testsuite/gas/s390/zarch-z990.d: Refreshed. * gas/testsuite/gas/s390/zarch-z990.s: Refreshed. * gas/testsuite/gas/s390/zarch-zEC12.d: Refreshed. * gas/testsuite/gas/s390/zarch-zEC12.s: Refreshed.
2012-10-26gas/testsuite:Christian Groessler7-61/+101
* gas/z8k/z8k.exp: Run translate-ops test. * gas/z8k/translate-ops.s: New file. * gas/z8k/translate-ops.d: New file. opcodes: * z8kgen.c (struct op): Fix encoding for translate opcodes (trdb, trdrb, trib, trirb, trtdb, trtdrb, trtib, trtirb). Remove non-existing opcode trtrb. * z8k-opc.h: Regenerate.
2012-10-26 PR target/14758Alan Modra4-3/+93
bfd/ * elf32-ppc.c (ppc_elf_reloc_type_lookup): Decode ppc64 _DS bfd_reloc values. Map to corresponding D-form relocs. (is_insn_ds_form, is_insn_qs_form): New functions. (ppc_elf_relocate_section): Validate insn with DS-form or DQ-form fields using D-form reloc. gas/ * config/tc-ppc.c (ppc_setup_opcodes): Fix comment. (md_assemble): Translate to _DS relocs for ppc32 as well as ppc64. (tc_gen_reloc): Handle _DS relocs in ppc32 mode.
2012-10-26 * gas/ppc/power4.s: Fix invalid lq offsets.Alan Modra3-92/+81
* gas/ppc/power4.d: Update.
2012-10-26 * ppc-opc (powerpc_opcodes): "lfdp" and "stfdp" use DS offset.Alan Modra2-2/+6
2012-10-26Add final_layout_sequence.txt to MOSTLYCLEANFILESH.J. Lu3-1/+8
* testsuite/Makefile.am (MOSTLYCLEANFILES): Add final_layout_sequence.txt. * testsuite/Makefile.in: Regenerated.
2012-10-25daily updateAlan Modra1-1/+1
2012-10-25Strip out -Wp,-D_FORTIFY_SOURCE= for gold testsH.J. Lu3-7/+54
* testsuite/Makefile.am (COMPILE1): New variable. Renamed from COMPILE generated by automake. (LINK1): Likewise. (CXXCOMPILE1): Likewise. (CXXLINK1): Likewise. (COMPILE): Strip out -Wp,-D_FORTIFY_SOURCE= from COMPILE1. (LINK): Likewise. (CXXCOMPILE): Likewise. (CXXLINK): Likewise. * testsuite/Makefile.in: Regenerated.
2012-10-25Issue a fatal error on bad fwrite returnH.J. Lu2-1/+8
* dwp.cc (Dwo_file::record_target_info): Issue a fatal error on bad fwrite return.
2012-10-25Use section_offset_type in remap_str_offsetH.J. Lu2-2/+7
* dwp.cc (Dwo_file::remap_str_offset): Use section_offset_type on val.
2012-10-25Replace _GLOBAL_OFFSET_TABLE_ lookup with htab->elf.hgotH.J. Lu3-14/+10
* elf32-i386.c (elf_i386_size_dynamic_sections): Replace _GLOBAL_OFFSET_TABLE_ lookup with htab->elf.hgot. * elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Likewise.
2012-10-25Remove address check if HIDDEN_UNDEF_TEST is definedH.J. Lu2-2/+9
* ld-elfvsb/main.c (main_visibility_checkcom): Remove address check for visibility_def if HIDDEN_UNDEF_TEST is defined. (main_visibility_checkweak): Remove address check for visibility_func if HIDDEN_UNDEF_TEST is defined.
2012-10-24 * ld-scripts/empty-aligned.d: Revert last change. Allow moreAlan Modra3-8/+10
than one header, just not two PT_LOAD. * ld-elf/stack.s: Use .long 0 rather than nops.
2012-10-24daily updateAlan Modra1-1/+1
2012-10-24gas/testsuite/Roland McGrath6-58/+80
* gas/i386/rex.s: Add test of REX prefix before fsave (i.e. fwait). * gas/i386/rex.d: Update. opcodes/ * i386-dis.c (ckprefix): When bailing out for fwait with prefixes, set rex_used to rex.
2012-10-24Don't decompress the section in bfd_is_section_compressedH.J. Lu2-2/+16
* compress.c (bfd_is_section_compressed): Don't decompress the section.
2012-10-24 * configure.ac (FLAGS_FOR_TARGET,target=cygwin): Fix for buildingCorinna Vinschen3-2/+8
against Mingw64 w32api. * configure: Regenerate.
2012-10-24Don't set bfdtest1 with findfileH.J. Lu2-1/+5
* binutils-all/ar.exp (bfdtest1): Remove findfile.
2012-10-24Move disable_target_specific_optimizations to bfd_link_infoH.J. Lu6-25/+54
include/ * bfdlink.h (bfd_link_info): Add disable_target_specific_optimizations. ld/ * ld.h (command_line): Remove disable_target_specific_optimizations. (RELAXATION_DISABLED_BY_DEFAULT): Removed. (RELAXATION_DISABLED_BY_USER): Likewise. (RELAXATION_ENABLED): Likewise. (DISABLE_RELAXATION): Likewise. (ENABLE_RELAXATION): Likewise. * ldmain.c (main): Updated. * ldmain.h (RELAXATION_DISABLED_BY_DEFAULT): New macro. (RELAXATION_DISABLED_BY_USER): Likewise. (RELAXATION_ENABLED): Likewise. (DISABLE_RELAXATION): Likewise. (ENABLE_RELAXATION): Likewise.
2012-10-24gold/Cary Coutant14-2/+7091
* testsuite/Makefile.am (TEST_OBJCOPY): New macro. * testsuite/Makefile.in: Regenerate. * testsuite/dwp_test.h: New source file. * testsuite/dwp_test_1.cc: New source file. * testsuite/dwp_test_1.s: New source file. * testsuite/dwp_test_1.sh: New source file. * testsuite/dwp_test_1b.cc: New source file. * testsuite/dwp_test_1b.s: New source file. * testsuite/dwp_test_2.cc: New source file. * testsuite/dwp_test_2.s: New source file. * testsuite/dwp_test_2.sh: New source file. * testsuite/dwp_test_main.cc: New source file. * testsuite/dwp_test_main.s: New source file.
2012-10-24gold/Cary Coutant7-153/+2451
* dwp.h: New header file. * dwp.cc: New source file. * gold.h: Move shared declarations to system.h. * system.h: New header file. * Makefile.am: Add dwp. * Makefile.in: Regenerate.
2012-10-24binutils/Cary Coutant5-50/+326
* dwarf.c (do_debug_addr, do_debug_cu_index): New global flags. (load_debug_info): Fix typo. (cu_tu_indexes_read, shndx_pool, shndx_pool_size, shndx_pool_used): New global variables. (prealloc_cu_tu_list, add_shndx_to_cu_tu_entry, end_cu_tu_entry) (process_cu_tu_index, load_cu_tu_indexes, find_cu_tu_set) (display_cu_index): New functions. (dwarf_select_sections_by_names): Add "debug_addr", "cu_index". Sort entries alphabetically. (dwarf_select_sections_all): Set do_debug_addr, do_debug_cu_index. (debug_displays): Add .debug_cu_index, .debug_tu_index. Clean up formatting. * dwarf.h (dwarf_section_display_enum): Add dwp_cu_index, dwp_tu_index. (do_debug_addr, do_debug_cu_index): New global flags. (find_cu_tu_set): New function declaration. * objdump.c (usage): Add --dwarf=addr, --dwarf=cu_index. * readelf.c (find_section_in_set): New function. (usage): Add --debug-dump=addr, --debug_dump=cu_index. (process_section_headers): Check do_debug_addr and do_debug_cu_index. (section_subset): New global variable. (load_debug_section): Restrict search to section subset. (display_debug_section): Add section index as paramter. Select subset of sections when dumping a .dwp file. Update caller.
2012-10-23 PR bootstrap/54820Eric Botcazou3-1/+15
* configure.ac (have_static_libs): Force 'no' for GCC version < 4.5. * configure: Regenerate.
2012-10-23daily updateAlan Modra1-1/+1
2012-10-23gold/Cary Coutant4-36/+101
* dwarf_reader.cc (Dwarf_ranges_table::read_range_list): Call Dwarf_info_reader::read_from_pointer. (Dwarf_pubnames_table::read_header): Likewise. (Dwarf_pubnames_table::next_name): Likewise. (Dwarf_die::read_attributes): Likewise. (Dwarf_die::skip_attributes): Likewise. (Dwarf_info_reader::read_from_pointer): New function template. * dwarf_reader.h (Dwarf_ranges_table): Add dwinfo_. (Dwarf_pubnames_table): Likewise. (Dwarf_info_reader::read_from_pointer): New function template. * gdb-index.cc (Gdb_index_info_reader): Adjust call to Dwarf_pubnames_table ctor.
2012-10-23gold/Cary Coutant3-7/+25
* dwarf_reader.cc (Dwarf_info_reader::do_parse): Use stored abbrev_shndx. * dwarf_reader.h (Dwarf_info_reader::Dwarf_info_reader): Initialize abbrev_shndx_. (Dwarf_info_reader::set_abbrev_shndx): New method. (Dwarf_info_reader::abbrev_shndx_): New data member.
2012-10-23gold/Cary Coutant3-41/+90
* dwarf_reader.cc (make_elf_reloc_mapper): Check size and endianness from object, not parameters. (Dwarf_info_reader::parse): Likewise. * object.h (Relobj::elfsize, Relobj::is_big_endian): New methods. (Relobj::do_elfsize, Relobj::do_is_big_endian): New methods. (Sized_relobj::do_elfsize, Sized_relobj::do_is_big_endian): New methods.
2012-10-23gold/Cary Coutant3-0/+18
* fileread.cc (Input_file::Input_file): New constructor. * fileread.h (class Input_file): Add new constructor.
2012-10-23binutilsTom Tromey4-0/+104
* readelf.c (get_note_type): Handle NT_SIGINFO, NT_FILE. (print_core_note): New function. (process_note): Call it. include/common/elf * common.h (NT_SIGINFO, NT_FILE): New defines.
2012-10-23 bfd/Nathan Sidwell39-606/+295
* bfd-in.h (bfd_elf_stack_segment_size): Declare. * bfd-in2.h: Rebuilt. * elfxx-target.h (elf_backend_stack_align): New. (elfNN_bed): Add it. * elf-bfd.h (struct elf_backend_data): Add stack_align field. * elf.c (bfd_elf_map_sections_to_segments): Pay attention to stack_align and stacksize for PT_GNU_STACK segment. (assign_file_positions_for_non_load_sections): Set p_memsz for PT_GNU_STACK segment. (copy_elf_program_header): Copy PT_GNU_STACK size. * elflink.c (bfd_elf_stack_segment_size): New function, taken from uclinux backends. (bfd_elf_size_dynamic_sections): Determine PT_GNU_STACK requirements after calling backend. Pay attention to stacksize. * elf32-bfin.c (elf32_bfinfdpic_always_size_sections): Call bfd_elf_stack_segment_size. (elf32_bfinfdpic_modify_program_headers): Delete. (elf32_bfingfdpic_copy_private_bfd_data): Don't copy PT_GNU_STACK here. (elf_backend_stack_align): Override. (elf_backend_modify_program_headers): Don't override. * elf32-frv.c (frvfdpic_always_size_sections): Call bfd_elf_stack_segment_size. (elf32_frvfdpic_modify_program_headers): Delete. (elf32_frvfdpic_copy_private_bfd_data): Don't copy PT_GNU_STACK here. (elf_backend_stack_align): Override. (elf_backend_modify_program_headers): Don't override. * elf32-lm32.c (lm32_elf_always_size_sections): Leave PT_GNU_STACK creation to underlying elf support. Check __stacksize here for backwards compatibility, and set it if needed. (lm32_elf_modify_segment_map): Delete. (lm32_elf_modify_program_headers): Delete. (elf_backend_stack_align): Override. (elf_backend_modify_segment_map): Don't override. (elf_backend_modify_program_headers): Don't override. * elf32-sh.c (sh_elf_always_size_sections): Call bfd_elf_stack_segment_size. (sh_elf_modify_program_headers): Delete. (sh_elf_copy_private_data): Don't copy PT_GNU_STACK here. (elf_backend_stack_align): Override. (elf_backend_modify_program_headers): Don't override. * elf32-tic6x.c (elf32_tic6x_always_size_sections): Call bfd_elf_stack_segment_size. (elf32_tic6x_modify_program_headers): Delete. (elf32_tic6x_copy_private_data): Delete. (elf_backend_stack_align): Override. (bfd_elf32_bfd_copy_private_bfd_data): Don't override. (elf_backend_modify_program_headers): Don't override. include/ * bfdlink.h (struct bfd_link_info): Add stacksize option. ld/ * ld.texinfo (stack-size): New option. * emultempl/elf32.em: Add stack-size option. ld/testsuite/ * ld-elf/binutils.exp: Add -z stack-size=0. * ld-elf/elf.exp: Add stack-exec and stack-size tests. * ld-elf/orphan-region.d: Add stack-size option. Remove xfail. * ld-elf/stack-exec.rd: New. * ld-elf/stack-size.rd: New. * ld-elf/stack.s: New. * ld-scripts/empty-aligned.d: Add stack-size option. * ld-sh/fdpic-stack-set.d: New. * ld-tic6x/shlib-1.rd: Remove __stacksize symbol. * ld-tic6x/shlib-1b.rd: Likewise. * ld-tic6x/shlib-1r.rd: Likewise. * ld-tic6x/shlib-1rb.rd: Likewise. * ld-tic6x/shlib-app-1.rd: Likewise. * ld-tic6x/shlib-app-1b.rd: Likewise. * ld-tic6x/shlib-app-1r.rd: Likewise. * ld-tic6x/shlib-app-1rb.rd: Likewise. * ld-tic6x/shlib-noindex.rd: Likewise. * ld-tic6x/static-app-1.rd: Likewise. * ld-tic6x/static-app-1b.rd: Likewise. * ld-tic6x/static-app-1r.rd: Likewise. * ld-tic6x/static-app-1rb.rd: Likewise.
2012-10-22daily updateAlan Modra1-1/+1
2012-10-22opcodes/Peter Bergner4-2/+10
* ppc-opc.c (powerpc_opcodes) <vcfpsxws>: Fix opcode spelling. gas/testsuite/ * gas/ppc/altivec.s <vcfpsxws>: Fix opcode spelling.
2012-10-22include/Alan Modra7-20/+57
PR ld/14426 * bfdlink.h (bfd_link_info): Add ignore_hash. ld/ PR ld/14426 * ldlex.h (option_values): Add OPTION_IGNORE_UNRESOLVED_SYMBOL. * lexsup.c (parse_args): Likewise. (ld_options): Describe --ignore-unresolved-symbol. * ldmain.h (add_ignoresym): Declare. * ldmain.c (add_ignoresym): New function, extracted from.. (undefined_symbol): ..here. Return if the symbol is in ignore_hash. (constructor_callback): Don't use global link_info here. (reloc_overflow): Likewise.
2012-10-22 * as.c (dump_statistics): Compute data size as the delta betweensimonb2-1/+13
current sbrk(0) and start_sbrk. * (main): Set start_sbrk to sbrk(0) on entry.
2012-10-22 PR bootstrap/54820Eric Botcazou5-498/+428
* Makefile.tpl (STAGE1_FLAGS_TO_PASS): New variable. (all-[+prefix+][+module+]): Pass stage1_args to sub-makes. (all-stage[+id+]-[+prefix+][+module+]): Likewise, if prev is false. (clean-stage[+id+]-[+prefix+][+module+]): Likewise, if prev is false. (host_modules): Set stage1_args to STAGE1_FLAGS_TO_PASS. * Makefile.in: Regenerate. * configure.ac (have_static_libs): New variable and associated check. (stage1-ldflags): Move to after stage1_libs and set to -static-libstdc++ -static-libgcc if stage1_libs is empty and have_static_libs is yes. * configure: Regenerate.
2012-10-22 * plugin.c (plugin_load_plugins): Warning fix.Alan Modra2-2/+8
2012-10-22 * cache.c (cache_bmmap): Don't use void* arithmetic.Alan Modra2-1/+5
2012-10-21daily updateAlan Modra1-1/+1
2012-10-21Update binutils-all/dw2-1.WH.J. Lu2-8/+11
* binutils-all/dw2-1.W: Updated.
2012-10-21Handle x32 in dump_dwarfH.J. Lu2-0/+7
* objdump.c (dump_dwarf): Handle bfd_mach_x64_32 and bfd_mach_x64_32_intel_syntax.
2012-10-21bfd/Alan Modra5-7/+37
* compress.c (bfd_cache_section_contents): New function. * bfd-in2.h: Regenerate. binutils/ * objdump.c (load_specific_debug_section): Use bfd_cache_section_contents.
2012-10-21Correct last entryHans-Peter Nilsson1-1/+1
2012-10-21 * linker.c (_bfd_generic_link_output_symbols): Handle aHans-Peter Nilsson2-0/+11
no-longer-global symbol entered as a BFD_PLUGIN.
2012-10-20daily updateAlan Modra1-1/+1
2012-10-20Add an objdump test on compress debug sectionsH.J. Lu3-9/+130
* binutils-all/compress.exp: Add an objdump test. * binutils-all/dw2-1.W: New file.
2012-10-20 * compress.c: Reinstate 2012-10-19 change.Alan Modra2-20/+23
(bfd_get_full_section_contents): Don't free unless we alloc. Use proper decompress size. Delete some vars, rename others.
2012-10-19daily updateAlan Modra1-1/+1
2012-10-19 * compress.c: Revert previous patch.Tom Tromey2-7/+12
2012-10-19 * compress.c (bfd_get_full_section_contents): Don't cacheTom Tromey2-8/+12
decompressed contents.
2012-10-18daily updateAlan Modra1-1/+1
2012-10-18Add missed file on my last commitKai Tietz1-0/+2
2012-10-18ChangeLog bfdKai Tietz18-20/+306
2012-10-18 Kai Tietz <ktietz@redhat.com> PR binutils/14067 * coff-i386.c (bfd_target): Add section flag SEC_EXCLUDE. Allow BFD_COMPRESS and BFD_DECOMPRESS flags. * coff-x86_64.c: Likewise. * coffcode.h (DOT_ZDEBUG): New define. (sec_to_styp_flags): Check for .zdebug. (styp_to_sec_flags): Likewise. * coffgen.c (make_a_section): Handle .debug_* section compression/decompression flags. * cofflink.c (mark_relocs): Ignore relocations for a section, which isn't marked as used. (_bfd_coff_link_input_bfd): Add support of compressed debug sections. * compress.c (decompress_contents): Loop as long as there is input available and there is room for output. * bfd/pe-arm.c: Add .zdebug_ partial match entry. * pe-i386.c: Likewise. * pe-x86_64.c: Likewise. * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't clear all data-directories as this might destroy content. * coff-i386.c (_bfd_generic_find_nearest_line_discriminator): define as coff_find_nearest_line_discriminator. * libcoff-in.h (coff_find_nearest_line_discriminator): New * libcoff.h: Regenerated. * coff-x86_64.c: Likewise. * coffgen.c (coff_find_nearest_line_discriminator): New function. prototype. ChangeLog binutils 2012-10-18 Kai Tietz <ktietz@redhat.com> * objdump.c (dump_bfd): Call dump headers after call of slurp_symtab. ChangeLog ld 2012-10-18 Kai Tietz <ktietz@redhat.com> PR binutils/14067 * NEWS: Menition new feature. * scripttempl/pep.sc: Add zdebug sections. * scripttempl/pe.sc: L
2012-10-18 * objcopy.c (is_strip_section_1): Don't stripKai Tietz2-2/+13
.reloc section by default.
2012-10-18 * config/obj-coff.c: Add include of struc-symbol.h header.Kai Tietz2-2/+10
(coff_frob_symbol): Check that function-aux entries are generated for defined symbols only.
2012-10-18 * tic54x-dis.c (print_instruction): Don't use K&R style.Tom Tromey2-38/+37
(print_parallel_instruction, sprint_dual_address) (sprint_indirect_address, sprint_direct_address, sprint_mmr) (sprint_cc2, sprint_condition): Likewise.
2012-10-18 * aarch64-asm.c (aarch64_ins_ldst_reglist): InitializeKai Tietz3-7/+16
value with a default. (do_special_encoding): Likewise. (aarch64_ins_ldst_elemlist): Pre-initialize QSsize, and opcodeh2 variables with default. * arc-dis.c (write_comments_): Don't use strncat due size of state->commentBuffer pointer isn't predictable.
2012-10-18 * doc/as.texinfo: Add missing documentation about section flagKai Tietz2-0/+7
exclude.
2012-10-18 PR gold/14727Alan Modra2-1/+9
* object.cc (Relobj::is_section_name_included): Also match .sdata personality section.
2012-10-18 * target-reloc.h (class Default_comdat_behavior): New, package up..Alan Modra8-63/+80
(get_comdat_behaviour): ..this. (relocate_section): Add Relocate_comdat_behavior template arg, adjust code to suit. * arm.cc (Target_arm::relocate_section): Adjust to suit. (Target_arm::scan_reloc_section): Likewise. * i386.cc (Target_i386::relocate_section): Likewise. * sparc.cc (Target_sparc::relocate_section): Likewise. * tilegx.cc (Target_tilegx::relocate_section): Likewise. * x86_64.cc (Target_x86_64::relocate_section): Likewise. * powerpc.cc (class Relocate_comdat_behavior): New. (Target_powerpc::relocate_section): Don't zap opd relocs. Supply gold::relocate_section with new template arg.
2012-10-17daily updateAlan Modra1-1/+1
2012-10-17 * powerpc.cc (Target_powerpc::Scan::local, global): Always emitAlan Modra2-21/+79
dynamic relocs for GOT_TPREL got entries, without symbol if resolving locally. (Target_powerpc::do_gc_add_reference): Don't add for dynamic objects. (Target_powerpc::scan_relocs): Define _GLOBAL_OFFSET_TABLE_ early. (Target_powerpc::Relocate:relocate): REL32 reloc may be unaligned.
2012-10-17 PR gold/14726Alan Modra2-3/+14
* gold.cc (queue_middle_tasks): Call gc_mark_symbol on _init and _fini.
2012-10-16daily updateAlan Modra1-1/+1
2012-10-16Add missing ChangeLog entry for previous commit:Joel Brobecker1-0/+6
2012-10-16 Joel Brobecker <brobecker@adacore.com> * coff64-rs6000.c (rs6000coff64_vec): Set _close_and_cleanup field to _bfd_archive_close_and_cleanup. (aix5coff64_vec): Likewise.
2012-10-16dangling pointer in coff64-rs6000 archive cache.Joel Brobecker1-2/+2
bfd/ChangeLog: * coff64-rs6000.c (rs6000coff64_vec): Set _close_and_cleanup field to _bfd_archive_close_and_cleanup. (aix5coff64_vec): Likewise.
2012-10-16Dangling bfd pointer in archive cache.Joel Brobecker2-2/+8
This dandling pointer eventually leads to a crash when trying to run on ppc-aix a program using threading... bfd/ChangeLog: * coff-rs6000.c (rs6000coff_vec): Set _close_and_cleanup field to _bfd_archive_close_and_cleanup. (pmac_xcoff_vec): Likewise.
2012-10-162012-10-16 Sriraman Tallam <tmsriram@google.com>Sriraman Tallam2-1/+7
* layout.cc (Layout::include_section): Keep sections marked SHF_EXCLUDE when doing relocatable links.
2012-10-16 Fixed AArch64 TLS relocation resolution.yufeng6-8/+54
bfd/ * elf64-aarch64.c (elf64_aarch64_tls_howto_table): Fix shift value for R_AARCH64_TLSIE_LD_GOTTPREL_PREL19, R_AARCH64_TLSLE_MOVW_TPREL_G2, R_AARCH64_TLSLE_MOVW_TPREL_G1, R_AARCH64_TLSLE_MOVW_TPREL_G1_NC, R_AARCH64_TLSLE_ADD_TPREL_HI12. (elf64_aarch64_tlsdesc_howto_table): Fix shift value for R_AARCH64_TLSDESC_LD64_PREL19 and R_AARCH64_TLSDESC_OFF_G1. (elf64_aarch64_final_link_relocate): Add signed_addend when resolving AARCH64_TLSLE_*_TPREL_* relocations. ld/testsuite/ * ld-aarch64/tlsle-symbol-offset.s: New file. * ld-aarch64/tlsle-symbol-offset.d: New file. * ld-aarch64/aarch64-elf.exp: Add tlsle-symbol-offset test.
2012-10-16 * elf32-xtensa.c (free_section_cache): Renamed fromAlan Modra2-6/+13
clear_section_cache. Don't zero cache. (section_cache_section): Remove ineffectual zero of cache. Call init_section_cache instead.
2012-10-16 * powerpc.cc (Target_powerpc::define_save_restore_funcs): New func.Alan Modra2-0/+371
(Target_powerpc::do_finalize_sections): Call it. (Output_data_save_res): New class and supporting functions. (Target_powerpc::symval_for_branch): Only look up .opd entry for normal symbols defined in object files.
2012-10-15daily updateAlan Modra1-1/+1
2012-10-15 * elf.c (special_sections_d): Add comment.Doug Evans2-0/+7
2012-10-15Updated the system register table.yufeng7-4/+30
opcodes/ * aarch64-opc.c (aarch64_sys_regs): Add rmr_el1, rmr_el2 and rmr_el3; remove daifset and daifclr. gas/testsuite/ * gas/aarch64/sysreg-1.s: Add tests of rmr_el1, rmr_el2 and rmr_el3. * gas/aarch64/sysreg-1.d: Update. * gas/aarch64/illegal.s: Add tests of daifset and daifclr. * gas/aarch64/illegal.d: Update.
2012-10-15Added the changelog for the previous commit.yufeng2-0/+11
2012-10-15Added missing alignment check to load/store uimm12 immediate offset.yufeng3-1/+4
opcodes/ * aarch64-opc.c (operand_general_constraint_met_p): Change to check the alignment of addr.offset.imm instead of that of shifter.amount for operand type AARCH64_OPND_ADDR_UIMM12. gas/testsuite/ * gas/aarch64/illegal-2.s: Add test case. * gas/aarch64/illegal-2.l: Likewise.
2012-10-15 * hppa.h (pa_opcodes): Use "cX" completer instead of "cx" in fstqxDave Anglin2-4/+9
opcodes. Likewise, use "cM" instead of "cm" in fstqs opcodes.
2012-10-14 * config/tc-hppa.c (pa_get_number): New.Dave Anglin2-43/+52
(pa_get_absolute_expression): Simplify. (pa_ip): Use pa_get_number instead of pa_get_absolute_expression to get SOP, SFU and COPR identifiers.
2012-10-14 * config/tc-hppa.c (pa_ip): Reject double floating point stores andDave Anglin2-1/+9
loads that reference the right half of a floating point register.
2012-10-14 * gas/hppa/basic/fmemLRbug.s: Remove double load and store instructionsDave Anglin3-56/+46
which reference the right half of a floating point register. * gas/hppa/basic/basic.exp: Adjust expected results.
2012-10-14daily updateAlan Modra1-1/+1
2012-10-13daily updateAlan Modra1-1/+1
2012-10-13 * config/tc-hppa.c (pa_ip): Limit unit conditions for uxor to thoseDave Anglin2-8/+17
not involving a carry.
2012-10-13 * gas/hppa/basic/unit.s: Remove uxor instructions with unit conditionDave Anglin4-92/+75
involving a carry. * gas/hppa/basic/unit2.s: Likewise. * gas/hppa/basic/basic.exp: Adjusted expected.
2012-10-13Replace -ldl with @lt_cv_dlopen_libs@H.J. Lu5-4/+15
* Makefile.am (LIBDL): Replace -ldl with @lt_cv_dlopen_libs@. * configure.in (lt_cv_dlopen_libs): AC_SUBST. * Makefile.in: Regenerated. * configure: Likewise.
2012-10-12daily updateAlan Modra1-1/+1
2012-10-12gas/Peter Bergner2-2/+6
* doc/as.texinfo (-mpwr4, -mpwr7): Fix option name typos.
2012-10-12 * powerpc.cc (Powerpc_relobj::add_gc_mark, process_gc_mark): New.Alan Modra2-3/+40
(struct Opd_ent): Make "discard" a bit field. Add "gc_mark". (Target_powerpc::do_gc_mark_symbol): Delay marking function code section if scan_opd_relocs not yet called. (Target_powerpc::gc_process_relocs): Call process_gc_mark.
2012-10-12 * powerpc.cc (Output_data_plt_powerpc::add_entry, add_ifunc_entry,Alan Modra2-18/+17
add_local_ifunc_entry): Revert last change. (Target_powerpc::make_plt_entry, make_local_ifunc_plt_entry): Likewise.
2012-10-11daily updateAlan Modra1-1/+1
2012-10-11config.{guess,sub}: update from upstream config-patches repoMike Frysinger3-31/+64
From: David Holsgrove <david.holsgrove@xilinx.com> Adds microblaze little endian support. Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-10-112012-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>Richard Earnshaw7-109/+122
* arm-dis.c: Use preferred form of vrint instruction variants for disassembly. 2012-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * gas/arm/armv8-a+fp.d: Use preferred form of vrint instruction variants for disassembly. * gas/arm/armv8-a+fp.s: Likewise. * gas/arm/armv8-a+simd.d: Likewise. * gas/arm/armv8-a+simd.s: Likewise.