2018-11-07 01:38:33 +08:00
|
|
|
|
2018-11-06 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* doc/binutils.texi: Document --enable-x86-feature and
|
|
|
|
|
--disable-x86-feature options for elfedit.
|
|
|
|
|
* elfedit.c: Include "config.h" and <sys/mman.h>.
|
|
|
|
|
(enable_x86_features): New.
|
|
|
|
|
(disable_x86_features): Likewise.
|
|
|
|
|
(update_gnu_property): Likewise.
|
|
|
|
|
(elf_x86_feature): Likewise.
|
|
|
|
|
(process_file): Call update_gnu_property on ET_EXEC or ET_DYN
|
|
|
|
|
file.
|
|
|
|
|
(command_line_switch): Add OPTION_ENABLE_X86_FEATURE and
|
|
|
|
|
OPTION_DISABLE_X86_FEATURE.
|
|
|
|
|
(options): Add--enable-x86-feature and --disable-x86-feature.
|
|
|
|
|
(usage): Likewise.
|
|
|
|
|
(main): Handle OPTION_ENABLE_X86_FEATURE and
|
|
|
|
|
OPTION_DISABLE_X86_FEATURE.
|
|
|
|
|
|
2018-11-04 06:03:34 +08:00
|
|
|
|
2018-11-03 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* elfedit.c (update_elf_header): Move EI_MAG? check to ...
|
|
|
|
|
(get_file_header): Here.
|
|
|
|
|
|
2018-11-03 07:45:41 +08:00
|
|
|
|
2018-11-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac (AC_FUNC_MMAP): New.
|
|
|
|
|
* config.in: Regenerated.
|
|
|
|
|
* configure: Likewise.
|
|
|
|
|
|
2018-11-02 10:34:31 +08:00
|
|
|
|
2018-11-02 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (process_section_headers): Don't warn on a zero
|
|
|
|
|
sh_info or sh_link for any reloc section in an executable or
|
|
|
|
|
shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL.
|
|
|
|
|
|
2018-11-02 01:18:24 +08:00
|
|
|
|
2018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
|
|
|
|
|
|
|
|
|
|
* testsuite/config/default.exp: Define LD, LDFLAGS and
|
|
|
|
|
ld_elf_shared_opt.
|
|
|
|
|
* testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
|
|
|
|
|
from ld-lib.exp.
|
|
|
|
|
(run_dump_test): Set ld to $LD.
|
|
|
|
|
|
2018-10-18 23:58:16 +08:00
|
|
|
|
2018-10-18 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/binutils.texi (readelf): Document alternatives to the
|
|
|
|
|
--unwind option if it is not supported for the target
|
|
|
|
|
architecture.
|
|
|
|
|
|
2018-10-16 12:09:03 +08:00
|
|
|
|
2018-10-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 23780
|
|
|
|
|
* readelf.c (display_raw_attribute): Correct assertion.
|
|
|
|
|
|
2018-10-15 13:40:27 +08:00
|
|
|
|
2018-10-15 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 23534
|
|
|
|
|
* addr2line.c (main): Exit with fatal error if bfd_init
|
|
|
|
|
returns an unexpected value.
|
|
|
|
|
* ar.c (main): Likewise.
|
|
|
|
|
* dlltool.c (identify_dll_for_implib): Likewise.
|
|
|
|
|
* nm.c (main): Likewise.
|
|
|
|
|
* objcopy.c (main): Likewise.
|
|
|
|
|
* objdump.c (main): Likewise.
|
|
|
|
|
* size.c (main): Likewise.
|
|
|
|
|
* strings.c (main): Likewise.
|
|
|
|
|
* windmc.c (main): Likewise.
|
|
|
|
|
* windres.c (main): Likewise.
|
|
|
|
|
|
2018-10-11 18:38:10 +08:00
|
|
|
|
2018-10-11 Jordan Rupprecht <rupprecht@google.com>
|
|
|
|
|
Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* objcopy.c (copy_main): Issue a fata error if the
|
|
|
|
|
--keep-global-symbol(s) and the --globalize-symbol(s) options are
|
|
|
|
|
used together.
|
|
|
|
|
* doc/binutils.texi: Document that the two options are
|
|
|
|
|
incompatible.
|
|
|
|
|
* testsuite/binutils-all/copy-5.d: New test.
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp: Run the new test.
|
|
|
|
|
|
2018-10-10 10:44:56 +08:00
|
|
|
|
2018-10-10 Helge Deller <deller@gmx.de>
|
|
|
|
|
Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (hppa_process_unwind): Don't use eh_addr_size to
|
|
|
|
|
calculate number of entries.
|
|
|
|
|
(slurp_hppa_unwind_table): Don't use eh_addr_size here either.
|
|
|
|
|
|
2018-10-10 09:47:54 +08:00
|
|
|
|
2018-10-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
|
|
|
|
|
|
2018-10-04 20:35:12 +08:00
|
|
|
|
2018-10-08 Andreas Schwab <schwab@suse.de>
|
|
|
|
|
|
|
|
|
|
* readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
|
|
|
|
|
|
2018-10-03 17:56:59 +08:00
|
|
|
|
2018-10-03 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/pt.po: Updated Portuguese translation.
|
2018-10-03 18:36:11 +08:00
|
|
|
|
* po/fr.po: Updated French translation.
|
2018-10-03 17:56:59 +08:00
|
|
|
|
|
2018-09-21 11:16:03 +08:00
|
|
|
|
2018-09-22 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (apply_relocations): Don't return FALSE for warnings.
|
|
|
|
|
|
Andes Technology has good news for you, we plan to update the nds32 port of binutils on upstream!
We have not only removed all unsupported and obsolete code, but also supported lost of new features,
including better link-time relaxations and TLS implementations. Besides, the files generated by the
newly assembler and linker usually get higher performance and more optimized code size.
ld * emultempl/nds32elf.em (hyper_relax): New variable.
(nds32_elf_create_output_section_statements):
the parameters of bfd_elf32_nds32_set_target_option
(PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_OPTIONS,
PARSE_AND_LIST_ARGS_CASES): Add new option --mhyper-relax.
* emultempl/nds32elf.em (nds32_elf_after_open): Updated.
* emultempl/nds32elf.em (tls_desc_trampoline): New variable.
* (nds32_elf_create_output_section_statements): Updated.
* (nds32_elf_after_parse): Disable relaxations when PIC is enable.
* (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_OPTIONS,
PARSE_AND_LIST_ARGS_CASES): Add new option --m[no-]tlsdesc-trampoline.
include * elf/nds32.h: Remove the unused target features.
* dis-asm.h (disassemble_init_nds32): Declared.
* elf/nds32.h (E_NDS32_NULL): Removed.
(E_NDS32_HAS_DSP_INST, E_NDS32_HAS_ZOL): New.
* opcode/nds32.h: Ident.
(N32_SUB6, INSN_LW): New macros.
(enum n32_opcodes): Updated.
* elf/nds32.h: Doc fixes.
* elf/nds32.h: Add R_NDS32_LSI.
* elf/nds32.h: Add new relocations for TLS.
gas * config/tc-nds32.c: Remove the unused target features.
(nds32_relax_relocs, md_pseudo_table, nds32_elf_record_fixup_exp,
nds32_set_elf_flags_by_insn, nds32_insert_relax_entry,
nds32_apply_fix): Likewise.
(nds32_no_ex9_begin): Removed.
* config/tc-nds32.c (add_mapping_symbol_for_align,
make_mapping_symbol, add_mapping_symbol): New functions.
* config/tc-nds32.h (enum mstate): New.
(nds32_segment_info_type): Likewise.
* configure.ac (--enable-dsp-ext, --enable-zol-ext): New options.
* config.in: Regenerated.
* configure: Regenerated.
* config/tc-nds32.c (nds32_dx_regs):
Set the value according to the configuration.
(nds32_perf_ext, nds32_perf_ext2, nds32_string_ext, nds32_audio_ext):
Likewise.
(nds32_dsp_ext): New variable. Set the value according to the
configuration.
(nds32_zol_ext): Likewise.
(asm_desc, nds32_pseudo_opcode_table): Make them static.
(nds32_set_elf_flags_by_insn): Updated.
(nds32_check_insn_available): Updated.
(nds32_str_tolower): New function.
* config/tc-nds32.c (relax_table): Updated.
(md_begin): Updated.
(md_assemble): Use XNEW macro to allocate space for `insn.info',
and then remember to free it.
(md_section_align): Cast (-1) to ValueT.
(nds32_get_align): Cast (~0U) to addressT.
(nds32_relax_branch_instructions): Updated.
(md_convert_frag): Add new local variable `final_r_type'.
(invalid_prev_frag): Add new bfd_boolean parameter `relax'.
All callers changed.
* config/tc-nds32.c (struct nds32_relocs_pattern): Add `insn' field.
(struct nds32_hint_map): Add `option_list' field.
(struct suffix_name, suffix_table): Remove the unused `pic' field.
(do_pseudo_b, do_pseudo_bal): Remove the suffix checking.
(do_pseudo_la_internal, do_pseudo_pushpopm): Indent.
(relax_hint_bias, relax_hint_id_current): New static variables.
(reset_bias, relax_hint_begin): New variables.
(nds_itoa): New function.
(CLEAN_REG, GET_OPCODE): New macros.
(struct relax_hint_id): New.
(nds32_relax_hint): For .relax_hint directive, we can use `begin'
and `end' to mark the relax pattern without giving exactly id number.
(nds32_elf_append_relax_relocs): Handle the case that the .relax_hint
directives are attached to pseudo instruction.
(nds32_elf_save_pseudo_pattern): Change the second parameter from
instruction's opcode to byte code.
(nds32_elf_build_relax_relation): Add new bfd_boolean parameter
`pseudo_hint'.
(nds32_lookup_pseudo_opcode): Fix the overflow issue.
(enum nds32_insn_type): Add N32_RELAX_ALU1 and N32_RELAX_16BIT.
(nds32_elf_record_fixup_exp, relax_ls_table, hint_map,
nds32_find_reloc_table, nds32_match_hint_insn, nds32_parse_name):
Updated.
* config/tc-nds32.h (MAX_RELAX_NUM): Extend it to 6.
(enum nds32_relax_hint_type): Merge NDS32_RELAX_HINT_LA and
NDS32_RELAX_HINT_LS into NDS32_RELAX_HINT_LALS. Add
NDS32_RELAX_HINT_LA_PLT, NDS32_RELAX_HINT_LA_GOT and
NDS32_RELAX_HINT_LA_GOTOFF.
* config/tc-nds32.h (relax_ls_table): Add floating load/store
to gp relax pattern.
(hint_map, nds32_find_reloc_table): Likewise.
* configure.ac: Define NDS32_LINUX_TOOLCHAIN.
* configure: Regenerated.
* config.in: Regenerated.
* config/tc-nds32.h (enum nds32_ramp): Updated.
(enum nds32_relax_hint_type): Likewise.
* config/tc-nds32.c: Include "errno.h" and "limits.h".
(relax_ls_table): Add TLS relax patterns.
(nds32_elf_append_relax_relocs): Attach BFD_RELOC_NDS32_GROUP on
each instructions of TLS patterns.
(nds32_elf_record_fixup_exp): Updated.
(nds32_apply_fix): Likewise.
(suffix_table): Add TLSDESC suffix.
binutils* testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
from 215 to 255 for NDS32.
bfd * elf32-nds32.c (nds32_elf_relax_loadstore):
Remove the unused target features.
(bfd_elf32_nds32_set_target_option): Remove the unused parameters.
(nds32_elf_relax_piclo12, nds32_elf_relax_letlslo12,
nds32_elf_relax_letlsadd, nds32_elf_relax_letlsls,
nds32_elf_relax_pltgot_suff, nds32_elf_relax_got_suff
nds32_elf_relax_gotoff_suff, calculate_plt_memory_address,
calculate_plt_offset, calculate_got_memory_address,
nds32_elf_check_dup_relocs): Removed.
All callers changed.
* elf32-nds32.h: Remove the unused macros and defines.
(elf_nds32_link_hash_table): Remove the unused variable.
(bfd_elf32_nds32_set_target_option): Update prototype.
(nds32_elf_ex9_init): Removed.
* elf32-nds32.c (nds32_convert_32_to_16): Updated.
* elf32-nds32.c (HOWTO2, HOWTO3): Define new HOWTO macros
to initialize array nds32_elf_howto_table in any order
without lots of EMPTY_HOWTO.
(nds32_reloc_map): Updated.
* reloc.c: Add BFD_RELOC_NDS32_LSI.
* bfd-in2.h: Regenerated.
* bfd/libbfd.h: Regenerated.
* elf32-nds32.c (nds32_elf_relax_howto_table): Add R_NDS32_LSI.
(nds32_reloc_map): Likewise.
(nds32_elf_relax_flsi): New function.
(nds32_elf_relax_section): Support floating load/store relaxation.
* elf32-nds32.c (NDS32_GUARD_SEC_P, elf32_nds32_local_gp_offset):
New macro.
(struct elf_nds32_link_hash_entry): New `offset_to_gp' field.
(struct elf_nds32_obj_tdata): New `offset_to_gp' and `hdr_size' fields.
(elf32_nds32_allocate_local_sym_info, nds32_elf_relax_guard,
nds32_elf_is_target_special_symbol, nds32_elf_maybe_function_sym):
New functions.
(nds32_info_to_howto_rel): Add BFD_ASSERT.
(bfd_elf32_bfd_reloc_type_table_lookup, nds32_elf_link_hash_newfunc,
nds32_elf_link_hash_table_create, nds32_elf_relocate_section,
nds32_elf_relax_loadstore, nds32_elf_relax_lo12, nds32_relax_adjust_label,
bfd_elf32_nds32_set_target_option, nds32_fag_mark_relax): Updated.
(nds32_elf_final_sda_base): Improve it to find the better gp value.
(insert_nds32_elf_blank): Must consider `len' when inserting blanks.
* elf32-nds32.h (bfd_elf32_nds32_set_target_option): Update prototype.
(struct elf_nds32_link_hash_table): Add new variable `hyper_relax'.
* elf32-nds32.c (elf32_nds32_allocate_dynrelocs): New function.
(create_got_section): Likewise.
(allocate_dynrelocs, nds32_elf_size_dynamic_sections,
nds32_elf_relocate_section, nds32_elf_finish_dynamic_symbol): Updated.
(nds32_elf_check_relocs): Fix the issue that the shared library may
has TEXTREL entry in the dynamic section.
(nds32_elf_create_dynamic_sections): Enable to call readonly_dynrelocs
since the TEXTREL issue is fixed in the nds32_elf_check_relocs.
(nds32_elf_finish_dynamic_sections): Update and add DT_RELASZ
dynamic entry.
(calculate_offset): Remove the unused parameter `pic_ext_target' and
related codes.
All callers changed.
(elf_backend_dtrel_excludes_plt): Disable it temporarily since it
will cause some errors for our test cases.
* elf32-nds32.c (nds32_elf_merge_private_bfd_data): Allow to link the
generic object.
* reloc.c: Add TLS relocations.
* libbfd.h: Regenerated.
* bfd-in2.h: Regenerated.
* elf32-nds32.h (struct section_id_list_t): New.
(elf32_nds32_lookup_section_id, elf32_nds32_check_relax_group,
elf32_nds32_unify_relax_group, nds32_elf_unify_tls_model):
New prototypes.
(elf32_nds32_compute_jump_table_size, elf32_nds32_local_tlsdesc_gotent):
New macro.
(nds32_insertion_sort, bfd_elf32_nds32_set_target_option,
elf_nds32_link_hash_table): Updated.
* elf32-nds32.c (enum elf_nds32_tls_type): New.
(struct elf32_nds32_relax_group_t, struct relax_group_list_t): New.
(elf32_nds32_add_dynreloc, patch_tls_desc_to_ie, get_tls_type,
fls, ones32, list_insert, list_insert_sibling, dump_chain,
elf32_nds32_check_relax_group, elf32_nds32_lookup_section_id,
elf32_nds32_unify_relax_group, nds32_elf_unify_tls_model): New functions.
(elf_nds32_obj_tdata): Add new fields.
(elf32_nds32_relax_group_ptr, nds32_elf_local_tlsdesc_gotent): New macros.
(nds32_elf_howto_table): Add TLS relocations.
(nds32_reloc_map): Likewise.
(nds32_elf_copy_indirect_symbol, nds32_elf_size_dynamic_sections,
nds32_elf_finish_dynamic_symbol, elf32_nds32_allocate_local_sym_info,
nds32_elf_relocate_section, bfd_elf32_nds32_set_target_option,
nds32_elf_check_relocs, allocate_dynrelocs): Updated.
(nds32_elf_relax_section): Call nds32_elf_unify_tls_model.
(dtpoff_base): Rename it to `gottpof' and then update it.
opcodes * nds32-asm.c (operand_fields): Remove the unused fields.
(nds32_opcodes): Remove the unused instructions.
* nds32-dis.c (nds32_ex9_info): Removed.
(nds32_parse_opcode): Updated.
(print_insn_nds32): Likewise.
* nds32-asm.c (config.h, stdlib.h, string.h): New includes.
(LEX_SET_FIELD, LEX_GET_FIELD): Update defines.
(nds32_asm_init, build_operand_hash_table, build_keyword_hash_table,
build_opcode_hash_table): New functions.
(nds32_keyword_table, nds32_keyword_count_table, nds32_field_table,
nds32_opcode_table): New.
(hw_ktabs): Declare it to a pointer rather than an array.
(build_hash_table): Removed.
* nds32-asm.h (enum): Add SYN_INPUT, SYN_OUTPUT, SYN_LOPT,
SYN_ROPT and upadte HW_GPR and HW_INT.
* nds32-dis.c (keywords): Remove const.
(match_field): New function.
(nds32_parse_opcode): Updated.
* disassemble.c (disassemble_init_for_target):
Add disassemble_init_nds32.
* nds32-dis.c (eum map_type): New.
(nds32_private_data): Likewise.
(get_mapping_symbol_type, is_mapping_symbol, nds32_symbol_is_valid,
nds32_add_opcode_hash_table, disassemble_init_nds32): New functions.
(print_insn_nds32): Updated.
* nds32-asm.c (parse_aext_reg): Add new parameter.
(parse_re, parse_re2, parse_aext_reg): Only reduced registers
are allowed to use.
All callers changed.
* nds32-asm.c (keyword_usr, keyword_sr): Updated.
(operand_fields): Add new fields.
(nds32_opcodes): Add new instructions.
(keyword_aridxi_mx): New keyword.
* nds32-asm.h (enum): Add NASM_ATTR_DSP_ISAEXT, HW_AEXT_ARIDXI_MX
and NASM_ATTR_ZOL.
(ALU2_1, ALU2_2, ALU2_3): New macros.
* nds32-dis.c (nds32_filter_unknown_insn): Updated.
2018-09-20 20:27:31 +08:00
|
|
|
|
2018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
|
|
|
|
|
from 215 to 255 for NDS32.
|
|
|
|
|
|
2018-09-17 23:50:42 +08:00
|
|
|
|
2018-09-17 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* objcopy.c (strip_specific_buffer): New.
|
|
|
|
|
(strip_unneeded_buffer): Likewise.
|
|
|
|
|
(keep_specific_buffer): Likewise.
|
|
|
|
|
(localize_specific_buffer): Likewise.
|
|
|
|
|
(globalize_specific_buffer): Likewise.
|
|
|
|
|
(keepglobal_specific_buffer): Likewise.
|
|
|
|
|
(weaken_specific_buffer): Likewise.
|
|
|
|
|
(add_specific_symbols): Add an argument to return pointer to
|
|
|
|
|
allocated buffer.
|
|
|
|
|
(copy_main): Update add_specific_symbols to update pointers to
|
|
|
|
|
allocated buffer. Free pointers to allocated buffer before
|
|
|
|
|
return.
|
|
|
|
|
|
2018-09-12 13:27:48 +08:00
|
|
|
|
2018-09-17 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* objcopy.c (handle_remove_section_option): Don't require a dot
|
|
|
|
|
after .rela and .rel to handle a possible relocation section.
|
|
|
|
|
* testsuite/binutils-all/remove-relocs-07.s,
|
|
|
|
|
* testsuite/binutils-all/remove-relocs-07.d,
|
|
|
|
|
* testsuite/binutils-all/remove-relocs-08.d: New tests.
|
|
|
|
|
* testsuite/binutils-all/remove-relocs-01.d,
|
|
|
|
|
* testsuite/binutils-all/remove-relocs-04.d,
|
|
|
|
|
* testsuite/binutils-all/remove-relocs-05.d,
|
|
|
|
|
* testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
|
|
|
|
|
|
2018-09-17 07:21:24 +08:00
|
|
|
|
2018-09-17 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/lib/binutils-common.exp (is_som_format): New proc.
|
|
|
|
|
(run_dump_test): Correct target test for alternate .comm syntax.
|
|
|
|
|
(get_standard_section_names): Handle som format.
|
|
|
|
|
* testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
|
|
|
|
|
Correct target test for alternate .comm syntax.
|
|
|
|
|
|
2018-09-17 13:21:47 +08:00
|
|
|
|
2018-09-17 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/strip-13mips64.s: Add section flags
|
|
|
|
|
for reloc section.
|
|
|
|
|
* testsuite/binutils-all/strip-13rel.s: Likewise.
|
|
|
|
|
* testsuite/binutils-all/strip-13rela.s: Likewise.
|
|
|
|
|
* testsuite/binutils-all/strip-14mips64.s: Likewise.
|
|
|
|
|
* testsuite/binutils-all/strip-14rel.s: Likewise.
|
|
|
|
|
* testsuite/binutils-all/strip-14rela.s: Likewise.
|
|
|
|
|
* testsuite/binutils-all/strip-15mips64.s: Likewise.
|
|
|
|
|
* testsuite/binutils-all/strip-15rel.s: Likewise.
|
|
|
|
|
* testsuite/binutils-all/strip-15rela.s: Likewise.
|
|
|
|
|
|
2018-09-17 17:10:47 +08:00
|
|
|
|
2018-09-17 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/compress.exp: Rename second "objcopy
|
|
|
|
|
zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
|
|
|
|
|
compress debug sections 3" and use gabi object files instead
|
|
|
|
|
of gnu object files.
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp: Add suffix to the names
|
|
|
|
|
of the "ELF group" tests.
|
|
|
|
|
* testsuite/binutils-all/readelf.exp (proc readelf_find_size):
|
|
|
|
|
Add an iteration parameter and include it in the name of the
|
|
|
|
|
test. Update callers to include an iteration count.
|
|
|
|
|
|
Consolidate run_dump_test
This merges the three versions of run_dump_test. Improved warning
handling versus the old gas version shows up a number of tests that
need their disassembly updating:
arm-linuxeabi +FAIL: ARM v1 instructions
arm-linuxeabi +FAIL: Accepted v8-a with ARMv8.1 AdvSIMD.
arm-linuxeabi +FAIL: bl local instructions for v4t.
arm-linuxeabi +FAIL: UDF
and some that now fail due to detecting assembly warnings:
h8300-elf +FAIL: binutils-all/strip-13
h8300-elf +FAIL: binutils-all/strip-14
h8300-elf +FAIL: binutils-all/strip-15
I've generally kept the union of all run_dump_test features, except
that the ld target aliases "cfi" and "shared" have disappeared, as has
the binutils substitution of $srcdir as $scrdir/$subdir.
binutils/
* testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
* testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
* testsuite/binutils-all/symbols-1.d,
* testsuite/binutils-all/symbols-2.d,
* testsuite/binutils-all/symbols-3.d,
* testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
* testsuite/binutils-all/add-empty-section.d,
* testsuite/binutils-all/add-section.d,
* testsuite/binutils-all/elfedit.exp,
* testsuite/binutils-all/note-1.d,
* testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
* testsuite/config/default.exp (AS, ASFLAGS): Define.
* testsuite/config/hppa.sed: Handle all common symbols.
* testsuite/lib/binutils-common.exp (run_dump_test): New proc,
merged from three other versions.
(slurp_options, file_contents, set_file_contents): Likewise.
(big_or_little_endian, get_standard_section_names): Likewise.
* testsuite/lib/utils-lib.exp (run_dump_test): Delete.
(slurp_options, proc file_contents): Delete.
(get_standard_section_names): Delete.
gas/
* testsuite/config/default.exp: Make tmpdir.
* testsuite/lib/gas-defs.exp (run_dump_test): Delete.
(get_standard_section_names, slurp_options): Delete.
ld/
* testsuite/ld-d10v/reloc-007.d,
* testsuite/ld-d10v/reloc-008.d,
* testsuite/ld-d10v/reloc-015.d,
* testsuite/ld-d10v/reloc-016.d: Remove "error:".
* testsuite/ld-elf/eh-frame-hdr.d,
* testsuite/ld-elf/eh5.d,
* testsuite/ld-gc/personality.d: Replace "cfi" and "shared" in
target list with appropriate proc.
* testsuite/ld-elf/frame.exp: Use check_shared_lib_support rather
than "istarget shared".
* testsuite/lib/ld-lib.exp (proc big_or_little_endian): Delete.
(run_dump_test, slurp_options, file_contents): Delete.
(set_file_contents, istarget): Delete.
2018-09-13 13:15:47 +08:00
|
|
|
|
2018-09-15 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
|
|
|
|
|
* testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
|
|
|
|
|
* testsuite/binutils-all/symbols-1.d,
|
|
|
|
|
* testsuite/binutils-all/symbols-2.d,
|
|
|
|
|
* testsuite/binutils-all/symbols-3.d,
|
|
|
|
|
* testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
|
|
|
|
|
* testsuite/binutils-all/add-empty-section.d,
|
|
|
|
|
* testsuite/binutils-all/add-section.d,
|
|
|
|
|
* testsuite/binutils-all/elfedit.exp,
|
|
|
|
|
* testsuite/binutils-all/note-1.d,
|
|
|
|
|
* testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
|
|
|
|
|
* testsuite/config/default.exp (AS, ASFLAGS): Define.
|
|
|
|
|
* testsuite/config/hppa.sed: Handle all common symbols.
|
|
|
|
|
* testsuite/lib/binutils-common.exp (run_dump_test): New proc,
|
|
|
|
|
merged from three other versions.
|
|
|
|
|
(slurp_options, file_contents, set_file_contents): Likewise.
|
|
|
|
|
(big_or_little_endian, get_standard_section_names): Likewise.
|
|
|
|
|
* testsuite/lib/utils-lib.exp (run_dump_test): Delete.
|
|
|
|
|
(slurp_options, proc file_contents): Delete.
|
|
|
|
|
(get_standard_section_names): Delete.
|
|
|
|
|
|
binutils run_dump_test rename not-target and not-skip
Use notarget and noskip, like the ld testsuite.
* testsuite/binutils-all/copy-2.d,
* testsuite/binutils-all/copy-3.d,
* testsuite/binutils-all/copy-4.d,
* testsuite/binutils-all/elfedit-1.d,
* testsuite/binutils-all/note-1.d,
* testsuite/binutils-all/note-2-64.d,
* testsuite/binutils-all/strip-11.d,
* testsuite/binutils-all/strip-13.d,
* testsuite/binutils-all/strip-14.d,
* testsuite/binutils-all/testranges.d,
* testsuite/binutils-all/x86-64/pr23494a-x32.d,
* testsuite/binutils-all/x86-64/pr23494a.d,
* testsuite/binutils-all/x86-64/pr23494b-x32.d,
* testsuite/binutils-all/x86-64/pr23494b.d,
* testsuite/binutils-all/x86-64/pr23494c-x32.d,
* testsuite/binutils-all/x86-64/pr23494c.d,
* testsuite/binutils-all/x86-64/pr23494d-x32.d,
* testsuite/binutils-all/x86-64/pr23494d.d,
* testsuite/binutils-all/x86-64/pr23494e-x32.d,
* testsuite/binutils-all/x86-64/pr23494e.d,
* testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
and not-skip with notarget and noskip.
2018-09-13 14:06:14 +08:00
|
|
|
|
2018-09-15 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/copy-2.d,
|
|
|
|
|
* testsuite/binutils-all/copy-3.d,
|
|
|
|
|
* testsuite/binutils-all/copy-4.d,
|
|
|
|
|
* testsuite/binutils-all/elfedit-1.d,
|
|
|
|
|
* testsuite/binutils-all/note-1.d,
|
|
|
|
|
* testsuite/binutils-all/note-2-64.d,
|
|
|
|
|
* testsuite/binutils-all/strip-11.d,
|
|
|
|
|
* testsuite/binutils-all/strip-13.d,
|
|
|
|
|
* testsuite/binutils-all/strip-14.d,
|
|
|
|
|
* testsuite/binutils-all/testranges.d,
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494a-x32.d,
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494a.d,
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494b-x32.d,
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494b.d,
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494c-x32.d,
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494c.d,
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494d-x32.d,
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494d.d,
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494e-x32.d,
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494e.d,
|
|
|
|
|
* testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
|
|
|
|
|
and not-skip with notarget and noskip.
|
|
|
|
|
|
Remove run_dump_test support for objcopy as a dump program
We have three copies of run_dump_test in the testsuite. This is a first
step towards consolidating them.
A few tests use objcopy to convert to verilog or srec output, then
check that output is as expected. Those tests can just as easily use
objdump, keeping the set of dump programs (addr2line, nm, objdump,
readelf, size) separate from utilities under test. That in turn makes
auto-detecting the dump program possible in more places.
binutils/
* testsuite/binutils-all/group-7a.d,
* testsuite/binutils-all/group-7b.d,
* testsuite/binutils-all/group-7c.d,
* testsuite/binutils-all/symbols-1.d,
* testsuite/binutils-all/symbols-2.d,
* testsuite/binutils-all/symbols-3.d,
* testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
gas/
* testsuite/gas/mri/char.d: Don't objcopy to srec, objdump instead.
* testsuite/gas/mri/float.d: Likewise.
* testsuite/lib/gas-defs.exp (run_dump_test): Remove support
for objcopy as a dump tool.
ld/
* testsuite/ld-elf/interleave-0.d,
* testsuite/ld-elf/interleave-4.d: Don't objcopy to srec,
objdump instead.
* testsuite/ld-gc/all-debug-sections.d,
* testsuite/ld-scripts/provide-4.d,
* testsuite/ld-scripts/provide-5.d,
* testsuite/ld-scripts/provide-6.d,
* testsuite/ld-scripts/provide-7.d,
* testsuite/ld-scripts/provide-8.d,
* testsuite/ld-scripts/segment-start.d: Remove PROG, specify
nm instead.
* testsuite/lib/ld-lib.exp (run_dump_test): Remove support
for objcopy as a dump tool.
2018-09-13 13:13:34 +08:00
|
|
|
|
2018-09-15 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/group-7a.d,
|
|
|
|
|
* testsuite/binutils-all/group-7b.d,
|
|
|
|
|
* testsuite/binutils-all/group-7c.d,
|
|
|
|
|
* testsuite/binutils-all/symbols-1.d,
|
|
|
|
|
* testsuite/binutils-all/symbols-2.d,
|
|
|
|
|
* testsuite/binutils-all/symbols-3.d,
|
|
|
|
|
* testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
|
|
|
|
|
|
2018-09-14 17:50:06 +08:00
|
|
|
|
2018-09-14 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/23633
|
|
|
|
|
* testsuite/binutils-all/pr23633.d: Don't fail when assembler
|
|
|
|
|
generates sections other than .text.
|
|
|
|
|
|
2018-09-14 00:09:00 +08:00
|
|
|
|
2018-09-13 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/23633
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp: Run pr23633.
|
|
|
|
|
* testsuite/binutils-all/pr23633.d: New file.
|
|
|
|
|
* testsuite/binutils-all/pr23633.list: Likewise.
|
|
|
|
|
* testsuite/binutils-all/pr23633.s: Likewise.
|
|
|
|
|
|
2018-09-13 23:14:36 +08:00
|
|
|
|
2018-09-13 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 23633
|
|
|
|
|
* objcopy.c (add_specific_symbols): Do not free the buffer at the
|
|
|
|
|
end of the function.
|
|
|
|
|
|
2018-09-10 10:27:08 +08:00
|
|
|
|
2018-09-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/23611
|
|
|
|
|
* objcopy.c (handle_remove_section_option): Consider .rela and
|
|
|
|
|
.rel sections for stripping directly as well as attached to the
|
|
|
|
|
associated section they relocate.
|
|
|
|
|
* doc/binutils.texi (remove-relocations): Specify that this
|
|
|
|
|
option removes non-dynamic relocation sections.
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp
|
|
|
|
|
(objcopy_remove_relocations_from_executable): New test.
|
|
|
|
|
|
2018-09-03 22:04:34 +08:00
|
|
|
|
2018-09-03 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/ja.po: Updated Japanese translation.
|
|
|
|
|
|
2018-08-31 19:38:12 +08:00
|
|
|
|
2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/readelf.s-64: Adjusted for
|
|
|
|
|
.note.gnu.property section.
|
|
|
|
|
* testsuite/binutils-all/strip-3.d: Also strip
|
|
|
|
|
.note.gnu.property section.
|
|
|
|
|
|
2018-08-31 19:35:46 +08:00
|
|
|
|
2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/i386/compressed-1b.d: Pass
|
|
|
|
|
-mx86-used-note=no to assembler.
|
|
|
|
|
* testsuite/binutils-all/i386/compressed-1c.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
|
|
|
|
|
to assembler and update expected output from "readelf -n".
|
|
|
|
|
* testsuite/binutils-all/i386/ibt.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/i386/pr21231a.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/i386/pr21231b.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/i386/shstk.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/empty.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/ibt.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/shstk.d: Likewise.
|
|
|
|
|
|
2018-08-30 23:01:36 +08:00
|
|
|
|
2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
|
|
|
|
|
SHT_PREINIT_ARRAY as relocatable sections.
|
|
|
|
|
|
2018-08-30 08:30:36 +08:00
|
|
|
|
2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Add myself as a MIPS port maintainer.
|
|
|
|
|
|
2018-08-29 20:55:25 +08:00
|
|
|
|
2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention Loongson 2K1000 proccessor support.
|
|
|
|
|
* readelf.c (get_machine_flags): Handle gs264e.
|
|
|
|
|
|
2018-08-29 20:36:23 +08:00
|
|
|
|
2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
|
|
|
|
|
* readelf.c (get_machine_flags): Handle gs464e.
|
|
|
|
|
|
2018-08-29 20:13:00 +08:00
|
|
|
|
2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention Loongson 3A1000 proccessor support.
|
|
|
|
|
* readelf.c (get_machine_flags): Rename loongson-3a to gs464.
|
|
|
|
|
(print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
|
|
|
|
|
|
2018-08-29 20:08:58 +08:00
|
|
|
|
2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (print_mips_ases): Add Loongson EXT2 extension.
|
|
|
|
|
|
2018-08-29 19:57:39 +08:00
|
|
|
|
2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (print_mips_ases): Add Loongson EXT extension.
|
|
|
|
|
|
2018-08-29 17:39:33 +08:00
|
|
|
|
2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (print_mips_ases): Add CAM extension.
|
|
|
|
|
|
2018-08-28 06:41:09 +08:00
|
|
|
|
2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (decode_x86_isa): Print <None> if bitmask only
|
|
|
|
|
contains the GNU_PROPERTY_X86_UINT32_VALID bit.
|
|
|
|
|
(decode_x86_feature_1): Likewise.
|
|
|
|
|
(decode_x86_feature_2): Likewise.
|
|
|
|
|
(print_gnu_property_note): Don't mask out the
|
|
|
|
|
GNU_PROPERTY_X86_UINT32_VALID bit.
|
|
|
|
|
* testsuite/binutils-all/i386/pr21231b.d: Updated.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
|
|
|
|
|
|
2018-08-28 04:01:08 +08:00
|
|
|
|
2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (decode_x86_compat_isa): Break multi-statement line.
|
|
|
|
|
(decode_x86_isa): Likewise.
|
|
|
|
|
(decode_x86_feature_2): Likewise.
|
|
|
|
|
|
2018-08-25 21:17:52 +08:00
|
|
|
|
2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/23499
|
|
|
|
|
* readelf.c (get_symbol_version_string): Return _("<corrupt>")
|
|
|
|
|
for corrupt symbol version info.
|
|
|
|
|
|
x86: Update GNU_PROPERTY_X86_XXX macros
This patch updates GNU_PROPERTY_X86_XXX macros:
1. GNU_PROPERTY_X86_UINT32_AND_XXX: A 4-byte unsigned integer property.
A bit is set if it is set in all relocatable inputs:
#define GNU_PROPERTY_X86_UINT32_AND_LO 0xc0000002
#define GNU_PROPERTY_X86_UINT32_AND_HI 0xc0007fff
2. GNU_PROPERTY_X86_UINT32_OR_XXX: A 4-byte unsigned integer property.
A bit is set if it is set in any relocatable inputs:
#define GNU_PROPERTY_X86_UINT32_OR_LO 0xc0008000
#define GNU_PROPERTY_X86_UINT32_OR_HI 0xc000ffff
3. GNU_PROPERTY_X86_UINT32_OR_AND_XXX: A 4-byte unsigned integer property.
A bit is set if it is set in any relocatable inputs and the property is
present in all relocatable inputs:
#define GNU_PROPERTY_X86_UINT32_OR_AND_LO 0xc0010000
#define GNU_PROPERTY_X86_UINT32_OR_AND_HI 0xc0017fff
4. GNU_PROPERTY_X86_FEATURE_2_NEEDED, GNU_PROPERTY_X86_FEATURE_2_USED
and GNU_PROPERTY_X86_FEATURE_2_XXX bits.
GNU_PROPERTY_X86_FEATURE_1_AND is unchanged. GNU_PROPERTY_X86_ISA_1_USED
and GNU_PROPERTY_X86_ISA_1_NEEDED are updated to better support targeted
processors since GNU_PROPERTY_X86_ISA_1_?86 aren't isn't very useful.
A new set of GNU_PROPERTY_X86_ISA_1_XXX bits are defined. The previous
GNU_PROPERTY_X86_ISA_1_XXX macros are deprecated and renamed to
GNU_PROPERTY_X86_COMPAT_ISA_1_XXX.
bfd/
* elfxx-x86.c (_bfd_x86_elf_parse_gnu_properties): Handle
X86_COMPAT_ISA_1_USED, X86_COMPAT_ISA_1_NEEDED,
X86_UINT32_AND_LO, X86_UINT32_AND_HI, X86_UINT32_OR_LO,
X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and X86_UINT32_OR_AND_HI
instead of X86_ISA_1_USED, X86_ISA_1_NEEDED and X86_FEATURE_1_AND.
(_bfd_x86_elf_merge_gnu_properties): Likewise.
(_bfd_x86_elf_link_setup_gnu_properties): Add X86_FEATURE_2_NEEDED
instead of X86_ISA_1_NEEDED.
(_bfd_x86_elf_link_fixup_gnu_properties): Handle
X86_COMPAT_ISA_1_USED, X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO,
X86_UINT32_AND_HI, X86_UINT32_OR_LO, X86_UINT32_OR_HI,
X86_UINT32_OR_AND_LO and X86_UINT32_OR_AND_HI instead of
X86_ISA_1_USED, X86_ISA_1_NEEDED and X86_FEATURE_1_AND.
binutils/
* readelf.c (decode_x86_compat_isa): New function.
(decode_x86_feature_2): Likewise.
(decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
(decode_x86_feature): Renamed to ...
(decode_x86_feature_1): This. Remove the type argument.
(print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
and X86_FEATURE_1_AND.
* testsuite/binutils-all/i386/pr21231b.s: Updated to the current
GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
values.
* testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
* testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
* testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
* testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
* testsuite/binutils-all/i386/pr21231b.d: Updated.
* testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
include/
* elf/common.h (GNU_PROPERTY_X86_ISA_1_USED): Renamed to ...
(GNU_PROPERTY_X86_COMPAT_ISA_1_USED): This.
(GNU_PROPERTY_X86_ISA_1_NEEDED): Renamed to ...
(GNU_PROPERTY_X86_COMPAT_ISA_1_NEEDED): This.
(GNU_PROPERTY_X86_ISA_1_XXX): Renamed to ...
(GNU_PROPERTY_X86_COMPAT_ISA_1_XXX): This.
(GNU_PROPERTY_X86_UINT32_AND_LO): New.
(GNU_PROPERTY_X86_UINT32_AND_HI): Likewise.
(GNU_PROPERTY_X86_UINT32_OR_LO): Likewise.
(GNU_PROPERTY_X86_UINT32_OR_HI): Likewise.
(GNU_PROPERTY_X86_UINT32_OR_AND_LO): Likewise.
(GNU_PROPERTY_X86_UINT32_OR_AND_HI): Likewise.
(GNU_PROPERTY_X86_ISA_1_CMOV): Likewise.
(GNU_PROPERTY_X86_ISA_1_SSE): Likewise.
(GNU_PROPERTY_X86_ISA_1_SSE2): Likewise.
(GNU_PROPERTY_X86_ISA_1_SSE3): Likewise.
(GNU_PROPERTY_X86_ISA_1_SSSE3): Likewise.
(GNU_PROPERTY_X86_ISA_1_SSE4_1): Likewise.
(GNU_PROPERTY_X86_ISA_1_SSE4_2): Likewise.
(GNU_PROPERTY_X86_ISA_1_AVX): Likewise.
(GNU_PROPERTY_X86_ISA_1_AVX2): Likewise.
(GNU_PROPERTY_X86_ISA_1_FMA): Likewise.
(GNU_PROPERTY_X86_ISA_1_AVX512F): Likewise.
(GNU_PROPERTY_X86_ISA_1_AVX512CD): Likewise.
(GNU_PROPERTY_X86_ISA_1_AVX512ER): Likewise.
(GNU_PROPERTY_X86_ISA_1_AVX512PF): Likewise.
(GNU_PROPERTY_X86_ISA_1_AVX512VL): Likewise.
(GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likewise.
(GNU_PROPERTY_X86_ISA_1_AVX512BW): Likewise.
(GNU_PROPERTY_X86_ISA_1_AVX512_4FMAPS): Likewise.
(GNU_PROPERTY_X86_ISA_1_AVX512_4VNNIW): Likewise.
(GNU_PROPERTY_X86_ISA_1_AVX512_BITALG): Likewise.
(GNU_PROPERTY_X86_ISA_1_AVX512_IFMA): Likewise.
(GNU_PROPERTY_X86_ISA_1_AVX512_VBMI): Likewise.
(GNU_PROPERTY_X86_ISA_1_AVX512_VBMI2): Likewise.
(GNU_PROPERTY_X86_ISA_1_AVX512_VNNI): Likewise.
(GNU_PROPERTY_X86_FEATURE_2_X86): Likewise.
(GNU_PROPERTY_X86_FEATURE_2_X87): Likewise.
(GNU_PROPERTY_X86_FEATURE_2_MMX): Likewise.
(GNU_PROPERTY_X86_FEATURE_2_XMM): Likewise.
(GNU_PROPERTY_X86_FEATURE_2_YMM): Likewise.
(GNU_PROPERTY_X86_FEATURE_2_ZMM): Likewise.
(GNU_PROPERTY_X86_FEATURE_2_FXSR): Likewise.
(GNU_PROPERTY_X86_FEATURE_2_XSAVE): Likewise.
(GNU_PROPERTY_X86_FEATURE_2_XSAVEOPT): Likewise.
(GNU_PROPERTY_X86_FEATURE_2_XSAVEC): Likewise.
(GNU_PROPERTY_X86_FEATURE_1_AND): Updated to
(GNU_PROPERTY_X86_UINT32_AND_LO + 0).
(GNU_PROPERTY_X86_ISA_1_NEEDED): Defined to
(GNU_PROPERTY_X86_UINT32_OR_LO + 0).
(GNU_PROPERTY_X86_FEATURE_2_NEEDED): New. Defined to
(GNU_PROPERTY_X86_UINT32_OR_LO + 1).
(GNU_PROPERTY_X86_ISA_1_USED): Defined to
(GNU_PROPERTY_X86_UINT32_OR_AND_LO + 0).
(GNU_PROPERTY_X86_FEATURE_2_USED): New. Defined to
(GNU_PROPERTY_X86_UINT32_OR_AND_LO + 1).
ld/
* testsuite/ld-i386/i386.exp: Run pr23372c, pr23372d, pr23486c
and pr23486d.
* testsuite/ld-i386/pr23372a.s: Update comments.
* testsuite/ld-i386/pr23372b.s: Likewise.
* testsuite/ld-i386/pr23372c.s: Likewise.
* testsuite/ld-x86-64/pr23372a.s: Likewise.
* testsuite/ld-x86-64/pr23372b.s: Likewise.
* testsuite/ld-x86-64/pr23372c.s: Likewise.
* testsuite/ld-x86-64/pr23486a.s: Likewise.
* testsuite/ld-x86-64/pr23486b.s: Likewise.
* testsuite/ld-i386/pr23372c.d: New file.
* testsuite/ld-i386/pr23372d.d: Likewise.
* testsuite/ld-i386/pr23486c.d: Likewise.
* testsuite/ld-i386/pr23486d.d: Likewise.
* testsuite/ld-x86-64/pr23372c-x32.d: Likewise.
* testsuite/ld-x86-64/pr23372c.d: Likewise.
* testsuite/ld-x86-64/pr23372d-x32.d: Likewise.
* testsuite/ld-x86-64/pr23372d.d: Likewise.
* testsuite/ld-x86-64/pr23372d.s: Likewise.
* testsuite/ld-x86-64/pr23372e.s: Likewise.
* testsuite/ld-x86-64/pr23372f.s: Likewise.
* testsuite/ld-x86-64/pr23486c-x32.d: Likewise.
* testsuite/ld-x86-64/pr23486c.d: Likewise.
* testsuite/ld-x86-64/pr23486c.s: Likewise.
* testsuite/ld-x86-64/pr23486d-x32.d: Likewise.
* testsuite/ld-x86-64/pr23486d.d: Likewise.
* testsuite/ld-x86-64/pr23486d.s: Likewise.
* testsuite/ld-i386/property-3.r: Updated.
* testsuite/ld-i386/property-4.r: Likewise.
* testsuite/ld-i386/property-5.r: Likewise.
* testsuite/ld-i386/property-x86-3.d: Likewise.
* testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
* testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
* testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
* testsuite/ld-x86-64/property-3.r: Likewise.
* testsuite/ld-x86-64/property-4.r: Likewise.
* testsuite/ld-x86-64/property-5.r: Likewise.
* testsuite/ld-x86-64/property-x86-3-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-3.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise.
* testsuite/ld-i386/property-x86-1.S: Updated to the current
GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
values.
* testsuite/ld-i386/property-x86-2.S: Likewise.
* testsuite/ld-i386/property-x86-3.s: Likewise.
* testsuite/ld-x86-64/property-x86-1.S: Likewise.
* testsuite/ld-x86-64/property-x86-2.S: Likewise.
* testsuite/ld-x86-64/property-x86-3.s: Likewise.
* ld/testsuite/ld-x86-64/x86-64.exp: Run pr23372c, pr23372c-x32,
pr23372d, pr23372d-x32, pr23486c, pr23486c-x32, pr23486d and
pr23486d-x32.
2018-08-24 19:41:50 +08:00
|
|
|
|
2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (decode_x86_compat_isa): New function.
|
|
|
|
|
(decode_x86_feature_2): Likewise.
|
|
|
|
|
(decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
|
|
|
|
|
(decode_x86_feature): Renamed to ...
|
|
|
|
|
(decode_x86_feature_1): This. Remove the type argument.
|
|
|
|
|
(print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
|
|
|
|
|
X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
|
|
|
|
|
X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
|
|
|
|
|
X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
|
|
|
|
|
and X86_FEATURE_1_AND.
|
|
|
|
|
* testsuite/binutils-all/i386/pr21231b.s: Updated to the current
|
|
|
|
|
GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
|
|
|
|
|
values.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
|
|
|
|
|
* testsuite/binutils-all/i386/pr21231b.d: Updated.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
|
|
|
|
|
|
2018-08-24 19:37:45 +08:00
|
|
|
|
2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (print_gnu_property_note): Check the
|
|
|
|
|
GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
|
|
|
|
|
|
2018-08-23 16:04:13 +08:00
|
|
|
|
2018-08-23 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_ppc64_symbol_other): Return NULL if st_other
|
|
|
|
|
field contains unrecognised or reserved values. Handle
|
|
|
|
|
localentry:1 value.
|
|
|
|
|
|
2018-08-23 21:12:37 +08:00
|
|
|
|
2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/23536
|
|
|
|
|
* Makefile.am (development.exp): New target.
|
|
|
|
|
(EXTRA_DEJAGNU_SITE_CONFIG): New.
|
|
|
|
|
(DISTCLEANFILES): Add development.exp.
|
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp (strip_test): Call
|
|
|
|
|
prune_warnings to prune BFD output.
|
|
|
|
|
(strip_test_with_saving_a_symbol): Likewise.
|
|
|
|
|
(objcopy_test_without_global_symbol): Likewise.
|
|
|
|
|
* testsuite/lib/binutils-common.exp (prune_warnings_extra):
|
|
|
|
|
New proc.
|
|
|
|
|
(prune_warnings): Likewise.
|
|
|
|
|
|
2018-08-23 20:56:03 +08:00
|
|
|
|
2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* README-how-to-make-a-release: Document setting "experimental"
|
|
|
|
|
to false.
|
|
|
|
|
|
2018-08-22 08:34:58 +08:00
|
|
|
|
2018-08-22 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (process_file_header): Assign updated values from
|
|
|
|
|
section_header[0] fields to e_phnum, e_shnum and e_shstrndx
|
|
|
|
|
during printing of header. Correct e_shstrndx range check.
|
|
|
|
|
Remove unnecessary casts and use %u rather than %ld for
|
|
|
|
|
unsigned int header fields. Don't print a random %lx when
|
|
|
|
|
reporting an unknown EI_VERSION.
|
|
|
|
|
|
2018-08-21 22:41:59 +08:00
|
|
|
|
2018-08-21 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Note that Arnold Metselaar has retired as the z80
|
|
|
|
|
maintainer.
|
|
|
|
|
|
2018-08-21 22:37:06 +08:00
|
|
|
|
2018-08-21 L. Simon <l.simon@samsung.com>
|
|
|
|
|
|
|
|
|
|
PR 23531
|
|
|
|
|
* readelf.c (hppa_process_unwind): Only dump the unwind table if
|
|
|
|
|
the data was successfully read in.
|
|
|
|
|
|
2018-08-13 12:11:18 +08:00
|
|
|
|
2018-08-18 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/lib/binutils-common.exp (is_elf64): Use directory of
|
|
|
|
|
input file for readelf.out.
|
|
|
|
|
(is_rela): New proc.
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp (elf64): Set new variable
|
|
|
|
|
from first result of is_elf64 test.
|
|
|
|
|
(reloc_format): Set using is_rela.
|
|
|
|
|
(strip-13): Pass RELOC and ELF64 to assembler.
|
|
|
|
|
(strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
|
|
|
|
|
* testsuite/binutils-all/strip-13.d: Run for more targets.
|
|
|
|
|
* testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
|
|
|
|
|
addend to zero.
|
|
|
|
|
* testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
|
|
|
|
|
Don't add _NONE reloc.
|
|
|
|
|
* testsuite/binutils-all/strip-13rela.s: Likewise.
|
|
|
|
|
|
2018-08-09 19:29:43 +08:00
|
|
|
|
2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/23494
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494c.s: New file.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
|
|
|
|
|
|
2018-08-10 22:53:50 +08:00
|
|
|
|
2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
|
|
|
|
|
targets.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
|
|
|
|
|
|
2018-08-09 12:00:04 +08:00
|
|
|
|
2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/23494
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
|
|
|
|
|
|
2018-07-31 06:35:45 +08:00
|
|
|
|
2018-08-08 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
2018-09-10 10:27:08 +08:00
|
|
|
|
* dwarf.c (decode_location_expresion): Add case for
|
|
|
|
|
DW_OP_GNU_variable_value.
|
2018-07-31 06:35:45 +08:00
|
|
|
|
|
2018-08-06 21:41:32 +08:00
|
|
|
|
2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
|
|
|
|
|
|
2018-08-04 00:08:11 +08:00
|
|
|
|
2018-08-03 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
|
|
|
|
|
identical function notes.
|
|
|
|
|
|
2018-08-01 22:51:57 +08:00
|
|
|
|
2018-08-01 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* README-how-to-make-a-release: Add note about regenerating the
|
|
|
|
|
info files prior to the release.
|
|
|
|
|
|
2018-07-30 23:22:21 +08:00
|
|
|
|
2018-07-30 Andrew Jenner <andrew@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
|
|
|
|
|
|
2018-07-30 22:53:38 +08:00
|
|
|
|
2018-07-30 Andrew Jenner <andrew@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
|
|
|
|
|
|
Add support for the C_SKY series of processors.
This patch series is a new binutils port for C-SKY processors, including support for both the V1 and V2 processor variants. V1 is derived from the MCore architecture while V2 is substantially different, with mixed 16- and 32-bit instructions, a larger register set, a different (but overlapping) ABI, etc. There is support for bare-metal ELF targets and Linux with both glibc and uClibc.
This code is being contributed jointly by C-SKY Microsystems and Mentor Graphics. C-SKY is responsible for the technical content and has proposed Lifang Xia and Yunhai Shang as port maintainers. (Note that C-SKY does have a corporate copyright assignment on file with the FSF.) Mentor Graphics' role has been cleaning up the code, adding documentation and additional test cases, etc, to address issues we anticipated reviewers would complain about.
bfd * Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES): Add C-SKY.
(BFD32_BACKENDS, BFD_BACKENDS_CFILES): Likewise.
* Makefile.in: Regenerated.
* archures.c (enum bfd_architecture): Add bfd_arch_csky and
related bfd_mach defines.
(bfd_csky_arch): Declare.
(bfd_archures_list): Add C-SKY.
* bfd-in.h (elf32_csky_build_stubs): Declare.
(elf32_csky_size_stubs): Declare.
(elf32_csky_next_input_section: Declare.
(elf32_csky_setup_section_lists): Declare.
* bfd-in2.h: Regenerated.
* config.bfd: Add C-SKY.
* configure.ac: Likewise.
* configure: Regenerated.
* cpu-csky.c: New file.
* elf-bfd.h (enum elf_target_id): Add C-SKY.
* elf32-csky.c: New file.
* libbfd.h: Regenerated.
* reloc.c: Add C-SKY relocations.
* targets.c (csky_elf32_be_vec, csky_elf32_le_vec): Declare.
(_bfd_target_vector): Add C-SKY target vector entries.
binutils* readelf.c: Include elf/csky.h.
(guess_is_rela): Handle EM_CSKY.
(dump_relocations): Likewise.
(get_machine_name): Likewise.
(is_32bit_abs_reloc): Likewise.
include * dis-asm.h (csky_symbol_is_valid): Declare.
* opcode/csky.h: New file.
opcodes * Makefile.am (TARGET_LIBOPCODES_CFILES): Add csky-dis.c.
* Makefile.in: Regenerated.
* configure.ac: Add C-SKY.
* configure: Regenerated.
* csky-dis.c: New file.
* csky-opc.h: New file.
* disassemble.c (ARCH_csky): Define.
(disassembler, disassemble_init_for_target): Add case for ARCH_csky.
* disassemble.h (print_insn_csky, csky_get_disassembler): Declare.
gas * Makefile.am (TARGET_CPU_CFILES): Add entry for C-SKY.
(TARGET_CPU_HFILES, TARGET_ENV_HFILES): Likewise.
* Makefile.in: Regenerated.
* config/tc-csky.c: New file.
* config/tc-csky.h: New file.
* config/te-csky_abiv1.h: New file.
* config/te-csky_abiv1_linux.h: New file.
* config/te-csky_abiv2.h: New file.
* config/te-csky_abiv2_linux.h: New file.
* configure.tgt: Add C-SKY.
* doc/Makefile.am (CPU_DOCS): Add entry for C-SKY.
* doc/Makefile.in: Regenerated.
* doc/all.texi: Set CSKY feature.
* doc/as.texi (Overview): Add C-SKY options.
(Machine Dependencies): Likewise.
* doc/c-csky.texi: New file.
* testsuite/gas/csky/*: New test cases.
ld * Makefile.am (ALL_EMULATION_SOURCES): Add C-SKY emulations.
(ecskyelf.c, ecskyelf_linux.c): New rules.
* Makefile.in: Regenerated.
* configure.tgt: Add C-SKY.
* emulparams/cskyelf.sh: New file.
* emulparams/cskyelf_linux.sh: New file.
* emultempl/cskyelf.em: New file.
* gen-doc.texi: Add C-SKY.
* ld.texi: Likewise.
(Options specific to C-SKY targets): New section.
* testsuite/ld-csky/*: New tests.
2018-07-30 19:24:14 +08:00
|
|
|
|
2018-07-30 Andrew Jenner <andrew@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c: Include elf/csky.h.
|
|
|
|
|
(guess_is_rela): Handle EM_CSKY.
|
|
|
|
|
(dump_relocations): Likewise.
|
|
|
|
|
(get_machine_name): Likewise.
|
|
|
|
|
(is_32bit_abs_reloc): Likewise.
|
|
|
|
|
|
2018-07-25 17:56:45 +08:00
|
|
|
|
2018-07-25 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* rdcoff.c (parse_coff_struct_type): Free fields array upon early
|
|
|
|
|
exit.
|
|
|
|
|
(parse_coff_enum_type): Free names and vals arrays upon early
|
|
|
|
|
exit.
|
|
|
|
|
* rddbg.c (read_section_stabs_debugging_info): Free shandle and
|
|
|
|
|
strings and stabs arrays upon early exit.
|
|
|
|
|
* readelf.c (get_32bit_section_headers): Free shdrs structure upon
|
|
|
|
|
early exit.
|
|
|
|
|
(get_64bit_section_headers): Likewise.
|
|
|
|
|
(get_32bit_elf_symbols): Generate an error if multiple symbol
|
|
|
|
|
table index sections are associated with the same symbol section.
|
|
|
|
|
(get_64bit_elf_symbols): Likewise.
|
|
|
|
|
(process_dynamic_section): Generate an error if there are multiple
|
|
|
|
|
dynamic symbol table sections, multiple dynamic string tables or
|
|
|
|
|
multiple dynamic symbol information sections.
|
|
|
|
|
|
2018-07-24 21:07:54 +08:00
|
|
|
|
2018-07-24 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/sv.po: Updated Swedish translation.
|
|
|
|
|
|
2018-07-24 07:41:35 +08:00
|
|
|
|
2018-07-24 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 23431
|
|
|
|
|
* dwarf.c (display_formatted_table): Replace "what" parameter
|
|
|
|
|
with "is_dir". Expand messages. Fix capitalisation.
|
|
|
|
|
* testsuite/binutils-all/dw5.W: Update expected output.
|
|
|
|
|
|
2018-07-24 15:05:52 +08:00
|
|
|
|
2018-07-24 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 23430
|
|
|
|
|
* elfcomm.h (struct archive_info): Rename uses_64bit_indicies
|
|
|
|
|
to uses_64bit_indices.
|
|
|
|
|
* elfcomm.c (setup_archive): Update uses of above.
|
|
|
|
|
* readelf.c (process_archive): Likewise.
|
|
|
|
|
(get_section_type_name): Rename indicies to indices.
|
|
|
|
|
(get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
|
|
|
|
|
(process_section_groups): Likewise.
|
|
|
|
|
|
2018-07-21 07:14:01 +08:00
|
|
|
|
2018-07-20 Maciej W. Rozycki <macro@mips.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
|
|
|
|
|
ISA maintenance.
|
|
|
|
|
|
2018-07-20 22:05:34 +08:00
|
|
|
|
2018-07-20 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* objcopy.c (add_specific_symbols): Free buffer on exit.
|
|
|
|
|
(add_redefine_syms_file): Close file handle on exit.
|
|
|
|
|
(copy_object): Close file handle on early exit.
|
|
|
|
|
Free buffer on early exit.
|
|
|
|
|
Free gaps buffers once they are no longer needed.
|
|
|
|
|
* dwarf.c (display_debug_frames): Free allocated memory on exit.
|
|
|
|
|
(load_separate_debug_info): Free allocate memory on early exit.
|
|
|
|
|
|
2018-07-20 20:21:33 +08:00
|
|
|
|
2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
|
|
|
|
|
Maciej W. Rozycki <macro@mips.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (print_mips_ases): Add MMI extension.
|
|
|
|
|
|
2018-07-20 09:34:37 +08:00
|
|
|
|
2018-07-19 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS (RL78, RX): Remove myself as maintainer.
|
|
|
|
|
|
2018-07-19 21:23:31 +08:00
|
|
|
|
2018-07-19 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (read_cie): Free allocated memory before returning with
|
|
|
|
|
a failure result.
|
|
|
|
|
|
2018-07-16 23:42:22 +08:00
|
|
|
|
2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
|
|
|
|
|
description.
|
|
|
|
|
|
2018-07-16 21:14:17 +08:00
|
|
|
|
2018-07-16 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* README-how-to-make-a-release: Add note to check for new top
|
|
|
|
|
level files and add them to the src-release.sh script.
|
|
|
|
|
|
2018-07-15 03:23:52 +08:00
|
|
|
|
2018-07-14 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* README-how-to-make-a-release: Updated with corrections based on
|
|
|
|
|
the 2.31 release experience.
|
|
|
|
|
|
2018-07-12 00:14:16 +08:00
|
|
|
|
2018-07-12 Francois H. Theron <francois.theron@netronome.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (process_section_headers): Don't print section type
|
|
|
|
|
twice for --section-details.
|
|
|
|
|
|
2018-07-10 10:39:28 +08:00
|
|
|
|
2018-07-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
|
|
|
|
|
zero for xgate.
|
|
|
|
|
|
2018-07-06 20:52:59 +08:00
|
|
|
|
2018-07-06 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (same_section): New function.
|
|
|
|
|
(print_gnu_build_attribute_description): Do not complain about
|
|
|
|
|
gaps that cross a section boundary.
|
|
|
|
|
|
2018-07-05 19:16:56 +08:00
|
|
|
|
2018-07-05 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/bg.po: Updated Bulgarian translation.
|
|
|
|
|
|
2018-07-02 18:18:24 +08:00
|
|
|
|
2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Use command-line consistently when used in a compount word.
|
|
|
|
|
* doc/binutils.texi: Likewise and fix trailing whitespace on same
|
|
|
|
|
line.
|
|
|
|
|
|
2018-06-26 21:03:16 +08:00
|
|
|
|
2018-06-26 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/sv.po: Updated Swedish translation.
|
|
|
|
|
* po/uk.po: Updated Ukranian translation.
|
|
|
|
|
|
2018-06-26 19:56:23 +08:00
|
|
|
|
2018-06-26 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/binutils.texi: Fix spelling mistakes.
|
|
|
|
|
* README--how-to-make-a-release: Likewise.
|
|
|
|
|
|
2018-06-25 11:25:44 +08:00
|
|
|
|
2018-06-25 Tom Tromey <tom@tromey.com>
|
|
|
|
|
|
|
|
|
|
* dwarf-mode.el (dwarf-mode-syntax-table): New variable.
|
|
|
|
|
Bump version number.
|
|
|
|
|
|
2018-06-25 02:13:01 +08:00
|
|
|
|
2018-06-24 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* README-how-to-make-a-release: Update with experiences from
|
|
|
|
|
making 2.31 branch.
|
|
|
|
|
* po/binutils.pot: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2018-06-25 01:36:15 +08:00
|
|
|
|
2018-06-24 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
2.31 branch created.
|
|
|
|
|
* NEWS: Add marker for 2.31.
|
|
|
|
|
|
2018-06-20 12:46:52 +08:00
|
|
|
|
2018-06-21 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
|
|
|
|
|
* doc/Makefile.in: Regenerate.
|
|
|
|
|
|
Bump to autoconf 2.69 and automake 1.15.1
When trying to run the update-gnulib.sh script in gdb, I get this:
Error: Wrong automake version (Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ =:+{}]+)}/ at /opt/automake/1.11.1/bin/automake line 4113.), we need 1.11.1.
Aborting.
Apparently, it's an issue with a regex in automake that triggers a
warning starting with Perl 5.22. It has been fixed in automake 1.15.1.
So I think it's a good excuse to bump the versions of autoconf and
automake used in the gnulib import. And to avoid requiring multiple
builds of autoconf/automake, it was suggested that we bump the required
version of those tools for all binutils-gdb.
For autoconf, the 2.69 version is universally available, so it's an easy
choice. For automake, different distros and distro versions have
different automake versions. But 1.15.1 seems to be the most readily
available as a package. In any case, it's easy to build it from source.
I removed the version checks from AUTOMAKE_OPTIONS and AC_PREREQ,
because I don't think they are useful in our case. They only specify a
lower bound for the acceptable version of automake/autoconf. That's
useful if you let the user choose the version of the tool they want to
use, but want to set a minimum version (because you use a feature that
was introduced in that version). In our case, we force people to use a
specific version anyway. For the autoconf version, we have the check in
config/override.m4 that enforces the version we want. It will be one
less thing to update next time we change autotools version.
I hit a few categories of problems that required some changes. They are
described below along with the chosen solutions.
Problem 1:
configure.ac:17: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.ac:17: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
Solution 1:
Adjust the code based on the example at that URL.
Problem 2 (in zlib/):
Makefile.am: error: required file './INSTALL' not found
Makefile.am: 'automake --add-missing' can install 'INSTALL'
Makefile.am: error: required file './NEWS' not found
Makefile.am: error: required file './AUTHORS' not found
Makefile.am: error: required file './COPYING' not found
Makefile.am: 'automake --add-missing' can install 'COPYING'
Solution 2:
Add the foreign option to AUTOMAKE_OPTIONS.
Problem 3:
doc/Makefile.am:20: error: support for Cygnus-style trees has been removed
Solution 3:
Remove the cygnus options.
Problem 4:
Makefile.am:656: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Solution 4:
Rename "INCLUDES = " to "AM_CPPFLAGS += " (because AM_CPPFLAGS is
already defined earlier).
Problem 5:
doc/Makefile.am:71: warning: suffix '.texinfo' for Texinfo files is discouraged; use '.texi' instead
doc/Makefile.am: warning: Oops!
doc/Makefile.am: It appears this file (or files included by it) are triggering
doc/Makefile.am: an undocumented, soon-to-be-removed automake hack.
doc/Makefile.am: Future automake versions will no longer place in the builddir
doc/Makefile.am: (rather than in the srcdir) the generated '.info' files that
doc/Makefile.am: appear to be cleaned, by e.g. being listed in CLEANFILES or
doc/Makefile.am: DISTCLEANFILES.
doc/Makefile.am: If you want your '.info' files to be placed in the builddir
doc/Makefile.am: rather than in the srcdir, you have to use the shiny new
doc/Makefile.am: 'info-in-builddir' automake option.
Solution 5:
Rename .texinfo files to .texi.
Problem 6:
doc/Makefile.am: warning: Oops!
doc/Makefile.am: It appears this file (or files included by it) are triggering
doc/Makefile.am: an undocumented, soon-to-be-removed automake hack.
doc/Makefile.am: Future automake versions will no longer place in the builddir
doc/Makefile.am: (rather than in the srcdir) the generated '.info' files that
doc/Makefile.am: appear to be cleaned, by e.g. being listed in CLEANFILES or
doc/Makefile.am: DISTCLEANFILES.
doc/Makefile.am: If you want your '.info' files to be placed in the builddir
doc/Makefile.am: rather than in the srcdir, you have to use the shiny new
doc/Makefile.am: 'info-in-builddir' automake option.
Solution 6:
Remove the hack at the bottom of doc/Makefile.am and use
the info-in-builddir automake option.
Problem 7:
doc/Makefile.am:35: error: required file '../texinfo.tex' not found
doc/Makefile.am:35: 'automake --add-missing' can install 'texinfo.tex'
Solution 7:
Use the no-texinfo.tex automake option. We also have one in
texinfo/texinfo.tex, not sure if we should point to that, or move it
(or a newer version of it added with automake --add-missing) to
top-level.
Problem 8:
Makefile.am:131: warning: source file 'config/tc-aarch64.c' is in a subdirectory,
Makefile.am:131: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
Solution 8:
Use subdir-objects, that means adjusting references to some .o that will now
be in config/.
Problem 9:
configure.ac:375: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from...
configure.ac:375: the top level
Solution 9:
Use AC_LANG_SOURCE, or use proper quoting.
Problem 10 (in intl/):
configure.ac:7: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
/usr/share/aclocal/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from...
/usr/share/aclocal/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from...
/usr/share/aclocal/threadlib.m4:318: gl_THREADLIB is expanded from...
/usr/share/aclocal/lock.m4:9: gl_LOCK is expanded from...
/usr/share/aclocal/intl.m4:211: gt_INTL_SUBDIR_CORE is expanded from...
/usr/share/aclocal/intl.m4:25: AM_INTL_SUBDIR is expanded from...
/usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.ac:7: the top level
Solution 10:
Add AC_USE_SYSTEM_EXTENSIONS in configure.ac.
ChangeLog:
* libtool.m4: Use AC_LANG_SOURCE.
* configure.ac: Remove AC_PREREQ, use AC_LANG_SOURCE.
* README-maintainer-mode: Update version requirements.
* ar-lib: New file.
* test-driver: New file.
* configure: Re-generate.
bfd/ChangeLog:
* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11.
(INCLUDES): Rename to ...
(AM_CPPFLAGS): ... this.
* configure.ac: Remove AC_PREREQ.
* doc/Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9, cygnus, add
info-in-builddir no-texinfo.tex.
(info_TEXINFOS): Rename bfd.texinfo to bfd.texi.
* doc/bfd.texinfo: Rename to ...
* doc/bfd.texi: ... this.
* Makefile.in: Re-generate.
* aclocal.m4: Re-generate.
* config.in: Re-generate.
* configure: Re-generate.
* doc/Makefile.in: Re-generate.
binutils/ChangeLog:
* configure.ac: Remove AC_PREREQ.
* doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
info-in-builddir no-texinfo.tex.
* Makefile.in: Re-generate.
* aclocal.m4: Re-generate.
* config.in: Re-generate.
* configure: Re-generate.
* doc/Makefile.in: Re-generate.
config/ChangeLog:
* override.m4 (_GCC_AUTOCONF_VERSION): Bump from 2.64 to 2.69.
etc/ChangeLog:
* configure.in: Remove AC_PREREQ.
* configure: Re-generate.
gas/ChangeLog:
* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11, add subdir-objects.
(TARG_CPU_O, OBJ_FORMAT_O, ATOF_TARG_O): Add config/ prefix.
* configure.ac (TARG_CPU_O, OBJ_FORMAT_O, ATOF_TARG_O, emfiles,
extra_objects): Add config/ prefix.
* doc/as.texinfo: Rename to...
* doc/as.texi: ... this.
* doc/Makefile.am: Rename as.texinfo to as.texi throughout.
Remove DISTCLEANFILES hack.
(AUTOMAKE_OPTIONS): Remove 1.8, cygnus, add no-texinfo.tex and
info-in-builddir.
* Makefile.in: Re-generate.
* aclocal.m4: Re-generate.
* config.in: Re-generate.
* configure: Re-generate.
* doc/Makefile.in: Re-generate.
gdb/ChangeLog:
* common/common-defs.h (PACKAGE_NAME, PACKAGE_VERSION,
PACKAGE_STRING, PACKAGE_TARNAME): Undefine.
* configure.ac: Remove AC_PREREQ, add missing quoting.
* gnulib/configure.ac: Modernize usage of
AC_INIT/AM_INIT_AUTOMAKE. Remove AC_PREREQ.
* gnulib/update-gnulib.sh (AUTOCONF_VERSION): Bump to 2.69.
(AUTOMAKE_VERSION): Bump to 1.15.1.
* configure: Re-generate.
* config.in: Re-generate.
* aclocal.m4: Re-generate.
* gnulib/aclocal.m4: Re-generate.
* gnulib/config.in: Re-generate.
* gnulib/configure: Re-generate.
* gnulib/import/Makefile.in: Re-generate.
gdb/gdbserver/ChangeLog:
* configure.ac: Remove AC_PREREQ, add missing quoting.
* configure: Re-generate.
* config.in: Re-generate.
* aclocal.m4: Re-generate.
gdb/testsuite/ChangeLog:
* configure.ac: Remove AC_PREREQ.
* configure: Re-generate.
gold/ChangeLog:
* configure.ac: Remove AC_PREREQ, add missing quoting and usage
of AC_LANG_SOURCE.
* Makefile.in: Re-generate.
* aclocal.m4: Re-generate.
* configure: Re-generate.
* testsuite/Makefile.in: Re-generate.
gprof/ChangeLog:
* configure.ac: Remove AC_PREREQ.
* Makefile.am: Remove DISTCLEANFILES hack.
(AUTOMAKE_OPTIONS): Remove 1.11, add info-in-builddir.
* Makefile.in: Re-generate.
* aclocal.m4: Re-generate.
* configure: Re-generate.
* gconfig.in: Re-generate.
intl/ChangeLog:
* configure.ac: Add AC_USE_SYSTEM_EXTENSIONS, remove AC_PREREQ.
* configure: Re-generate.
* config.h.in: Re-generate.
* aclocal.m4: Re-generate.
ld/ChangeLog:
* configure.ac: Remove AC_PREREQ.
* Makefile.am: Remove DISTCLEANFILES hack, rename ld.texinfo to
ld.texi, ldint.texinfo to ldint.texi throughout.
(AUTOMAKE_OPTIONS): Add info-in-builddir.
* README: Rename ld.texinfo to ld.texi, ldint.texinfo to
ldint.texi throughout.
* gen-doc.texi: Likewise.
* h8-doc.texi: Likewise.
* ld.texinfo: Rename to ...
* ld.texi: ... this.
* ldint.texinfo: Rename to ...
* ldint.texi: ... this.
* Makefile.in: Re-generate.
* aclocal.m4: Re-generate.
* config.in: Re-generate.
* configure: Re-generate.
libdecnumber/ChangeLog:
* configure.ac: Remove AC_PREREQ.
* configure: Re-generate.
* aclocal.m4.
libiberty/ChangeLog:
* configure.ac: Remove AC_PREREQ.
* configure: Re-generate.
* config.in: Re-generate.
opcodes/ChangeLog:
* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11.
* configure.ac: Remove AC_PREREQ.
* Makefile.in: Re-generate.
* aclocal.m4: Re-generate.
* configure: Re-generate.
readline/ChangeLog.gdb:
* configure: Re-generate.
* examples/rlfe/configure: Re-generate.
sim/ChangeLog:
* All configure.ac: Remove AC_PREREQ.
* All configure: Re-generate.
zlib/ChangeLog.bin-gdb:
* configure.ac: Modernize AC_INIT call, remove AC_PREREQ.
* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8, cygnus, add
foreign.
* Makefile.in: Re-generate.
* aclocal.m4: Re-generate.
* configure: Re-generate.
2018-06-20 04:54:48 +08:00
|
|
|
|
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Remove AC_PREREQ.
|
|
|
|
|
* doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
|
|
|
|
|
info-in-builddir no-texinfo.tex.
|
|
|
|
|
* Makefile.in: Re-generate.
|
|
|
|
|
* aclocal.m4: Re-generate.
|
|
|
|
|
* config.in: Re-generate.
|
|
|
|
|
* configure: Re-generate.
|
|
|
|
|
* doc/Makefile.in: Re-generate.
|
|
|
|
|
|
2018-06-19 22:39:40 +08:00
|
|
|
|
2018-06-19 Andreas Schwab <schwab@suse.de>
|
|
|
|
|
|
|
|
|
|
* readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
|
|
|
|
|
(is_8bit_abs_reloc): New function.
|
|
|
|
|
(is_6bit_abs_reloc): New function.
|
|
|
|
|
(is_6bit_inplace_sub_reloc): New function.
|
|
|
|
|
(apply_relocations): Use them. Handle 6-bit relocations.
|
|
|
|
|
|
MIPS: Add Global INValidate ASE support
Add support for the Global INValidate Application Specific Extension
for Release 6 of the MIPS Architecture.
[1] "MIPS Architecture for Programmers Volume II-A: The MIPS32
Instruction Set Manual", Imagination Technologies Ltd., Document
Number: MD00086, Revision 6.06, December 15, 2016, Section 3.2
"Alphabetical List of Instructions", pp. 187-191
bfd/
* elfxx-mips.c (print_mips_ases): Add GINV extension.
binutils/
* readelf.c (print_mips_ases): Add GINV extension.
gas/
* NEWS: Mention MIPS Global INValidate ASE support.
* config/tc-mips.c (options): Add OPTION_GINV and OPTION_NO_GINV.
(md_longopts): Likewise.
(mips_ases): Define availability for GINV.
(mips_convert_ase_flags): Map ASE_GINV to AFL_ASE_GINV.
(md_show_usage): Add help for -mginv and -mno-ginv.
* doc/as.texinfo: Document -mginv, -mno-ginv.
* doc/c-mips.texi: Document -mginv, -mno-ginv, .set ginv and
.set noginv.
* testsuite/gas/mips/ase-errors-1.s: Add error checks for GINV
ASE.
* testsuite/gas/mips/ase-errors-2.s: Likewise.
* testsuite/gas/mips/ase-errors-1.l: Likewise.
* testsuite/gas/mips/ase-errors-2.l: Likewise.
* testsuite/gas/mips/ginv.d: New test.
* testsuite/gas/mips/ginv-err.d: New test.
* testsuite/gas/mips/ginv-err.l: New test stderr output.
* testsuite/gas/mips/ginv.s: New test source.
* testsuite/gas/mips/ginv-err.s: New test source.
* testsuite/gas/mips/mips.exp: Run the new tests.
include/
* elf/mips.h (AFL_ASE_GINV, AFL_ASE_RESERVED1): New macros.
(AFL_ASE_MASK): Update to include AFL_ASE_GINV.
* opcode/mips.h: Document "+\" operand format.
(ASE_GINV): New macro.
opcodes/
* mips-dis.c (mips_arch_choices): Add GINV to mips32r6 and
mips64r6 descriptors.
(parse_mips_ase_option): Handle -Mginv option.
(print_mips_disassembler_options): Document -Mginv.
* mips-opc.c (decode_mips_operand) <+\>: New operand format.
(GINV): New macro.
(mips_opcodes): Define ginvi and ginvt.
2018-06-15 04:34:49 +08:00
|
|
|
|
2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (print_mips_ases): Add GINV extension.
|
|
|
|
|
|
2018-06-14 20:37:19 +08:00
|
|
|
|
2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/23267
|
|
|
|
|
* readelf.c (get_symbol_version_string): Check if the first
|
|
|
|
|
symbol version is base version.
|
|
|
|
|
|
MIPS: Add CRC ASE support
Add support for the CRC Application Specific Extension for Release 6 of
the MIPS Architecture.
[1] "MIPS Architecture for Programmers Volume II-A: The MIPS32
Instruction Set Manual", Imagination Technologies Ltd., Document
Number: MD00086, Revision 6.06, December 15, 2016, Section 3.2
"Alphabetical List of Instructions", pp. 143-148
[2] "MIPS Architecture for Programmers Volume II-A: The MIPS64
Instruction Set Manual", Imagination Technologies Ltd., Document
Number: MD00087, Revision 6.06, December 15, 2016, Section 3.2
"Alphabetical List of Instructions", pp. 165-170
ChangeLog:
bfd/
2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
Faraz Shahbazker <Faraz.Shahbazker@mips.com>
* elfxx-mips.c (print_mips_ases): Add CRC.
binutils/
2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
Faraz Shahbazker <Faraz.Shahbazker@mips.com>
* readelf.c (print_mips_ases): Add CRC.
gas/
2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
Faraz Shahbazker <Faraz.Shahbazker@mips.com>
Maciej W. Rozycki <macro@mips.com>
* config/tc-mips.c (options): Add OPTION_CRC and OPTION_NO_CRC.
(md_longopts): Likewise.
(md_show_usage): Add help for -mcrc and -mno-crc.
(mips_ases): Define availability for CRC and CRC64.
(mips_convert_ase_flags): Map ASE_CRC to AFL_ASE_CRC.
* doc/as.texinfo: Document -mcrc, -mno-crc.
* doc/c-mips.texi: Document -mcrc, -mno-crc, .set crc and
.set no-crc.
* testsuite/gas/mips/ase-errors-1.l: Add error checks for CRC
ASE.
* testsuite/gas/mips/ase-errors-2.l: Likewise.
* testsuite/gas/mips/ase-errors-1.s: Likewise.
* testsuite/gas/mips/ase-errors-2.s: Likewise.
* testsuite/gas/mips/crc.d: New test.
* testsuite/gas/mips/crc64.d: New test.
* testsuite/gas/mips/crc-err.d: New test.
* testsuite/gas/mips/crc64-err.d: New test.
* testsuite/gas/mips/crc-err.l: New test stderr output.
* testsuite/gas/mips/crc64-err.l: New test stderr output.
* testsuite/gas/mips/crc.s: New test source.
* testsuite/gas/mips/crc64.s: New test source.
* testsuite/gas/mips/crc-err.s: New test source.
* testsuite/gas/mips/crc64-err.s: New test source.
* testsuite/gas/mips/mips.exp: Run the new tests.
include/
2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
Faraz Shahbazker <Faraz.Shahbazker@mips.com>
* elf/mips.h (AFL_ASE_CRC): New macro.
(AFL_ASE_MASK): Update to include AFL_ASE_CRC.
* opcode/mips.h (ASE_CRC): New macro.
* opcode/mips.h (ASE_CRC64): Likewise.
opcodes/
2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
Faraz Shahbazker <Faraz.Shahbazker@mips.com>
* mips-dis.c (mips_arch_choices): Add CRC and CRC64 ASEs.
* mips-opc.c (CRC, CRC64): New macros.
(mips_builtin_opcodes): Define crc32b, crc32h, crc32w,
crc32cb, crc32ch and crc32cw for CRC. Define crc32d and
crc32cd for CRC64.
2018-06-13 22:39:05 +08:00
|
|
|
|
2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
|
|
|
|
|
Faraz Shahbazker <Faraz.Shahbazker@mips.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (print_mips_ases): Add CRC.
|
|
|
|
|
|
2018-06-13 18:51:15 +08:00
|
|
|
|
2018-06-13 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/binutils.texi (objdump): Add missing closing square
|
|
|
|
|
parenthesis to listing of objcopy's command line options.
|
|
|
|
|
|
2018-06-11 17:51:16 +08:00
|
|
|
|
2018-06-11 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/es.po: Updated Spanish translation.
|
|
|
|
|
|
2018-06-02 00:34:04 +08:00
|
|
|
|
2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2018-05-29 09:23:18 +08:00
|
|
|
|
2018-05-31 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
|
|
|
|
|
set CC_FOR_TARGET. Run test non-native.
|
|
|
|
|
* testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
|
|
|
|
|
Likewise.
|
|
|
|
|
(test_follow_debuglink): Run test non-native.
|
|
|
|
|
|
2018-05-31 00:06:26 +08:00
|
|
|
|
2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 23107
|
|
|
|
|
* ar.c (display_offsets): New variable.
|
|
|
|
|
(usage): Add description of 'O' operator.
|
|
|
|
|
(decode_option): Handle 'O' operator.
|
|
|
|
|
(print_descr): Pass display_offsets to print_arelt_descr.
|
|
|
|
|
* arsup.c: Update call to printy_arelt_descr.
|
|
|
|
|
* objdump.c: Likewise.
|
|
|
|
|
* bucomm.c (print_arelt_descr): If offsets parameter is true then
|
|
|
|
|
display offset of archive element within the archive.
|
|
|
|
|
* bucomm.h: Update prototype for print_arelt_descr.
|
|
|
|
|
* doc/binutils.texi: Update description of ar command.
|
|
|
|
|
* NEWS: Mention the new feature.
|
|
|
|
|
* testsuite/binutils-all/ar.exp: Add text of new feature.
|
|
|
|
|
|
2018-05-28 15:00:23 +08:00
|
|
|
|
2018-05-28 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 23235
|
|
|
|
|
* testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
|
|
|
|
|
unsupported rather than fail on compile errors.
|
|
|
|
|
* testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
|
|
|
|
|
Likewise. Save and restore CFLAGS_FOR_TARGET.
|
|
|
|
|
|
2018-05-19 05:03:18 +08:00
|
|
|
|
2018-05-18 Kito Cheng <kito.cheng@gmail.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
|
|
|
|
|
|
2018-05-18 22:26:18 +08:00
|
|
|
|
2018-05-18 John Darrington <john@darrington.wattle.id.au>
|
|
|
|
|
|
|
|
|
|
* readelf.c: Add support for s12z architecture.
|
|
|
|
|
* testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
|
|
|
|
|
targets.
|
|
|
|
|
|
Implement Read/Write constraints on system registers on AArch64
This patch adds constraints for read and write only system registers with the
msr and mrs instructions. The code will treat having both flags set and none
set as the same. These flags add constraints that must be matched up. e.g. a
system register with a READ only flag set, can only be used with mrs. If The
constraint fails a warning is emitted.
Examples of the warnings generated:
test.s: Assembler messages:
test.s:5: Warning: specified register cannot be written to at operand 1 -- `msr dbgdtrrx_el0,x3'
test.s:7: Warning: specified register cannot be read from at operand 2 -- `mrs x3,dbgdtrtx_el0'
test.s:8: Warning: specified register cannot be written to at operand 1 -- `msr midr_el1,x3'
and disassembly notes:
0000000000000000 <main>:
0: d5130503 msr dbgdtrtx_el0, x3
4: d5130503 msr dbgdtrtx_el0, x3
8: d5330503 mrs x3, dbgdtrrx_el0
c: d5330503 mrs x3, dbgdtrrx_el0
10: d5180003 msr midr_el1, x3 ; note: writing to a read-only register.
Note that because dbgdtrrx_el0 and dbgdtrtx_el0 have the same encoding, during
disassembly the constraints are use to disambiguate between the two. An exact
constraint match is always prefered over partial ones if available.
As always the warnings can be suppressed with -w and also be made errors using
warnings as errors.
binutils/
PR binutils/21446
* doc/binutils.texi (-M): Document AArch64 options.
gas/
PR binutils/21446
* testsuite/gas/aarch64/illegal-sysreg-2.s: Fix pmbidr_el1 test.
* testsuite/gas/aarch64/illegal-sysreg-2.l: Likewise.
* testsuite/gas/aarch64/illegal-sysreg-2.d: Likewise.
* testsuite/gas/aarch64/sysreg-diagnostic.s: New.
* testsuite/gas/aarch64/sysreg-diagnostic.l: New.
* testsuite/gas/aarch64/sysreg-diagnostic.d: New.
include/
PR binutils/21446
* opcode/aarch64.h (F_SYS_READ, F_SYS_WRITE): New.
opcodes/
PR binutils/21446
* aarch64-asm.c (opintl.h): Include.
(aarch64_ins_sysreg): Enforce read/write constraints.
* aarch64-dis.c (aarch64_ext_sysreg): Likewise.
* aarch64-opc.h (F_DEPRECATED, F_ARCHEXT, F_HASXT): Moved here.
(F_REG_READ, F_REG_WRITE): New.
* aarch64-opc.c (aarch64_print_operand): Generate notes for
AARCH64_OPND_SYSREG.
(F_DEPRECATED, F_ARCHEXT, F_HASXT): Move to aarch64-opc.h.
(aarch64_sys_regs): Add constraints to currentel, midr_el1, ctr_el0,
mpidr_el1, revidr_el1, aidr_el1, dczid_el0, id_dfr0_el1, id_pfr0_el1,
id_pfr1_el1, id_afr0_el1, id_mmfr0_el1, id_mmfr1_el1, id_mmfr2_el1,
id_mmfr3_el1, id_mmfr4_el1, id_isar0_el1, id_isar1_el1, id_isar2_el1,
id_isar3_el1, id_isar4_el1, id_isar5_el1, mvfr0_el1, mvfr1_el1,
mvfr2_el1, ccsidr_el1, id_aa64pfr0_el1, id_aa64pfr1_el1,
id_aa64dfr0_el1, id_aa64dfr1_el1, id_aa64isar0_el1, id_aa64isar1_el1,
id_aa64mmfr0_el1, id_aa64mmfr1_el1, id_aa64mmfr2_el1, id_aa64afr0_el1,
id_aa64afr0_el1, id_aa64afr1_el1, id_aa64zfr0_el1, clidr_el1,
csselr_el1, vsesr_el2, erridr_el1, erxfr_el1, rvbar_el1, rvbar_el2,
rvbar_el3, isr_el1, tpidrro_el0, cntfrq_el0, cntpct_el0, cntvct_el0,
mdccsr_el0, dbgdtrrx_el0, dbgdtrtx_el0, osdtrrx_el1, osdtrtx_el1,
mdrar_el1, oslar_el1, oslsr_el1, dbgauthstatus_el1, pmbidr_el1,
pmsidr_el1, pmswinc_el0, pmceid0_el0, pmceid1_el0.
* aarch64-tbl.h (aarch64_opcode_table): Add constraints to
msr (F_SYS_WRITE), mrs (F_SYS_READ).
2018-05-15 23:37:20 +08:00
|
|
|
|
2018-05-15 Tamar Christina <tamar.christina@arm.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/21446
|
|
|
|
|
* doc/binutils.texi (-M): Document AArch64 options.
|
|
|
|
|
|
2018-05-15 23:34:54 +08:00
|
|
|
|
2018-05-15 Tamar Christina <tamar.christina@arm.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/21446
|
|
|
|
|
* doc/binutils.texi (-M): Document AArch64 options.
|
|
|
|
|
* NEWS: Document notes and warnings.
|
|
|
|
|
|
2018-05-15 14:30:57 +08:00
|
|
|
|
2018-05-15 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
|
|
|
|
|
cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
|
|
|
|
|
and *uclinux* into *linux*.
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp: Accept armeb for rel
|
|
|
|
|
strip-13 test, exclude arm-vxworks and arm-windiss.
|
|
|
|
|
|
2018-05-10 19:51:42 +08:00
|
|
|
|
2018-05-10 John Darrington <john@darrington.wattle.id.au>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_machine_name): EM_S12Z - handle new case.
|
|
|
|
|
|
2018-05-09 19:05:43 +08:00
|
|
|
|
2018-05-09 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
|
|
|
|
|
|
2018-05-09 14:20:29 +08:00
|
|
|
|
2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
|
|
|
|
|
|
|
|
|
|
* od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
|
|
|
|
|
|
2018-05-08 13:02:04 +08:00
|
|
|
|
2018-05-08 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 23141
|
|
|
|
|
* objcopy.c (is_strip_section): Strip groups without a valid
|
|
|
|
|
signature symbol.
|
|
|
|
|
|
2018-05-07 21:11:47 +08:00
|
|
|
|
2018-05-07 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 23142
|
|
|
|
|
* objcopy.c (group_signature): Don't accept groups that use a
|
|
|
|
|
symbol table other than the one we've read.
|
|
|
|
|
|
2018-05-01 00:02:59 +08:00
|
|
|
|
2018-04-30 Francois H. Theron <francois.theron@netronome.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c: Very basic support for EM_NFP and its section types.
|
|
|
|
|
* testsuite/binutils-all/nfp: New directory.
|
|
|
|
|
* testsuite/binutils-all/nfp/objdump.exp: New file. Run new
|
|
|
|
|
tests.
|
|
|
|
|
* testsuite/binutils-all/nfp/test2_ctx8.d: New file.
|
|
|
|
|
* testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
|
|
|
|
|
* testsuite/binutils-all/nfp/test1.d: New file.
|
|
|
|
|
* testsuite/binutils-all/nfp/nfp6000.nffw: New file.
|
|
|
|
|
* testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
|
|
|
|
|
* NEWS: Mention the new support.
|
|
|
|
|
|
testsuite: Support filtering targets by TCL procedure in `run_dump_test'
Implement a more complex way of selecting targets to include or exclude
with `run_dump_test' cases, by extending the syntax for the `target',
`not-target', `skip' and `not-skip' options (with the binutils and GAS
test suites) and the `target', `alltargets' and `notarget' options (with
the LD test suite) to also accept a name of a TCL procedure instead of a
target triplet glob matching expression. The result, 1 or 0, of the
procedure determines whether the test is to be run or not. This mimics
and expands `dg-require-effective-target' from the GCC test suite.
Names of TCL procedures are supplied in square brackets `[]' as with TCL
procedure calls, observing that target triplet glob matching expressions
do not normally start and end with matching square brackets both at a
time. Arguments for procedures are allowed if required.
Having a way to specify a complex condition for a `run_dump_test' case
to run has the advantage of keeping it local within the test case itself
where tool options related to the check might be also present, removing
the need to wrap `run_dump_test' calls into an `if' block whose only
reason is to do a feature check, and ultimately lets one have the test
reported as UNSUPPORTED automagically if required (not currently
supported by the `run_dump_test' options used for LD).
binutils/
* testsuite/lib/binutils-common.exp (match_target): New procedure.
* testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
of `istarget' for matching with `target', `not-target', `skip'
and `not-skip' options.
gas/
* testsuite/lib/gas-defs.exp (run_dump_test): Use `match_target'
in place of `istarget' for matching with `target', `not-target',
`skip' and `not-skip' options.
ld/
* testsuite/lib/ld-lib.exp (run_dump_test): Use `match_target'
in place of `istarget' for matching with `target', `alltargets'
and `notarget' options.
2018-04-27 22:25:20 +08:00
|
|
|
|
2018-04-27 Maciej W. Rozycki <macro@mips.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/lib/binutils-common.exp (match_target): New procedure.
|
|
|
|
|
* testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
|
|
|
|
|
of `istarget' for matching with `target', `not-target', `skip'
|
|
|
|
|
and `not-skip' options.
|
|
|
|
|
|
2018-04-26 22:12:42 +08:00
|
|
|
|
2018-04-26 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
|
|
|
|
|
32-bit absolute reloc for the HPPA target.
|
|
|
|
|
* testsuite/binutils-all/note-5.d: New test.
|
|
|
|
|
* testsuite/binutils-all/note-5.s: Source file for new test.
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp: Run new test.
|
|
|
|
|
|
2018-04-19 04:55:29 +08:00
|
|
|
|
2018-04-25 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
|
|
|
|
|
* testsuite/binutils-all/elfedit-3.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp: Likewise.
|
|
|
|
|
* testsuite/binutils-all/strip-3.d: Likewise.
|
|
|
|
|
* testsuite/lib/binutils-common.exp: Likewise.
|
|
|
|
|
|
2018-03-20 17:54:50 +08:00
|
|
|
|
2018-04-25 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
Mickaël Guêné <mickael.guene@st.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
|
|
|
|
|
(get_osabi_name): Support ELFOSABI_ARM_FDPIC.
|
|
|
|
|
|
2018-04-16 19:03:36 +08:00
|
|
|
|
2018-04-25 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
|
|
|
|
|
arm-coff support.
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp: Likewise.
|
|
|
|
|
* testsuite/lib/binutils-common.exp: Likewise.
|
|
|
|
|
|
2018-04-18 19:03:03 +08:00
|
|
|
|
2018-04-18 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 23062
|
|
|
|
|
* dwarf.c (read_and_display_attr_value): Replace assertions with
|
|
|
|
|
test and warning message.
|
|
|
|
|
|
2018-04-16 20:44:01 +08:00
|
|
|
|
2018-04-18 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/lib/binutils-common.exp: Remove support for assorted
|
|
|
|
|
aout targets.
|
|
|
|
|
|
2018-04-17 19:35:55 +08:00
|
|
|
|
2018-04-17 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
2018-04-17 23:19:19 +08:00
|
|
|
|
PR 23063
|
2018-04-17 23:15:03 +08:00
|
|
|
|
* readelf.c (print_symbol): If the width is zero, return straight
|
|
|
|
|
away.
|
|
|
|
|
|
2018-04-17 19:35:55 +08:00
|
|
|
|
PR 23064
|
|
|
|
|
* dwarf.c (process_cu_tu_index): Test for a potential buffer
|
|
|
|
|
overrun before copying signature pointer.
|
|
|
|
|
|
2018-04-17 07:30:57 +08:00
|
|
|
|
2018-04-17 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
|
|
|
|
|
|
2018-04-16 21:51:58 +08:00
|
|
|
|
2018-04-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_machine_name): Correct typo.
|
|
|
|
|
|
2018-04-16 18:59:05 +08:00
|
|
|
|
2018-04-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Remove arm-epoc-pe support.
|
|
|
|
|
* dlltool.c: Likewise.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2018-04-16 14:03:26 +08:00
|
|
|
|
2018-04-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/lib/binutils-common.exp: Remove sparc-aout and
|
|
|
|
|
sparc-coff support.
|
|
|
|
|
|
2018-04-16 14:01:36 +08:00
|
|
|
|
2018-04-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
|
|
|
|
|
support.
|
|
|
|
|
* testsuite/binutils-all/copy-3.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp: Likewise.
|
|
|
|
|
* testsuite/lib/binutils-common.exp: Likewise.
|
|
|
|
|
|
2018-04-16 13:59:39 +08:00
|
|
|
|
2018-04-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
|
|
|
|
|
|
2018-04-16 13:56:05 +08:00
|
|
|
|
2018-04-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp: Remove w65 support.
|
|
|
|
|
|
2018-04-16 13:54:43 +08:00
|
|
|
|
2018-04-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/objdump.exp: Remove we32k support.
|
|
|
|
|
|
2018-04-16 13:53:38 +08:00
|
|
|
|
2018-04-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS (Mark Kettenis): Move to past maintainers.
|
|
|
|
|
* testsuite/binutils-all/objdump.exp: Remove m88k support.
|
|
|
|
|
|
2018-04-16 13:51:56 +08:00
|
|
|
|
2018-04-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c: Remove i370 support.
|
|
|
|
|
* testsuite/binutils-all/objdump.exp: Likewise.
|
|
|
|
|
|
2018-04-16 13:49:41 +08:00
|
|
|
|
2018-04-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp: Remove h8500 support.
|
|
|
|
|
* testsuite/lib/binutils-common.exp: Likewise.
|
|
|
|
|
|
2018-04-16 13:47:57 +08:00
|
|
|
|
2018-04-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
|
|
|
|
|
|
2018-04-16 13:46:00 +08:00
|
|
|
|
2018-04-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Remove IEEE 695 support.
|
|
|
|
|
* budbg.h: Likewise.
|
|
|
|
|
* doc/binutils.texi: Likewise.
|
|
|
|
|
* makefile.vms: Likewise.
|
|
|
|
|
* objcopy.c: Likewise.
|
|
|
|
|
* objdump.c: Likewise.
|
|
|
|
|
* rddbg.c: Likewise.
|
|
|
|
|
* ieee.c: Delete.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* po/POTFILES.in: Regenerate.
|
|
|
|
|
|
2018-04-16 13:43:07 +08:00
|
|
|
|
2018-04-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/copy-2.d: Remove newsos3 support.
|
|
|
|
|
* testsuite/binutils-all/nm.exp: Likewise.
|
|
|
|
|
|
2018-04-16 13:41:22 +08:00
|
|
|
|
2018-04-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* .gitignore: Remove netware support.
|
|
|
|
|
* Makefile.am: Likewise.
|
|
|
|
|
* configure.ac: Likewise.
|
|
|
|
|
* doc/Makefile.am: Likewise.
|
|
|
|
|
* doc/binutils.texi: Likewise.
|
|
|
|
|
* testsuite/binutils-all/nm.exp: Likewise.
|
|
|
|
|
* nlmconv.c: Delete.
|
|
|
|
|
* nlmconv.h: Delete.
|
|
|
|
|
* nlmheader.y: Delete.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* doc/Makefile.in: Regenerate.
|
|
|
|
|
* po/POTFILES.in: Regenerate.
|
|
|
|
|
|
2018-04-16 13:38:40 +08:00
|
|
|
|
2018-04-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/objdump.exp: Remove tahoe support.
|
|
|
|
|
|
2018-04-14 09:20:16 +08:00
|
|
|
|
2018-04-14 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_machine_name): Revert 2018-04-11 change.
|
|
|
|
|
|
2018-04-12 22:41:07 +08:00
|
|
|
|
2018-04-12 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 23050
|
|
|
|
|
* readelf.c (process_dynamic_section): Correct dynamic string
|
|
|
|
|
table size calculation.
|
|
|
|
|
|
Remove i860, i960, bout and aout-adobe targets
Plus remove a few leftovers from the 29k support.
include/
* aout/adobe.h: Delete.
* aout/reloc.h: Delete.
* coff/i860.h: Delete.
* coff/i960.h: Delete.
* elf/i860.h: Delete.
* elf/i960.h: Delete.
* opcode/i860.h: Delete.
* opcode/i960.h: Delete.
* aout/aout64.h (enum reloc_type): Trim off 29k and other unused values.
* aout/ar.h (ARMAGB): Remove.
* coff/internal.h (struct internal_aouthdr, struct internal_scnhdr,
union internal_auxent): Remove i960 support.
bfd/
* aout-adobe.c: Delete.
* bout.c: Delete.
* coff-i860.c: Delete.
* coff-i960.c: Delete.
* cpu-i860.c: Delete.
* cpu-i960.c: Delete.
* elf32-i860.c: Delete.
* elf32-i960.c: Delete.
* hosts/i860mach3.h: Delete.
* Makefile.am: Remove i860, i960, bout, and adobe support.
* archures.c: Remove i860 and i960 support.
* coffcode.h: Likewise.
* reloc.c: Likewise.
* aoutx.h: Comment updates.
* archive.c: Remove BOUT and i960 support.
* bfd.c: Remove BOUT support.
* coffswap.h: Remove i960 support.
* config.bfd: Remove i860, i960 and adobe targets.
* configure.ac: Remove adode, bout, i860, i960, icoff targets.
* targets.c: Likewise.
* ieee.c: Remove i960 support.
* mach-o.c: Remove i860 support.
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* libbfd.h: Regenerate.
* po/SRC-POTFILES.in: Regenerate.
opcodes/
* opcodes/i860-dis.c: Delete.
* opcodes/i960-dis.c: Delete.
* Makefile.am: Remove i860 and i960 support.
* configure.ac: Likewise.
* disassemble.c: Likewise.
* disassemble.h: Likewise.
* Makefile.in: Regenerate.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
binutils/
* ieee.c: Remove i960 support.
* od-macho.c: Remove i860 support.
* readelf.c: Remove i860 and i960 support.
* testsuite/binutils-all/objcopy.exp: Likewise.
* testsuite/binutils-all/objdump.exp: Likewise.
* testsuite/lib/binutils-common.exp: Likewise.
gas/
* config/aout_gnu.h: Delete.
* config/tc-i860.c: Delete.
* config/tc-i860.h: Delete.
* config/tc-i960.c: Delete.
* config/tc-i960.h: Delete.
* doc/c-i860.texi: Delete.
* doc/c-i960.texi: Delete.
* testsuite/gas/i860/README.i860: Delete.
* testsuite/gas/i860/bitwise.d: Delete.
* testsuite/gas/i860/bitwise.s: Delete.
* testsuite/gas/i860/branch.d: Delete.
* testsuite/gas/i860/branch.s: Delete.
* testsuite/gas/i860/bte.d: Delete.
* testsuite/gas/i860/bte.s: Delete.
* testsuite/gas/i860/dir-align01.d: Delete.
* testsuite/gas/i860/dir-align01.s: Delete.
* testsuite/gas/i860/dir-intel01.d: Delete.
* testsuite/gas/i860/dir-intel01.s: Delete.
* testsuite/gas/i860/dir-intel02.d: Delete.
* testsuite/gas/i860/dir-intel02.s: Delete.
* testsuite/gas/i860/dir-intel03-err.l: Delete.
* testsuite/gas/i860/dir-intel03-err.s: Delete.
* testsuite/gas/i860/dual01.d: Delete.
* testsuite/gas/i860/dual01.s: Delete.
* testsuite/gas/i860/dual02-err.l: Delete.
* testsuite/gas/i860/dual02-err.s: Delete.
* testsuite/gas/i860/dual03.d: Delete.
* testsuite/gas/i860/dual03.s: Delete.
* testsuite/gas/i860/fldst01.d: Delete.
* testsuite/gas/i860/fldst01.s: Delete.
* testsuite/gas/i860/fldst02.d: Delete.
* testsuite/gas/i860/fldst02.s: Delete.
* testsuite/gas/i860/fldst03.d: Delete.
* testsuite/gas/i860/fldst03.s: Delete.
* testsuite/gas/i860/fldst04.d: Delete.
* testsuite/gas/i860/fldst04.s: Delete.
* testsuite/gas/i860/fldst05.d: Delete.
* testsuite/gas/i860/fldst05.s: Delete.
* testsuite/gas/i860/fldst06.d: Delete.
* testsuite/gas/i860/fldst06.s: Delete.
* testsuite/gas/i860/fldst07.d: Delete.
* testsuite/gas/i860/fldst07.s: Delete.
* testsuite/gas/i860/fldst08.d: Delete.
* testsuite/gas/i860/fldst08.s: Delete.
* testsuite/gas/i860/float01.d: Delete.
* testsuite/gas/i860/float01.s: Delete.
* testsuite/gas/i860/float02.d: Delete.
* testsuite/gas/i860/float02.s: Delete.
* testsuite/gas/i860/float03.d: Delete.
* testsuite/gas/i860/float03.s: Delete.
* testsuite/gas/i860/float04.d: Delete.
* testsuite/gas/i860/float04.s: Delete.
* testsuite/gas/i860/form.d: Delete.
* testsuite/gas/i860/form.s: Delete.
* testsuite/gas/i860/i860.exp: Delete.
* testsuite/gas/i860/iarith.d: Delete.
* testsuite/gas/i860/iarith.s: Delete.
* testsuite/gas/i860/ldst01.d: Delete.
* testsuite/gas/i860/ldst01.s: Delete.
* testsuite/gas/i860/ldst02.d: Delete.
* testsuite/gas/i860/ldst02.s: Delete.
* testsuite/gas/i860/ldst03.d: Delete.
* testsuite/gas/i860/ldst03.s: Delete.
* testsuite/gas/i860/ldst04.d: Delete.
* testsuite/gas/i860/ldst04.s: Delete.
* testsuite/gas/i860/ldst05.d: Delete.
* testsuite/gas/i860/ldst05.s: Delete.
* testsuite/gas/i860/ldst06.d: Delete.
* testsuite/gas/i860/ldst06.s: Delete.
* testsuite/gas/i860/pfam.d: Delete.
* testsuite/gas/i860/pfam.s: Delete.
* testsuite/gas/i860/pfmam.d: Delete.
* testsuite/gas/i860/pfmam.s: Delete.
* testsuite/gas/i860/pfmsm.d: Delete.
* testsuite/gas/i860/pfmsm.s: Delete.
* testsuite/gas/i860/pfsm.d: Delete.
* testsuite/gas/i860/pfsm.s: Delete.
* testsuite/gas/i860/pseudo-ops01.d: Delete.
* testsuite/gas/i860/pseudo-ops01.s: Delete.
* testsuite/gas/i860/regress01.d: Delete.
* testsuite/gas/i860/regress01.s: Delete.
* testsuite/gas/i860/shift.d: Delete.
* testsuite/gas/i860/shift.s: Delete.
* testsuite/gas/i860/simd.d: Delete.
* testsuite/gas/i860/simd.s: Delete.
* testsuite/gas/i860/system.d: Delete.
* testsuite/gas/i860/system.s: Delete.
* testsuite/gas/i860/xp.d: Delete.
* testsuite/gas/i860/xp.s: Delete.
* Makefile.am: Remove i860 and i960 support.
* configure.tgt: Likewise.
* doc/Makefile.am: Likewise.
* doc/all.texi: Likewise.
* testsuite/gas/all/gas.exp
* config/obj-coff.h: Remove i960 support.
* doc/internals.texi: Likewise.
* expr.c: Likewise.
* read.c: Likewise.
* write.c: Likewise.
* write.h: Likewise.
* testsuite/gas/lns/lns.exp: Likewise.
* testsuite/gas/symver/symver.exp: Likewise.
* config/tc-m68k.c: Remove BOUT support.
* config/tc-score.c: Likewise.
* config/tc-score7.c: Likewise.
* config/tc-sparc.c: Likewise.
* symbols.c: Likewise.
* doc/h8.texi: Likewise.
* configure.ac: Remove BOUT and i860 support.
* doc/as.texinfo: Remove BOUT, i860 and i960 support
* Makefile.in: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.
ld/
* emulparams/coff_i860.sh: Delete.
* emulparams/elf32_i860.sh: Delete.
* emulparams/elf32_i960.sh: Delete.
* emulparams/gld960.sh: Delete.
* emulparams/gld960coff.sh: Delete.
* emulparams/lnk960.sh: Delete.
* emultempl/gld960.em: Delete.
* emultempl/gld960c.em: Delete.
* emultempl/lnk960.em: Delete.
* scripttempl/i860coff.sc: Delete.
* scripttempl/i960.sc: Delete.
* ld.texinfo: Remove i960 support.
* Makefile.am: Remove i860 and i960 support.
* configure.tgt: Likewise.
* testsuite/ld-discard/extern.d: Likewise.
* testsuite/ld-discard/start.d: Likewise.
* testsuite/ld-discard/static.d: Likewise.
* testsuite/ld-elf/compressed1d.d: Likewise.
* testsuite/ld-elf/group1.d: Likewise.
* testsuite/ld-elf/group3b.d: Likewise.
* testsuite/ld-elf/group8a.d: Likewise.
* testsuite/ld-elf/group8b.d: Likewise.
* testsuite/ld-elf/group9a.d: Likewise.
* testsuite/ld-elf/group9b.d: Likewise.
* testsuite/ld-elf/linkonce2.d: Likewise.
* testsuite/ld-elf/merge.d: Likewise.
* testsuite/ld-elf/merge2.d: Likewise.
* testsuite/ld-elf/merge3.d: Likewise.
* testsuite/ld-elf/orphan-10.d: Likewise.
* testsuite/ld-elf/orphan-11.d: Likewise.
* testsuite/ld-elf/orphan-12.d: Likewise.
* testsuite/ld-elf/orphan-9.d: Likewise.
* testsuite/ld-elf/orphan-region.d: Likewise.
* testsuite/ld-elf/orphan.d: Likewise.
* testsuite/ld-elf/orphan3.d: Likewise.
* testsuite/ld-elf/pr12851.d: Likewise.
* testsuite/ld-elf/pr12975.d: Likewise.
* testsuite/ld-elf/pr13177.d: Likewise.
* testsuite/ld-elf/pr13195.d: Likewise.
* testsuite/ld-elf/pr17550a.d: Likewise.
* testsuite/ld-elf/pr17550b.d: Likewise.
* testsuite/ld-elf/pr17550c.d: Likewise.
* testsuite/ld-elf/pr17550d.d: Likewise.
* testsuite/ld-elf/pr17615.d: Likewise.
* testsuite/ld-elf/pr20528a.d: Likewise.
* testsuite/ld-elf/pr20528b.d: Likewise.
* testsuite/ld-elf/pr21562a.d: Likewise.
* testsuite/ld-elf/pr21562b.d: Likewise.
* testsuite/ld-elf/pr21562c.d: Likewise.
* testsuite/ld-elf/pr21562d.d: Likewise.
* testsuite/ld-elf/pr21562i.d: Likewise.
* testsuite/ld-elf/pr21562j.d: Likewise.
* testsuite/ld-elf/pr21562k.d: Likewise.
* testsuite/ld-elf/pr21562l.d: Likewise.
* testsuite/ld-elf/pr21562m.d: Likewise.
* testsuite/ld-elf/pr21562n.d: Likewise.
* testsuite/ld-elf/pr22677.d: Likewise.
* testsuite/ld-elf/pr22836-1a.d: Likewise.
* testsuite/ld-elf/pr22836-1b.d: Likewise.
* testsuite/ld-elf/pr349.d: Likewise.
* testsuite/ld-elf/sec-to-seg.exp: Likewise.
* testsuite/ld-elf/sec64k.exp: Likewise.
* testsuite/ld-elf/warn1.d: Likewise.
* testsuite/ld-elf/warn2.d: Likewise.
* testsuite/ld-elf/warn3.d: Likewise.
* testsuite/lib/ld-lib.exp: Likewise.
* Makefile.in: Regenerate.
* po/BLD-POTFILES.in: Regenerate.
2018-04-11 17:16:05 +08:00
|
|
|
|
2018-04-11 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ieee.c: Remove i960 support.
|
|
|
|
|
* od-macho.c: Remove i860 support.
|
|
|
|
|
* readelf.c: Remove i860 and i960 support.
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp: Likewise.
|
|
|
|
|
* testsuite/binutils-all/objdump.exp: Likewise.
|
|
|
|
|
* testsuite/lib/binutils-common.exp: Likewise.
|
|
|
|
|
|
2018-03-29 04:59:01 +08:00
|
|
|
|
2018-04-11 Maciej W. Rozycki <macro@mips.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/lib/binutils-common.exp (is_elf_format): Also return
|
|
|
|
|
1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
|
|
|
|
|
|
2018-04-10 07:44:29 +08:00
|
|
|
|
2018-04-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
|
|
|
|
|
reloc=11 for pru and reloc=50 for nds32.
|
|
|
|
|
* testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
|
|
|
|
|
|
2018-04-09 20:42:01 +08:00
|
|
|
|
2018-04-09 Maciej W. Rozycki <macro@mips.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/strip-15.d: New test.
|
|
|
|
|
* testsuite/binutils-all/strip-15rel.s: New test source.
|
|
|
|
|
* testsuite/binutils-all/strip-15rela.s: New test source.
|
|
|
|
|
* testsuite/binutils-all/strip-15mips64.s: New test source.
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp: Run the new test.
|
|
|
|
|
|
2018-04-09 20:42:00 +08:00
|
|
|
|
2018-04-09 Maciej W. Rozycki <macro@mips.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/strip-14.d: New test.
|
|
|
|
|
* testsuite/binutils-all/strip-14rel.s: New test source.
|
|
|
|
|
* testsuite/binutils-all/strip-14rela.s: New test source.
|
|
|
|
|
* testsuite/binutils-all/strip-14mips64.s: New test source.
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp: Run the new test.
|
|
|
|
|
|
2018-04-06 00:52:29 +08:00
|
|
|
|
2018-04-06 Tom Tromey <tom@tromey.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (read_and_display_attr_value): Add missing DW_LANG
|
|
|
|
|
constants from DWARF 5.
|
|
|
|
|
|
2018-04-06 06:31:41 +08:00
|
|
|
|
2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/22318
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2018-04-06 05:35:25 +08:00
|
|
|
|
2018-04-05 Maciej W. Rozycki <macro@mips.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
|
|
|
|
|
than `.dc.w' in second relocation.
|
|
|
|
|
|
2018-04-05 20:08:35 +08:00
|
|
|
|
2018-04-05 Maciej W. Rozycki <macro@mips.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/strip-13.d: Also expect `unsupported
|
|
|
|
|
relocation type 0x8f' error message.
|
|
|
|
|
|
binutils/testsuite: Support REL and MIPS64 reloc formats with `strip-13'
Add source variants for the `strip-13' test that produce relocations in
the REL and MIPS64 formats, fixing a failure for the `mips64el-openbsd'
target. This also corrects output for `i*86-*', `i960-*', `m6812-*' and
`m68hc12-*', o32 `mips*-*', and `score*-*' targets, which however does
not show up as a test result change due to lax error message matching
causing `bad value' previously produced by `strip' as a result of input
file rejection to be accepted as a test pass.
For `m6811-*' aka `m68hc11-*' targets this causes a phantom regression,
because they use 16-bit addressing and therefore `.dc.a' emits 16-bit
quantities causing relocation data constructed in assembly not to be as
expected. Previously input was rejected by `strip' with a `bad value'
message and now it is accepted, however due to the relocation data error
the relocation number is not one of the unsupported ones and the tool
completes successfully, which scores as a test failure.
Disable the test case for `m6811-*' and `m68hc11-*' targets then, as it
is a test case bug rather than a problem with the relevant backend. A
separate change to the test case is required to correct this problem, at
which point the test case can be enabled for the affected targets.
binutils/
* testsuite/binutils-all/strip-13.s: Rename to...
* testsuite/binutils-all/strip-13rela.s: ... this.
* testsuite/binutils-all/strip-13rel.s: New test source.
* testsuite/binutils-all/strip-13mips64.s: New test source.
* testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
`dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
`m68hc11-*' to `not-target' list.
* testsuite/binutils-all/objcopy.exp: Switch between sources for
`strip-13'.
2018-04-05 20:08:35 +08:00
|
|
|
|
2018-04-05 Maciej W. Rozycki <macro@mips.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/strip-13.s: Rename to...
|
|
|
|
|
* testsuite/binutils-all/strip-13rela.s: ... this.
|
|
|
|
|
* testsuite/binutils-all/strip-13rel.s: New test source.
|
|
|
|
|
* testsuite/binutils-all/strip-13mips64.s: New test source.
|
|
|
|
|
* testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
|
|
|
|
|
`dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
|
|
|
|
|
`m68hc11-*' to `not-target' list.
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp: Switch between sources for
|
|
|
|
|
`strip-13'.
|
|
|
|
|
|
2018-04-05 20:08:35 +08:00
|
|
|
|
2018-04-05 Maciej W. Rozycki <macro@mips.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
|
|
|
|
|
241 (0xf1) for the relocation number and RELA addend.
|
|
|
|
|
* testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
|
|
|
|
|
`not-target' list.
|
|
|
|
|
|
2018-04-05 06:29:17 +08:00
|
|
|
|
2018-04-04 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Update my e-mail address.
|
|
|
|
|
|
2018-04-04 15:35:19 +08:00
|
|
|
|
2018-04-04 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Move Jason Eckhardt to past maintainers section.
|
|
|
|
|
|
2018-03-23 20:20:03 +08:00
|
|
|
|
2018-03-23 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
|
|
|
|
|
symbols.
|
|
|
|
|
(print_gnu_build_attribute_description): If no file start symbol
|
|
|
|
|
could be found, look for one two bytes into the file.
|
|
|
|
|
* testsuite/binutils-all/note-4-64.s: Set the address of the file
|
|
|
|
|
start symbol to two bytes into the file.
|
|
|
|
|
* testsuite/binutils-all/note-4-32.s: Likewise.
|
|
|
|
|
|
2018-03-22 03:55:40 +08:00
|
|
|
|
2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
|
|
|
|
|
DF_1_WEAKFILTER and DF_1_NOCOMMON.
|
|
|
|
|
|
2018-03-20 19:05:18 +08:00
|
|
|
|
2018-03-20 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/es.po: Updated Spanish translation.
|
|
|
|
|
* po/ru.po: Updated Russian translation.
|
|
|
|
|
|
2018-03-14 01:03:04 +08:00
|
|
|
|
2018-03-13 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 22957
|
|
|
|
|
* stabs.c (pop_binincl): Fail if the file index is off the end of
|
|
|
|
|
the stack.
|
|
|
|
|
|
2018-03-14 00:10:45 +08:00
|
|
|
|
2018-03-13 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 22955
|
|
|
|
|
* stabs.c (parse_number): Add p_end parameter and use it to check
|
|
|
|
|
the validity of the pp parameter. Add checks to prevent walking
|
|
|
|
|
off the end of the string buffer.
|
|
|
|
|
(parse_stab_string): Likewise.
|
|
|
|
|
(parse_stab_type): Likewise.
|
|
|
|
|
(parse_stab_type_number): Likewise.
|
|
|
|
|
(parse_stab_range_type): Likewise.
|
|
|
|
|
(parse_stab_sun_builtin_type): Likewise.
|
|
|
|
|
(parse_stab_sun_floating_type): Likewise.
|
|
|
|
|
(parse_stab_enum_type): Likewise.
|
|
|
|
|
(parse_stab_struct_type): Likewise.
|
|
|
|
|
(parse_stab_baseclasses): Likewise.
|
|
|
|
|
(parse_stab_struct_fields): Likewise.
|
|
|
|
|
(parse_stab_cpp_abbrev): Likewise.
|
|
|
|
|
(parse_stab_one_struct_field): Likewise.
|
|
|
|
|
(parse_stab_members): Likewise.
|
|
|
|
|
(parse_stab_tilde_field): Likewise.
|
|
|
|
|
(parse_stab_array_type): Likewise.
|
2018-03-14 01:03:04 +08:00
|
|
|
|
|
2018-03-14 00:10:45 +08:00
|
|
|
|
* parse_stab: Compute the end of the string and then pass it on to
|
|
|
|
|
individual parser functions.
|
|
|
|
|
|
2018-03-08 10:16:34 +08:00
|
|
|
|
2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/22923
|
|
|
|
|
* binutils/readelf.c (get_ver_flags): Expand buffer to avoid
|
|
|
|
|
overflow.
|
|
|
|
|
|
2018-03-07 08:36:15 +08:00
|
|
|
|
2018-03-07 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Add objdump_private_desc_xcoff for rs6000.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2018-03-05 19:44:46 +08:00
|
|
|
|
2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/22911
|
|
|
|
|
* objdump.c (is_significant_symbol_name): Return TRUE for all
|
|
|
|
|
.plt* sections.
|
|
|
|
|
(find_symbol_for_address): Replace linear search with binary
|
|
|
|
|
search on dynamic relocations.
|
|
|
|
|
|
2018-03-02 00:14:08 +08:00
|
|
|
|
2018-03-01 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 22905
|
|
|
|
|
* dwarf.c (display_debug_ranges): Check that the offset loaded
|
|
|
|
|
from the range_entry structure is valid.
|
|
|
|
|
|
2018-03-01 05:56:51 +08:00
|
|
|
|
2018-03-01 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac (ALL_LINGUAS): Add sr. Sort.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2018-02-27 20:27:30 +08:00
|
|
|
|
2018-02-27 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/pt.po: New Portuguese translation.
|
|
|
|
|
* configure.ac (ALL_LINGUAS): Add pt.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails.
bfd PR 22875
* elf-bfd.h (struct elf_backend_data): Change the return type of
the elf_info_to_howto and elf_info_to_howto_rel function pointers
to bfd_boolean.
* elfcode.h (elf_slurp_reloc_table_from_section): Check the return value from the info_to_howto function and fail if that function failed.
* elf32-h8300.c (elf32_h8_relocate_section): Check return value from the info_to_howto function.
(elf32_h8_relax_section): Likewise.
* elf32-lm32.c (lm32_elf_relocate_section): Likewise.
* elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise.
* elf32-score.c (s3_bfd_score_elf_relocate_section): Likewise.
* elf32-score7.c (s7_bfd_score_elf_relocate_section): Likewise.
* elf32-tic6x.c (elf32_tic6x_relocate_section): Likewise.
* elf64-ia64-vms.c (elf64_ia64_relocate_section): Likewise.
* elf64-sparc.c (elf64_sparc_slurp_one_reloc_table): Likewise.
* elf64-x86-64.c (elf_x86_64_tls_transition): Likewise.
* elfnn-ia64.c (elfNN_ia64_relocate_section): Likewise.
* elfnn-riscv.c (riscv_elf_check_relocs): Likewise.
(riscv_elf_relocate_section): Likewise.
* elf-hppa.h (elf_hppa_info_to_howto): Change return type to
bfd_boolean. Issue an error message, set an error value and
return FALSE if the reloc is not recognized.
(elf_hppa_info_to_howto_rel): Likewise.
* elf-m10200.c (mn10200_info_to_howto): Likewise.
* elf-m10300.c (mn10300_info_to_howto): Likewise.
* elf.c (_bfd_elf_no_info_to_howto): Likewise.
* elf32-arc.c (arc_info_to_howto_rel): Likewise.
* elf32-arm.c (elf32_arm_info_to_howto): Likewise.
* elf32-avr.c (avr_info_to_howto_rela): Likewise.
* elf32-bfin.c (bfin_info_to_howto): Likewise.
* elf32-cr16.c (elf_cr16_info_to_howto): Likewise.
* elf32-cr16c.c (elf_cr16c_info_to_howto): Likewise.
* elf32-cris.c (elf_cr16c_info_to_howto_rel, cris_info_to_howto_rela): Likewise.
* elf32-crx.c (elf_crx_info_to_howto): Likewise.
* elf32-d10v.c (d10v_info_to_howto_rel): Likewise.
* elf32-d30v.c (d30v_info_to_howto_rel, d30v_info_to_howto_rela): Likewise.
* elf32-dlx.c (dlx_rtype_to_howto, elf32_dlx_info_to_howto, elf32_dlx_info_to_howto_rel): Likewise.
* elf32-epiphany.c (epiphany_info_to_howto_rela): Likewise.
* elf32-fr30.c (fr30_info_to_howto_rela): Likewise.
* elf32-frv.c (frv_info_to_howto_rela, frvfdpic_info_to_howto_rel): Likewise.
* elf32-ft32.c (ft32_info_to_howto_rela): Likewise.
* elf32-gen.c (elf_generic_info_to_howto, elf_generic_info_to_howto_rel): Likewise.
* elf32-h8300.c (elf32_h8_info_to_howto, elf32_h8_info_to_howto_rel): Likewise.
* elf32-i370.c (i370_elf_info_to_howto): Likewise.
* elf32-i386.c (elf_i386_reloc_type_lookup, elf_i386_rtype_to_howto, elf_i386_info_to_howto_rel): Likewise.
* elf32-i860.c (lookup_howto, elf32_i860_info_to_howto_rela): Likewise.
* elf32-i960.c (elf32_i960_info_to_howto_rel): Likewise.
* elf32-ip2k.c (ip2k_info_to_howto_rela): Likewise.
* elf32-iq2000.c (iq2000_info_to_howto_rela): Likewise.
* elf32-lm32.c (lm32_info_to_howto_rela): Likewise.
* elf32-m32c.c (m32c_info_to_howto_rela): Likewise.
* elf32-m32r.c (m32r_info_to_howto_rel, m32r_info_to_howto): Likewise.
* elf32-m68hc11.c (m68hc11_info_to_howto_rel): Likewise.
* elf32-m68hc12.c (m68hc11_info_to_howto_rel): Likewise.
* elf32-m68k.c (rtype_to_howto): Likewise.
* elf32-mcore.c (mcore_elf_info_to_howto): Likewise.
* elf32-mep.c (mep_info_to_howto_rela): Likewise.
* elf32-metag.c (metag_info_to_howto_rela): Likewise.
* elf32-microblaze.c (microblaze_elf_info_to_howto): Likewise.
* elf32-mips.c (mips_info_to_howto_rel, mips_info_to_howto_rela): Likewise.
* elf32-moxie.c (moxie_info_to_howto_rela): Likewise.
* elf32-msp430.c (msp430_info_to_howto_rela): Likewise.
* elf32-mt.c (mt_info_to_howto_rela): Likewise.
* elf32-nds32.c (nds32_info_to_howto_rel, nds32_info_to_howto): Likewise.
* elf32-nios2.c (nios2_elf32_info_to_howto): Likewise.
* elf32-or1k.c (or1k_info_to_howto_rela): Likewise.
* elf32-pj.c (pj_elf_info_to_howto): Likewise.
* elf32-ppc.c (ppc_elf_info_to_howto): Likewise.
* elf32-pru.c (pru_elf32_info_to_howto): Likewise.
* elf32-rl78.c (rl78_info_to_howto_rela): Likewise.
* elf32-rx.c (rx_info_to_howto_rela): Likewise.
* elf32-s390.c (elf_s390_info_to_howto): Likewise.
* elf32-score.c (s3_bfd_score_info_to_howto, _bfd_score_info_to_howto): Likewise.
* elf32-score7.c (s7_bfd_score_info_to_howto): Likewise.
* elf32-sh.c (sh_elf_info_to_howto): Likewise.
* elf32-spu.c (spu_elf_info_to_howto): Likewise.
* elf32-tic6x.c (elf32_tic6x_info_to_howto, elf32_tic6x_info_to_howto_rel): Likewise.
* elf32-tilepro.c (tilepro_info_to_howto_rela): Likewise.
* elf32-v850.c (v850_elf_info_to_howto_rel, v850_elf_info_to_howto_rela, v800_elf_info_to_howto): Likewise.
* elf32-vax.c (rtype_to_howto): Likewise.
* elf32-visium.c (visium_info_to_howto_rela): Likewise.
* elf32-wasm32.c (elf32_wasm32_rtype_to_howto, elf32_wasm32_info_to_howto_rela): Likewise.
* elf32-xc16x.c (elf32_xc16x_info_to_howto): Likewise.
* elf32-xgate.c (xgate_info_to_howto_rel): Likewise.
* elf32-xstormy16.c (xstormy16_info_to_howto_rela): Likewise.
* elf32-xtensa.c (elf_xtensa_info_to_howto_rela): Likewise.
* elf64-alpha.c (elf64_alpha_info_to_howto): Likewise.
* elf64-gen.c (elf_generic_info_to_howto, elf_generic_info_to_howto_rel): Likewise.
* elf64-ia64-vms.c (elf64_ia64_info_to_howto): Likewise.
* elf64-mips.c (mips_elf64_info_to_howto_rela): Likewise.
* elf64-mmix.c (mmix_info_to_howto_rela): Likewise.
* elf64-ppc.c (ppc64_elf_info_to_howto): Likewise.
* elf64-s390.c (elf_s390_reloc_type_lookup): Likewise.
* elf64-sh64.c (elf_s390_info_to_howto, sh_elf64_info_to_howto): Likewise.
* elf64-x86-64.c (elf_x86_64_info_to_howto): Likewise.
* elfn32-mips.c (mips_info_to_howto_rel, mips_info_to_howto_rela): Likewise.
* elfnn-aarch64.c (elfNN_aarch64_info_to_howto): Likewise.
* elfnn-ia64.c (elfNN_ia64_info_to_howto): Likewise.
* elfnn-riscv.c (riscv_info_to_howto_rela): Likewise.
* elfxx-ia64.c (ia64_elf_reloc_type_lookup): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_info_to_howto): Likewise.
* elfxx-tilegx.c (tilegx_info_to_howto_rela): Likewise.
* elf32-score.h (s7_bfd_score_info_to_howto): Update prototype.
* elfxx-sparc.h (_bfd_sparc_elf_info_to_howto): Update prototype.
* elfxx-tilegx.h (tilegx_info_to_howto_rela): Update prototype.
* elfxx-target.h (elf_info_to_howto, elf_info_to_howto_rel): Default to NULL.
binutils PR 22875
* objcopy.c (copy_object): Check the error status after marking symbols used in relocations.
* testsuite/binutils-all/strip-13.s: New test source file.
* testsuite/binutils-all/strip-13.s: New test driver file.
* testsuite/binutils-all/objcopy.exp: Run the new test.
2018-02-27 18:15:13 +08:00
|
|
|
|
2018-02-27 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 22875
|
|
|
|
|
* objcopy.c (copy_object): Check the error status after marking
|
|
|
|
|
symbols used in relocations.
|
|
|
|
|
* testsuite/binutils-all/strip-13.s: New test source file.
|
|
|
|
|
* testsuite/binutils-all/strip-13.s: New test driver file.
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp: Run the new test.
|
|
|
|
|
|
MIPS messages
More standardization of messages.
bfd/
* elfxx-mips.c: Standardize error/warning messages.
binutils/
* testsuite/binutils-all/mips/mips-reginfo-n32.d,
* testsuite/binutils-all/mips/mips-reginfo.d: Update.
gas/
* testsuite/gas/mips/reginfo-2.l: Update.
ld/
* testsuite/ld-mips-elf/attr-gnu-4-12.d,
* testsuite/ld-mips-elf/attr-gnu-4-13.d,
* testsuite/ld-mips-elf/attr-gnu-4-14.d,
* testsuite/ld-mips-elf/attr-gnu-4-16.d,
* testsuite/ld-mips-elf/attr-gnu-4-17.d,
* testsuite/ld-mips-elf/attr-gnu-4-18.d,
* testsuite/ld-mips-elf/attr-gnu-4-19.d,
* testsuite/ld-mips-elf/attr-gnu-4-21.d,
* testsuite/ld-mips-elf/attr-gnu-4-23.d,
* testsuite/ld-mips-elf/attr-gnu-4-24.d,
* testsuite/ld-mips-elf/attr-gnu-4-25.d,
* testsuite/ld-mips-elf/attr-gnu-4-26.d,
* testsuite/ld-mips-elf/attr-gnu-4-27.d,
* testsuite/ld-mips-elf/attr-gnu-4-28.d,
* testsuite/ld-mips-elf/attr-gnu-4-29.d,
* testsuite/ld-mips-elf/attr-gnu-4-31.d,
* testsuite/ld-mips-elf/attr-gnu-4-32.d,
* testsuite/ld-mips-elf/attr-gnu-4-34.d,
* testsuite/ld-mips-elf/attr-gnu-4-35.d,
* testsuite/ld-mips-elf/attr-gnu-4-36.d,
* testsuite/ld-mips-elf/attr-gnu-4-37.d,
* testsuite/ld-mips-elf/attr-gnu-4-38.d,
* testsuite/ld-mips-elf/attr-gnu-4-39.d,
* testsuite/ld-mips-elf/attr-gnu-4-41.d,
* testsuite/ld-mips-elf/attr-gnu-4-42.d,
* testsuite/ld-mips-elf/attr-gnu-4-43.d,
* testsuite/ld-mips-elf/attr-gnu-4-45.d,
* testsuite/ld-mips-elf/attr-gnu-4-46.d,
* testsuite/ld-mips-elf/attr-gnu-4-47.d,
* testsuite/ld-mips-elf/attr-gnu-4-48.d,
* testsuite/ld-mips-elf/attr-gnu-4-49.d,
* testsuite/ld-mips-elf/attr-gnu-4-52.d,
* testsuite/ld-mips-elf/attr-gnu-4-53.d,
* testsuite/ld-mips-elf/attr-gnu-4-54.d,
* testsuite/ld-mips-elf/attr-gnu-4-58.d,
* testsuite/ld-mips-elf/attr-gnu-4-59.d,
* testsuite/ld-mips-elf/attr-gnu-4-61.d,
* testsuite/ld-mips-elf/attr-gnu-4-62.d,
* testsuite/ld-mips-elf/attr-gnu-4-63.d,
* testsuite/ld-mips-elf/attr-gnu-4-64.d,
* testsuite/ld-mips-elf/attr-gnu-4-68.d,
* testsuite/ld-mips-elf/attr-gnu-4-69.d,
* testsuite/ld-mips-elf/attr-gnu-4-71.d,
* testsuite/ld-mips-elf/attr-gnu-4-72.d,
* testsuite/ld-mips-elf/attr-gnu-4-73.d,
* testsuite/ld-mips-elf/attr-gnu-4-74.d,
* testsuite/ld-mips-elf/attr-gnu-4-78.d,
* testsuite/ld-mips-elf/attr-gnu-4-79.d,
* testsuite/ld-mips-elf/attr-gnu-4-81.d,
* testsuite/ld-mips-elf/attr-gnu-4-89.d,
* testsuite/ld-mips-elf/attr-gnu-8-12.d,
* testsuite/ld-mips-elf/attr-gnu-8-21.d,
* testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d,
* testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d,
* testsuite/ld-mips-elf/bal-jalx-pic-micromips.d,
* testsuite/ld-mips-elf/bal-jalx-pic-n32.d,
* testsuite/ld-mips-elf/bal-jalx-pic-n64.d,
* testsuite/ld-mips-elf/bal-jalx-pic.d,
* testsuite/ld-mips-elf/mode-change-error-1.d,
* testsuite/ld-mips-elf/unaligned-branch-2.d,
* testsuite/ld-mips-elf/unaligned-branch-ignore-2.d,
* testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d,
* testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d,
* testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d,
* testsuite/ld-mips-elf/unaligned-branch-micromips.d,
* testsuite/ld-mips-elf/unaligned-branch-mips16.d,
* testsuite/ld-mips-elf/unaligned-branch-r6-1.d,
* testsuite/ld-mips-elf/unaligned-branch-r6-2.d,
* testsuite/ld-mips-elf/unaligned-branch.d,
* testsuite/ld-mips-elf/unaligned-jalx-1.d,
* testsuite/ld-mips-elf/unaligned-jalx-3.d,
* testsuite/ld-mips-elf/unaligned-jalx-addend-1.d,
* testsuite/ld-mips-elf/unaligned-jalx-addend-3.d,
* testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d,
* testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d,
* testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d,
* testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d,
* testsuite/ld-mips-elf/unaligned-jump-micromips.d,
* testsuite/ld-mips-elf/unaligned-jump-mips16.d,
* testsuite/ld-mips-elf/unaligned-jump.d: Update.
2018-02-20 18:32:16 +08:00
|
|
|
|
2018-02-26 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/mips/mips-reginfo-n32.d,
|
|
|
|
|
* testsuite/binutils-all/mips/mips-reginfo.d: Update.
|
|
|
|
|
|
BFD messages
bfd/
* archive.c, * bfd.c, * linker.c, * reloc.c, * stabs.c,
* syms.c: Standardize error/warning messages.
binutils/
* testsuite/binutils-all/mips/mips-reginfo-n32.d,
* testsuite/binutils-all/mips/mips-reginfo.d: Update.
gas/
* testsuite/gas/mips/reginfo-2.l: Update.
ld/
* testsuite/ld-arm/cmse-implib-errors.out,
* testsuite/ld-arm/cmse-new-earlier-later-implib.out,
* testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
* testsuite/ld-arm/cmse-new-wrong-implib.out,
* testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
* testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
* testsuite/ld-cris/badgotr1.d,
* testsuite/ld-cris/tls-err-24.d,
* testsuite/ld-cris/tls-err-25.d,
* testsuite/ld-cris/tls-err-26.d,
* testsuite/ld-cris/tls-err-27.d,
* testsuite/ld-cris/tls-err-28.d,
* testsuite/ld-cris/tls-err-40.d,
* testsuite/ld-cris/tls-err-44.d,
* testsuite/ld-cris/tls-err-48.d,
* testsuite/ld-cris/tls-err-52.d,
* testsuite/ld-cris/tls-err-53.d,
* testsuite/ld-cris/tls-err-55.d,
* testsuite/ld-cris/tls-err-56.d,
* testsuite/ld-cris/tls-err-62.d,
* testsuite/ld-cris/tls-err-65.d,
* testsuite/ld-cris/tls-err-77.d,
* testsuite/ld-elf/empty-implib.out,
* testsuite/ld-elf/indirect.exp: Update.
2018-02-21 10:39:29 +08:00
|
|
|
|
2018-02-23 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/mips/mips-reginfo-n32.d,
|
|
|
|
|
* testsuite/binutils-all/mips/mips-reginfo.d: Update.
|
|
|
|
|
|
2018-02-20 21:33:15 +08:00
|
|
|
|
2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
|
|
|
|
|
|
|
|
|
|
* doc/binutils.texi (objcopy): Add missing closing square
|
|
|
|
|
parenthesis to listing of objcopy's command line options.
|
|
|
|
|
|
2018-02-19 19:56:53 +08:00
|
|
|
|
2018-02-19 Matthias Klose <doko@debian.org>
|
|
|
|
|
|
|
|
|
|
* strings.c (long_options): Include-all-whitespace does not take
|
2018-09-10 10:27:08 +08:00
|
|
|
|
an extra agument.
|
2018-02-19 19:56:53 +08:00
|
|
|
|
|
2018-02-13 11:39:48 +08:00
|
|
|
|
2018-02-13 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 22836
|
|
|
|
|
* testsuite/binutils-all/group-7.s,
|
|
|
|
|
* testsuite/binutils-all/group-7a.d,
|
|
|
|
|
* testsuite/binutils-all/group-7b.d,
|
|
|
|
|
* testsuite/binutils-all/group-7c.d: New tests.
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp: Run them.
|
|
|
|
|
|
2018-02-08 20:29:07 +08:00
|
|
|
|
2018-02-08 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 22802
|
|
|
|
|
* dwarf.c (load_separate_debug_file): Return early if the user is
|
|
|
|
|
not interested in debug links.
|
|
|
|
|
|
2018-02-07 00:05:13 +08:00
|
|
|
|
2018-02-06 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 22793
|
|
|
|
|
* readelf.c (find_section): Replace assertion with test and return
|
|
|
|
|
of NULL.
|
|
|
|
|
(find_section_by_address): Add test of section header table
|
|
|
|
|
existance.
|
|
|
|
|
(find_section_by_type): Likewise.
|
|
|
|
|
(find_section_in_set): Likewise.
|
|
|
|
|
|
2018-02-05 22:00:21 +08:00
|
|
|
|
2018-02-05 Maciej W. Rozycki <macro@mips.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/binutils-all/mips/mips-reginfo.d: New test.
|
|
|
|
|
* testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
|
|
|
|
|
* testsuite/binutils-all/mips/mips-reginfo.s: New test source.
|
|
|
|
|
* testsuite/binutils-all/mips/mips.exp: Run the new tests.
|
|
|
|
|
|
2018-02-05 22:00:21 +08:00
|
|
|
|
2018-02-05 Maciej W. Rozycki <macro@mips.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/config/default.exp (binutils_run): Document
|
|
|
|
|
`binutils_run_status'.
|
|
|
|
|
* testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
|
|
|
|
|
and set it.
|
|
|
|
|
(run_dump_test): Add `error', `error_output', `warning' and
|
|
|
|
|
`warning_output' options. Update documentation accordingly.
|
|
|
|
|
|
2018-02-02 23:25:31 +08:00
|
|
|
|
2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (dwarf_regnames_riscv): New register name table.
|
|
|
|
|
(init_dwarf_regnames_riscv): New function.
|
|
|
|
|
(init_dwarf_regnames): Add call to initialise RiscV register
|
|
|
|
|
names.
|
|
|
|
|
* dwarf.h (init_dwarf_regnames_riscv): Declare.
|
|
|
|
|
* objdump.c (dump_dwarf): Add call to initialise RiscV register
|
|
|
|
|
names.
|
|
|
|
|
|
2018-02-01 15:31:00 +08:00
|
|
|
|
2018-02-01 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 22769
|
|
|
|
|
* objdump.c (load_specific_debug_section): Check for overflow
|
|
|
|
|
when adding one to section size for a string section terminator.
|
|
|
|
|
|
2018-01-31 01:22:41 +08:00
|
|
|
|
2018-01-30 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 22734
|
|
|
|
|
* doc/binutils.texi (nm): Update description to point out that
|
|
|
|
|
zero-initialized values can also be shown as type B, b, S or s
|
|
|
|
|
since they can be stored in the BSS section.
|
|
|
|
|
|
2018-01-29 13:18:03 +08:00
|
|
|
|
2018-01-30 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
|
|
|
|
|
"artificially large" end address.
|
|
|
|
|
|
2018-01-29 00:35:37 +08:00
|
|
|
|
2018-01-28 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* README-how-to-make-a-release: Add note about checking gpg key
|
|
|
|
|
and the results of gnupload.
|
|
|
|
|
|
2018-01-28 00:37:24 +08:00
|
|
|
|
2018-01-27 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* README-how-to-make-a-release: Add details on how to actually
|
|
|
|
|
make the release.
|
|
|
|
|
|
2018-01-26 19:14:26 +08:00
|
|
|
|
2018-01-26 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* README-how-to-make-a-release: Add more details on updating
|
|
|
|
|
version numbers.
|
|
|
|
|
|
2018-01-23 05:05:56 +08:00
|
|
|
|
2018-01-22 Maciej W. Rozycki <macro@mips.com>
|
|
|
|
|
|
|
|
|
|
* doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
|
|
|
|
|
option description.
|
|
|
|
|
|
2018-01-22 23:38:09 +08:00
|
|
|
|
2018-01-22 Maciej W. Rozycki <macro@mips.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Update my company e-mail address.
|
|
|
|
|
|
2018-01-22 21:48:15 +08:00
|
|
|
|
2018-01-22 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/sv.po: Updated Swedish translation.
|
|
|
|
|
|
2018-01-18 17:38:59 +08:00
|
|
|
|
2018-01-18 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/bg.po: Updated Bulgarian translation.
|
|
|
|
|
|
2018-01-16 21:18:36 +08:00
|
|
|
|
2018-01-16 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* README-how-to-make-a-release: Add reminder to update the
|
|
|
|
|
branch name in gdbadmin's crontab on sourceware.
|
|
|
|
|
|
2018-01-16 19:20:01 +08:00
|
|
|
|
2018-01-16 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* README-how-to-make-a-release: Remove trailing spaces.
|
|
|
|
|
|
2018-01-16 20:45:44 +08:00
|
|
|
|
2018-01-16 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/fr.po: Updated French translation.
|
|
|
|
|
|
2018-01-15 20:09:11 +08:00
|
|
|
|
2018-01-15 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/uk.po: Updated Ukranian translation.
|
|
|
|
|
|
2018-01-13 21:56:48 +08:00
|
|
|
|
2018-01-13 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
2018-01-13 22:29:27 +08:00
|
|
|
|
* README-how-to-make-a-release: Update notes.
|
2018-01-13 21:56:48 +08:00
|
|
|
|
* po/binutils.pot: Regenerated.
|
|
|
|
|
|
2018-01-13 21:31:12 +08:00
|
|
|
|
2018-01-13 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2018-01-13 21:20:55 +08:00
|
|
|
|
2018-01-13 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
2018-01-13 21:26:38 +08:00
|
|
|
|
2.30 branch created.
|
2018-01-13 21:20:55 +08:00
|
|
|
|
* NEWS: Add marker for 2.30.
|
|
|
|
|
|
2018-01-13 01:52:38 +08:00
|
|
|
|
2018-01-12 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* README-how-to-make-a-release: Add notes on how to make the
|
|
|
|
|
branch and prelease snapshot.
|
|
|
|
|
* BRANCHES: Add binutils-2_29-branch.
|
|
|
|
|
|
2018-01-10 23:29:21 +08:00
|
|
|
|
2018-01-10 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Note that it is now the configure.ac file and not
|
|
|
|
|
the configure.in file that needs to be kept in sync with gcc.
|
|
|
|
|
Add a note about sending patches for libiberty to gcc.
|
|
|
|
|
|
2018-01-04 01:32:59 +08:00
|
|
|
|
2018-01-03 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* objcopy.c (merge_gnu_build_notes): Add cast to maximum address
|
|
|
|
|
constants.
|
|
|
|
|
|
2018-01-03 18:28:33 +08:00
|
|
|
|
2018-01-03 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* objcopy.c (objcopy_internal_note): New structure.
|
|
|
|
|
(gap_exists): New function.
|
|
|
|
|
(is_open_note): New function.
|
|
|
|
|
(is_func_note): New function.
|
|
|
|
|
(is_64bit): New function.
|
|
|
|
|
(merge_gnu_build_notes): Handle v3 notes. Do not merge
|
|
|
|
|
if there are relocations against the notes.
|
|
|
|
|
* readelf.c (get_note_type): Use short names for build attribute
|
|
|
|
|
notes.
|
|
|
|
|
(print_symbol_for_build_attribute): Rename to
|
|
|
|
|
get_symbol_for_build_attribute. Returns the found symbol rather
|
|
|
|
|
than printing it.
|
|
|
|
|
(print_gnu_build_attribute_description): Maintain address ranges
|
|
|
|
|
for function notes as well as global notes. Handle v3 notes.
|
|
|
|
|
(print_gnu_build_attribute_name): Use more space for printing the
|
|
|
|
|
name in wide mode.
|
|
|
|
|
* testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
|
|
|
|
|
Eliminate symbol references in order to remove the need for
|
|
|
|
|
relocations.
|
|
|
|
|
* testsuite/binutils-all/note-2-64.s: Likewise.
|
|
|
|
|
* testsuite/binutils-all/note-3-32.s: Add a size to the note_1
|
|
|
|
|
symbol.
|
|
|
|
|
* testsuite/binutils-all/note-3-64.s: Likewise.
|
|
|
|
|
* testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
|
|
|
|
|
output.
|
|
|
|
|
* testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/note-2-32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/note-2-64.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/note-3-32.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/note-3-64.d: Likewise.
|
|
|
|
|
* testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
|
|
|
|
|
* testsuite/binutils-all/note-4-32.s: New test.
|
|
|
|
|
* testsuite/binutils-all/note-4-64.d: New test result file.
|
|
|
|
|
* testsuite/binutils-all/note-4-32.d: New test result file.
|
|
|
|
|
|
2018-01-03 13:17:27 +08:00
|
|
|
|
2018-01-03 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
Update year range in copyright notice of all files.
|
|
|
|
|
|
2018-01-03 13:15:17 +08:00
|
|
|
|
For older changes see ChangeLog-2017
|
2016-01-01 18:44:31 +08:00
|
|
|
|
|
2018-01-03 13:15:17 +08:00
|
|
|
|
Copyright (C) 2018 Free Software Foundation, Inc.
|
2016-01-01 18:44:31 +08:00
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|