2021-03-24 00:08:39 +08:00
|
|
|
|
2021-03-23 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (pte): Print prefix and encoding space.
|
|
|
|
|
(build_vex_prefix): Check opcodespace instead of opcodeprefix.
|
|
|
|
|
(build_evex_prefix): Likewise.
|
|
|
|
|
(load_insn_p): Likewise.
|
|
|
|
|
|
2021-03-23 15:44:35 +08:00
|
|
|
|
2021-03-23 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (load_insn_p): Use PREFIX_NONE. Fold two
|
|
|
|
|
if()-s.
|
|
|
|
|
(match_template, output_insn): Use PREFIX_NONE.
|
|
|
|
|
|
2021-03-23 15:44:03 +08:00
|
|
|
|
2021-03-23 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (i386_index_check): New local variable t.
|
|
|
|
|
Correct MPX insn check.
|
|
|
|
|
* config/tc-i386-intel.c (i386_intel_simplify_register): Correct
|
|
|
|
|
MPX insn check.
|
|
|
|
|
* testsuite/gas/i386/x86-64-mpx.s: Add RIP-relative cases. Test
|
|
|
|
|
index scaling by other than 1.
|
|
|
|
|
* testsuite/gas/i386/x86-64-mpx.d: Adjust expectations.
|
|
|
|
|
|
2021-03-19 18:50:26 +08:00
|
|
|
|
2021-03-22 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (md_parse_option): Replace usage of CONST_STRNEQ with startswith.
|
|
|
|
|
(x86_64_section_word): Likewise.
|
|
|
|
|
* config/tc-sparc.c (md_parse_option): Likewise.
|
|
|
|
|
|
2021-03-19 11:54:05 +08:00
|
|
|
|
2021-03-19 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* app.c (do_scrub_chars): Don't lose spaces before a slash.
|
|
|
|
|
|
2021-03-19 04:33:51 +08:00
|
|
|
|
2021-03-18 Christian Groessler <chris@groessler.org>
|
|
|
|
|
|
|
|
|
|
* config/tc-z8k.c (apply_fix): Handle 7-bit relocations correctly.
|
|
|
|
|
Problem found by Tadashi G. Takaoka <tadashi.g.takaoka@gmail.com>.
|
|
|
|
|
|
2021-02-24 13:26:29 +08:00
|
|
|
|
2021-03-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-riscv.c (ext_version_table): Add b, zba, zbb and zbc.
|
|
|
|
|
(riscv_multi_subset_supports): Add INSN_CLASS_ZB*.
|
|
|
|
|
* testsuite/gas/riscv/b-ext-64.s: Bitmanip test case.
|
|
|
|
|
* testsuite/gas/riscv/b-ext-64.d: Likewise.
|
|
|
|
|
* testsuite/gas/riscv/b-ext.s: Likewise.
|
|
|
|
|
* testsuite/gas/riscv/b-ext.d: Likewise.
|
|
|
|
|
|
aarch64: Add few missing system registers
This patch adds few missing system registers to GAS: LORC_EL1,
LOREA_EL1, LORN_EL1, LORSA_EL1, ICC_CTLR_EL3, ICC_SRE_ELX, ICH_VTR_EL2.
gas/ChangeLog:
2021-03-02 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
* testsuite/gas/aarch64/illegal-sysreg-7.d: New test.
* testsuite/gas/aarch64/illegal-sysreg-7.l: New test.
* testsuite/gas/aarch64/illegal-sysreg-7.s: New test.
* testsuite/gas/aarch64/sysreg-7.d: New test.
* testsuite/gas/aarch64/sysreg-7.s: New test.
opcodes/ChangeLog:
2021-03-02 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
* aarch64-opc.c: Add lorc_el1, lorea_el1, lorn_el1, lorsa_el1,
icc_ctlr_el3, icc_sre_elx, ich_vtr_el2 system registers.
2021-03-12 22:18:59 +08:00
|
|
|
|
2021-03-12 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/gas/aarch64/illegal-sysreg-7.d: New test.
|
|
|
|
|
* testsuite/gas/aarch64/illegal-sysreg-7.l: New test.
|
|
|
|
|
* testsuite/gas/aarch64/illegal-sysreg-7.s: New test.
|
|
|
|
|
* testsuite/gas/aarch64/sysreg-7.d: New test.
|
|
|
|
|
* testsuite/gas/aarch64/sysreg-7.s: New test.
|
|
|
|
|
|
aix: implement TLS relocation for gas and ld
Add support for TLS in XCOFF. Amongst the things done by this commit:
- Update XCOFF auxialiary header to match new version and allow TLS
sections.
- Add TLS sections (.tdata and .tbss) support in gas and ld.
- Add support for the TLS relocations in gas and ld.
Two different types BFD_RELOC are created for PPC and PPC64 as
the size is a pointer, thus distinct in 32 or 64bit.
The addresses given by ld to .tdata and .tbss is a bit special. In
XCOFF, these addresses are actually offsets from the TLS pointer
computed at runtime. AIX assembly and linker does the same. In
top of that, the .tdata must be before .data (this is mandatory for AIX
loader). Thus, the aix ld script is recomputing "." before .data to restore
its original value. There might be a simpler way, but this one is working.
Optimisation linked to TLS relocations aren't yet implemented.
bfd/
* reloc.c (BFD_RELOC_PPC_TLS_LE, BFD_RELOC_PPC_TLS_IE,
BFD_RELOC_PPC_TLS_M, BFD_RELOC_PPC_TLS_ML, BFD_RELOC_PPC64_TLS_GD,
BFD_RELOC_PPC64_TLS_LD, BFD_RELOC_PPC64_TLS_LE,
BFD_RELOC_PPC64_TLS_IE, BFD_RELOC_PPC64_TLS_M,
BFD_RELOC_PPC64_TLS_ML): New relocations.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* coff-rs6000.c (xcoff_calculate_relocation): Call
xcoff_reloc_type_tls for TLS relocations.
(xcoff_howto_table): Implement TLS relocations.
(_bfd_xcoff_reloc_type_lookup): Add cases TLS relocations.
(xcoff_reloc_type_tls): New function.
* coff64-rs6000.c (xcoff_calculate_relocation): Likewise.
(xcoff_howto_table): Likewise.
(_bfd_xcoff_reloc_type_lookup): Likewise.
* coffcode.h (sec_to_styp_flags): Handle TLS sections.
(styp_to_sec_flags): Likewise.
(coff_compute_section_file_positions): Avoid file offset
optimisation for .data when the previous section is .tdata.
(coff_write_object_contents): Handle TLS sections.
* coffswap.h (coff_swap_aouthdr_out): Add support for
new fields in aouthdr.
* libxcoff.h (xcoff_reloc_type_tls): Add prototype.
* xcofflink.c (xcoff_link_add_symbols): Handle XMC_UL.
(xcoff_need_ldrel_p): Add cases for TLS relocations.
(xcoff_create_ldrel): Add l_symndx for TLS sections.
gas/
* config/tc-ppc.c (ppc_xcoff_text_section, ppc_xcoff_data_section,
(ppc_xcoff_bss_section, ppc_xcoff_tdata_section,
(ppc_xcoff_tbss_section): New variables.
(ppc_text_subsegment, ppc_text_csects, ppc_data_subgments,
(ppc_data_csects): Removed.
(ppc_xcoff_section_is_initialized, ppc_init_xcoff_section,
ppc_xcoff_parse_cons): New functions.
(md_being): Initialize XCOFF sections.
(ppc_xcoff_suffix): Add support for TLS relocations
(fixup_size, md_apply_fix): Add support for new BFD_RELOC.
(ppc_change_csect): Handle XMC_TL, XMC_UL. Correctly, add XMC_BS
to .bss section. Handle new XCOFF section variables.
(ppc_comm): Likewise.
(ppc_toc): Likewise.
(ppc_symbol_new_hook): Likewise.
(ppc_frob_symbol): Likewise.
(ppc_fix_adjustable): Add tbss support.
* config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): New define.
(ppc_xcoff_parse_cons): Add prototype.
(struct ppc_xcoff_section): New structure.
ld/
* emultempl/aix.em: Ensure .tdata section is removed
if empty, even with -r flag.
* scripttempl/aix.sc: Handle TLS sections.
* testsuite/ld-powerpc/aix52.exp: Add new tests.
* testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
* testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
* testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
* testsuite/ld-powerpc/aix-tls-reloc.s: New test.
* testsuite/ld-powerpc/aix-tls-section-32.d: New test.
* testsuite/ld-powerpc/aix-tls-section-64.d: New test.
* testsuite/ld-powerpc/aix-tls-section.ex: New test.
* testsuite/ld-powerpc/aix-tls-section.s: New test.
include/
* coff/internal.h (struct internal_aouthdr): Add new fields.
* coff/rs6000.h (AOUTHDRÃ): Add new fields.
* coff/rs6k64.h (struct external_filehdr): Likewise.
* coff/xcoff.h (_TDATA), _TBSS): New defines
(RS6K_AOUTHDR_TLS_LE, RS6K_AOUTHDR_RAS, RS6K_AOUTHDR_ALGNTDATA,
RS6K_AOUTHDR_SHR_SYMTAB, RS6K_AOUTHDR_FORK_POLICY,
RS6K_AOUTHDR_FORK_COR): New defines.
(XMC_TU): Removed.
(XMC_UL): New define.
2021-03-11 18:08:19 +08:00
|
|
|
|
2021-03-12 Clément Chigot <clement.chigot@atos.net>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (ppc_xcoff_text_section, ppc_xcoff_data_section,
|
|
|
|
|
(ppc_xcoff_bss_section, ppc_xcoff_tdata_section,
|
|
|
|
|
(ppc_xcoff_tbss_section): New variables.
|
|
|
|
|
(ppc_text_subsegment, ppc_text_csects, ppc_data_subgments,
|
|
|
|
|
(ppc_data_csects): Removed.
|
|
|
|
|
(ppc_xcoff_section_is_initialized, ppc_init_xcoff_section,
|
|
|
|
|
ppc_xcoff_parse_cons): New functions.
|
|
|
|
|
(md_being): Initialize XCOFF sections.
|
|
|
|
|
(ppc_xcoff_suffix): Add support for TLS relocations
|
|
|
|
|
(fixup_size, md_apply_fix): Add support for new BFD_RELOC.
|
|
|
|
|
(ppc_change_csect): Handle XMC_TL, XMC_UL. Correctly, add XMC_BS
|
|
|
|
|
to .bss section. Handle new XCOFF section variables.
|
|
|
|
|
(ppc_comm): Likewise.
|
|
|
|
|
(ppc_toc): Likewise.
|
|
|
|
|
(ppc_symbol_new_hook): Likewise.
|
|
|
|
|
(ppc_frob_symbol): Likewise.
|
|
|
|
|
(ppc_fix_adjustable): Add tbss support.
|
|
|
|
|
* config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): New define.
|
|
|
|
|
(ppc_xcoff_parse_cons): Add prototype.
|
|
|
|
|
(struct ppc_xcoff_section): New structure.
|
|
|
|
|
|
2021-03-11 18:08:19 +08:00
|
|
|
|
2021-03-12 Clément Chigot <clement.chigot@atos.net>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (ppc_xcoff_suffix): New function.
|
|
|
|
|
(MAP, MAP32, MAP64): New macros for XCOFF.
|
|
|
|
|
(ppc_xcoff_fixup_addis): New function.
|
|
|
|
|
(ppc_is_toc_sym): Handle XMC_TE.
|
|
|
|
|
(fixup_size): Add cases for BFD_RELOC_PPC_TOC16_HI and
|
|
|
|
|
BFD_RELOC_PPC_TOC16_LO.
|
|
|
|
|
(md_assemble): Call ppc_xcoff_fixup_addis for XCOFF.
|
|
|
|
|
(ppc_change_csect): Handle XMC_TE.
|
|
|
|
|
(ppc_tc): Enable .tc symbols to have only a XMC_TC or XMC_TE
|
|
|
|
|
storage class.
|
|
|
|
|
(ppc_symbol_new_hook): Handle XMC_TE.
|
|
|
|
|
(ppc_frob_symbol): Likewise.
|
|
|
|
|
(ppc_fix_adjustable): Likewise.
|
|
|
|
|
(md_apply_fix): Handle BFD_RELOC_PPC_TOC16_HI and
|
|
|
|
|
BFD_RELOC_PPC_TOC16_LO.
|
|
|
|
|
|
2021-03-10 15:20:29 +08:00
|
|
|
|
2021-03-10 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/gas/i386/avx512f-intel.d,
|
|
|
|
|
testsuite/gas/i386/avx512f_vl-intel.d,
|
|
|
|
|
testsuite/gas/i386/avx512pf-intel.d,
|
|
|
|
|
testsuite/gas/i386/x86-64-avx512f-intel.d,
|
|
|
|
|
testsuite/gas/i386/x86-64-avx512f_vl-intel.d,
|
|
|
|
|
testsuite/gas/i386/x86-64-avx512pf-intel.d: Adjust expectations.
|
|
|
|
|
|
2021-03-10 15:14:11 +08:00
|
|
|
|
2021-03-10 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/gas/i386/prefetch.d,
|
|
|
|
|
testsuite/gas/i386/prefetch-intel.d,
|
|
|
|
|
testsuite/gas/i386/x86-64-prefetch.d,
|
|
|
|
|
testsuite/gas/i386/x86-64-prefetch-intel.d: Adjust expectations.
|
|
|
|
|
* testsuite/gas/i386/nops-8.s, testsuite/gas/i386/nops-8.d: New.
|
|
|
|
|
* testsuite/gas/i386/i386.exp: Run new test.
|
|
|
|
|
|
2021-03-09 15:54:32 +08:00
|
|
|
|
2021-03-09 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (check_hle): Replace HLEPrefix* by Prefix*.
|
|
|
|
|
(md_assemble): Replace use of repprefixok, islockable, and
|
|
|
|
|
notrackprefixok.
|
|
|
|
|
(i386_index_check): Replace use of repprefixok.
|
|
|
|
|
|
2021-03-09 15:53:38 +08:00
|
|
|
|
2021-03-09 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/gas/i386/noreg64.s: Add sysexit.
|
|
|
|
|
* testsuite/gas/i386/x86-64-sysenter-amd.s: Split sysexit into
|
|
|
|
|
sysexitl and sysexitq.
|
|
|
|
|
* testsuite/gas/i386/noreg-intel64.l,
|
|
|
|
|
testsuite/gas/i386/noreg64-data16.d,
|
|
|
|
|
testsuite/gas/i386/noreg64-data16.e,
|
|
|
|
|
testsuite/gas/i386/noreg64-rex64.d,
|
|
|
|
|
testsuite/gas/i386/noreg64.d,
|
|
|
|
|
testsuite/gas/i386/noreg64.l,
|
|
|
|
|
testsuite/gas/i386/x86-64-sysenter-amd.d,
|
|
|
|
|
testsuite/gas/i386/x86-64-sysenter-amd.l,
|
|
|
|
|
testsuite/gas/i386/x86-64-sysenter-intel.d: Adjust expectations.
|
|
|
|
|
|
2021-02-27 00:37:30 +08:00
|
|
|
|
2021-02-26 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 27411
|
|
|
|
|
* config/tc-arm.c (do_t_add_sub): Correct error message.
|
|
|
|
|
* testsuite/gas/arm/pr27411.s: New test.
|
|
|
|
|
* testsuite/gas/arm/pr27411.d: New test driver.
|
|
|
|
|
* testsuite/gas/arm/pr27411.l: Expected error output for new test.
|
|
|
|
|
|
PR23691, gas .y files vs. automatic make dependencies
A number of targets, bfin, rl78, rx, can show odd failures when
bfd/reloc.c changes BFD_RELOC_* enum values, if recompiling over a
build dir with existing objects. The problem is caused by
bfin-parse.o and similar not being recompiled and so using stale
BFD_RELOC_* values. This isn't fixed by making bfin-parse.c depend on
bfd/reloc.c, which isn't necessary anyway. bfin-parse.o should have
been recompiled due to bfd/bfd.h changing when extracted bfd/reloc.c
BFD_RELOC_* values change, but that wasn't happening. The problem is
that automake generates a makefile that loads gas/config/.deps/
dependency file for objects with corresponding sources mentioned in
EXTRA_as_new_SOURCES. Unless we want to mess around generating
explicit dependencies, I think that mean moving some object files to
the build gas/config/. This patch does that, removing some hacks for
m68k-parse.c that should no longer be necessary, and removes some
rules that catered to old bison producing code that triggers compiler
warnings.
PR 23691
* Makefile.am (TARGET_CPU_CFILES): Split off config/xtensa-relax.c..
(TARGET_CPU_HFILES): ..and config/xtensa-relax.h..
(TARGET_EXTRA_FILES): ..to here. Add config/bfin-lex-wrapper.c,
and use alongside TARGET_CPU_CFILES.
(EXTRA_DIST): Update location of generated .c files.
(config/m68k-parse.c): New rule replacing m68k-parse.c rule.
(config/bfin-parse.c, config/rl78-parse.cm config/rx-parse.c),
(config/bfin-lex.c, config/bfin-lex-wrapper.@OBJEXT@): Similarly.
(itbl-lex-wrapper.@OBJEXT@): Simplify to just the needed
dependencies.
(itbl-parse.@OBJEXT@): Delete rule using NO_WERROR.
(itbl-parse.c, itbl-parse.h): Tidy.
* config/bfin-lex-wrapper.c: Include config/bfin-lex.c.
* config/bfin-lex.l: Include config/bfin-parse.h.
* configure.ac (extra_objects): Move object files corresponding
to .y and .l files now in config/ to config/.
* Makefile.in: Regenerate.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
2021-02-23 19:24:25 +08:00
|
|
|
|
2021-02-24 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 23691
|
|
|
|
|
* Makefile.am (TARGET_CPU_CFILES): Split off config/xtensa-relax.c..
|
|
|
|
|
(TARGET_CPU_HFILES): ..and config/xtensa-relax.h..
|
|
|
|
|
(TARGET_EXTRA_FILES): ..to here. Add config/bfin-lex-wrapper.c,
|
|
|
|
|
and use alongside TARGET_CPU_CFILES.
|
|
|
|
|
(EXTRA_DIST): Update location of generated .c files.
|
|
|
|
|
(config/m68k-parse.c): New rule replacing m68k-parse.c rule.
|
|
|
|
|
(config/bfin-parse.c, config/rl78-parse.cm config/rx-parse.c),
|
|
|
|
|
(config/bfin-lex.c, config/bfin-lex-wrapper.@OBJEXT@): Similarly.
|
|
|
|
|
(itbl-lex-wrapper.@OBJEXT@): Simplify to just the needed
|
|
|
|
|
dependencies.
|
|
|
|
|
(itbl-parse.@OBJEXT@): Delete rule using NO_WERROR.
|
|
|
|
|
(itbl-parse.c, itbl-parse.h): Tidy.
|
|
|
|
|
* config/bfin-lex-wrapper.c: Include config/bfin-lex.c.
|
|
|
|
|
* config/bfin-lex.l: Include config/bfin-parse.h.
|
|
|
|
|
* configure.ac (extra_objects): Move object files corresponding
|
|
|
|
|
to .y and .l files now in config/ to config/.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* po/POTFILES.in: Regenerate.
|
|
|
|
|
|
2021-02-19 18:14:09 +08:00
|
|
|
|
2021-02-19 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-riscv.c (riscv_ip): Fix compile time warnings about
|
|
|
|
|
misleading indentation.
|
|
|
|
|
|
2021-01-26 18:02:38 +08:00
|
|
|
|
2021-02-19 Nelson Chu <nelson.chu@sifive.com>
|
|
|
|
|
|
|
|
|
|
PR 27158
|
|
|
|
|
* config/tc-riscv.c (riscv_ip): Updated encoding macros.
|
|
|
|
|
(md_apply_fix): Likewise.
|
|
|
|
|
(md_convert_frag_branch): Likewise.
|
|
|
|
|
(validate_riscv_insn): Likewise. Also arranged operands, including
|
|
|
|
|
added C5 and C6 operands, and removed unused Ci and C< operands.
|
|
|
|
|
* doc/c-riscv.texi: Updated and added CSS/CL/CS types.
|
|
|
|
|
* testsuite/gas/riscv/insn.d: Added CSS/CL/CS instructions.
|
|
|
|
|
* testsuite/gas/riscv/insn.s: Likewise.
|
|
|
|
|
|
2021-01-28 10:45:56 +08:00
|
|
|
|
2021-02-18 Nelson Chu <nelson.chu@sifive.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-riscv.c: Included cpu-riscv.h.
|
|
|
|
|
(enum riscv_csr_clas): Moved from include/opcode/riscv.h.
|
|
|
|
|
(struct riscv_csr_extra): Likewise.
|
|
|
|
|
(struct riscv_ext_version): Likewise.
|
|
|
|
|
(ext_version_table): Moved from opcodes/riscv-opc.c.
|
|
|
|
|
(default_isa_spec): Updated type to riscv_spec_class.
|
|
|
|
|
(default_priv_spec): Likewise.
|
|
|
|
|
(riscv_set_default_isa_spec): Updated.
|
|
|
|
|
(init_ext_version_hash): Likewise.
|
|
|
|
|
(riscv_init_csr_hash): Likewise, also fixed indent.
|
|
|
|
|
|
2021-02-17 14:18:41 +08:00
|
|
|
|
2021-02-17 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/gas/elf/section28.d: xfail h8300.
|
|
|
|
|
|
2021-02-16 20:55:42 +08:00
|
|
|
|
2021-02-16 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/27412
|
|
|
|
|
* config/obj-elf.c (obj_elf_change_section): Strip SHF_GNU_RETAIN
|
|
|
|
|
when checking incorrect section attributes.
|
|
|
|
|
* testsuite/gas/elf/elf.exp: Run section28 and section29.
|
|
|
|
|
* testsuite/gas/elf/section28.d: New file.
|
|
|
|
|
* testsuite/gas/elf/section28.s: Likewise.
|
|
|
|
|
* testsuite/gas/elf/section29.d: Likewise.
|
|
|
|
|
* testsuite/gas/elf/section29.s: Likewise.
|
|
|
|
|
|
2021-02-16 18:34:25 +08:00
|
|
|
|
2021-02-16 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/gas/i386/sse-check.s,
|
|
|
|
|
testsuite/gas/i386/sse2avx.s,
|
|
|
|
|
testsuite/gas/i386/x86-64-sse2avx.s: Add CVTPI2PD cases.
|
|
|
|
|
* testsuite/gas/i386/sse-check-error.l,
|
|
|
|
|
testsuite/gas/i386/sse-check-warn.e,
|
|
|
|
|
testsuite/gas/i386/sse-check.d,
|
|
|
|
|
testsuite/gas/i386/sse2avx.d,
|
|
|
|
|
testsuite/gas/i386/x86-64-sse-check-error.l,
|
|
|
|
|
testsuite/gas/i386/x86-64-sse2avx.d: Adjust expecations.
|
|
|
|
|
* testsuite/gas/i386/property-cvtpi2pd.s,
|
|
|
|
|
testsuite/gas/i386/property-cvtpi2pd.d,
|
|
|
|
|
testsuite/gas/i386/property-cvtpi2ps.s,
|
|
|
|
|
testsuite/gas/i386/property-cvtpi2ps.d: New.
|
|
|
|
|
* testsuite/gas/i386/i386.exp: Run new tests.
|
|
|
|
|
|
2021-02-16 18:33:04 +08:00
|
|
|
|
2021-02-16 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (md_assemble): Use template rather than
|
|
|
|
|
actuals when updating i.xstate.
|
|
|
|
|
* testsuite/gas/i386/property-4.d,
|
|
|
|
|
testsuite/gas/i386/property-5.d,
|
|
|
|
|
testsuite/gas/i386/property-12.d: Adjust expectations.
|
|
|
|
|
|
2021-02-16 18:32:18 +08:00
|
|
|
|
2021-02-16 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (output_insn): Handle ldmxcsr, stmxcsr,
|
|
|
|
|
vldmxcsr, vstmxcsr, vzeroall, and vzeroupper.
|
|
|
|
|
* testsuite/gas/i386/property-ldmxcsr.s,
|
|
|
|
|
testsuite/gas/i386/property-ldmxcsr.d,
|
|
|
|
|
testsuite/gas/i386/property-vldmxcsr.s,
|
|
|
|
|
testsuite/gas/i386/property-vldmxcsr.d,
|
|
|
|
|
testsuite/gas/i386/property-vzeroall.s,
|
|
|
|
|
testsuite/gas/i386/property-vzeroall.d: New.
|
|
|
|
|
* testsuite/gas/i386/i386.exp: Run new tests.
|
|
|
|
|
|
2021-02-16 18:30:49 +08:00
|
|
|
|
2021-02-16 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/gas/i386/i386.exp: Move bitness-independent property
|
|
|
|
|
tests to bitness independent section.
|
|
|
|
|
* testsuite/gas/i386/x86-64-property-2.d,
|
|
|
|
|
testsuite/gas/i386/x86-64-property-3.d,
|
|
|
|
|
testsuite/gas/i386/x86-64-property-4.d,
|
|
|
|
|
testsuite/gas/i386/x86-64-property-5.d,
|
|
|
|
|
testsuite/gas/i386/x86-64-property-6.d,
|
|
|
|
|
testsuite/gas/i386/x86-64-property-10.d,
|
|
|
|
|
testsuite/gas/i386/x86-64-property-11.d,
|
|
|
|
|
testsuite/gas/i386/x86-64-property-12.d,
|
|
|
|
|
testsuite/gas/i386/x86-64-property-13.d: Delete.
|
|
|
|
|
|
2021-02-16 18:26:58 +08:00
|
|
|
|
2021-02-16 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/gas/i386/enqcmd-16bit.s: Include enqcmd.s, not
|
|
|
|
|
movdir.s.
|
|
|
|
|
* testsuite/gas/i386/enqcmd-16bit.d: Adjust expectations.
|
|
|
|
|
|
2021-02-16 12:09:04 +08:00
|
|
|
|
2021-02-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 27426
|
|
|
|
|
* dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
|
|
|
|
|
in another place.
|
|
|
|
|
|
2021-02-16 12:02:36 +08:00
|
|
|
|
2021-02-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* read.c (demand_copy_C_string): Really check for embedded zeros.
|
|
|
|
|
|
2021-02-15 21:20:00 +08:00
|
|
|
|
2021-02-15 Andreas Krebbel <krebbel@linux.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-s390.c (s390_parse_cpu): New entry for arch14.
|
|
|
|
|
* doc/c-s390.texi: Document arch14 march option.
|
|
|
|
|
* testsuite/gas/s390/s390.exp: Run the arch14 related tests.
|
|
|
|
|
* testsuite/gas/s390/zarch-arch14.d: New test.
|
|
|
|
|
* testsuite/gas/s390/zarch-arch14.s: New test.
|
|
|
|
|
|
2021-02-12 22:52:22 +08:00
|
|
|
|
2021-02-12 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/gas/mach-o/sections-1.d: Stop automatic debug link
|
|
|
|
|
following.
|
|
|
|
|
* testsuite/gas/xgate/insns-dwarf2.d: Likewise.
|
|
|
|
|
|
2021-02-12 09:11:16 +08:00
|
|
|
|
2021-02-12 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/gas/all/pr27381.err: Don't match source file name.
|
|
|
|
|
* testsuite/gas/all/pr27381.s: Don't start directive in first column.
|
|
|
|
|
* testsuite/gas/all/pr27384.err: Don't match source file name.
|
|
|
|
|
Adjust line number.
|
|
|
|
|
* testsuite/gas/all/pr27384.s: Add ".text" directive.
|
|
|
|
|
* testsuite/gas/elf/pr27355.err: Don't match source file name.
|
|
|
|
|
|
2021-02-10 10:06:52 +08:00
|
|
|
|
2021-02-11 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention arm-symbianelf removal.
|
|
|
|
|
|
2021-02-10 17:56:33 +08:00
|
|
|
|
2021-02-10 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* listing.c (buffer_line): Remove debugging code accidentally
|
|
|
|
|
included with the fix for PR 27384.
|
|
|
|
|
|
2021-02-09 22:22:23 +08:00
|
|
|
|
2021-02-09 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 27381
|
|
|
|
|
* read.c (s_incbin): Check that the file to be included is a
|
|
|
|
|
regular, non-directory file.
|
|
|
|
|
* testsuite/gas/all/pr27381.s: New test source file.
|
|
|
|
|
* testsuite/gas/all/pr27381.d: New test control file.
|
|
|
|
|
* testsuite/gas/all/pr27381.err: Expected error output for the new test.
|
|
|
|
|
* testsuite/gas/all/gas.exp: Run the new test.
|
|
|
|
|
|
2021-02-08 18:36:17 +08:00
|
|
|
|
2021-02-09 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (TARG_ENV_HFILES): Remove config/te-symbian.h.
|
|
|
|
|
* config/tc-arm.c (elf32_arm_target_format): Remove TE_SYMBIAN
|
|
|
|
|
support.
|
|
|
|
|
* config/te-symbian.h: Delete.
|
|
|
|
|
* configure.tgt: Remove arm-*-symbianelf*.
|
|
|
|
|
* testsuite/gas/arm/arch4t-eabi.d: Don't mention symbianelf in
|
|
|
|
|
target selection.
|
|
|
|
|
* testsuite/gas/arm/arch4t.d: Likewise.
|
|
|
|
|
* testsuite/gas/arm/got_prel.d: Likewise.
|
|
|
|
|
* testsuite/gas/arm/mapdir.d: Likewise.
|
|
|
|
|
* testsuite/gas/arm/mapmisc.d: Likewise.
|
|
|
|
|
* testsuite/gas/arm/mapsecs.d: Likewise.
|
|
|
|
|
* testsuite/gas/arm/mapshort-eabi.d: Likewise.
|
|
|
|
|
* testsuite/gas/arm/thumb-eabi.d: Likewise.
|
|
|
|
|
* testsuite/gas/arm/thumb.d: Likewise.
|
|
|
|
|
* testsuite/gas/arm/thumbrel.d: Likewise.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* po/POTFILES.in: Regenerate.
|
|
|
|
|
|
2021-02-09 20:53:32 +08:00
|
|
|
|
2021-02-09 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 27384
|
|
|
|
|
* listing.c (listing_psize): Check the result of the width
|
|
|
|
|
expression before assigning it to paper_width.
|
|
|
|
|
* testsuite/gas/all/pr27384.s: New test source file.
|
|
|
|
|
* testsuite/gas/all/pr27384.d: New test control file.
|
|
|
|
|
* testsuite/gas/all/pr27384.err: Expected errors from new test.
|
|
|
|
|
* testsuite/gas/all/gas.exp: Run the new test.
|
|
|
|
|
|
2021-02-09 18:51:40 +08:00
|
|
|
|
2021-02-09 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 27355
|
|
|
|
|
* testsuite/gas/elf/pr27355.s: New test source file.
|
|
|
|
|
* testsuite/gas/elf/pr27355.d: New test control file.
|
|
|
|
|
* testsuite/gas/elf/pr27355.err: Expected errors from new test.
|
|
|
|
|
* testsuite/gas/elf/elf.exp: Run the new test.
|
|
|
|
|
|
2021-01-16 14:00:45 +08:00
|
|
|
|
2021-02-08 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* config/tc-tic54x (tic54x_mmregs): Rename to ...
|
|
|
|
|
(tic54x_register_mmregs): ... this. Change mmregs to tic54x_mmregs.
|
|
|
|
|
(md_pseudo_table): Change tic54x_mmregs to tic54x_register_mmregs.
|
|
|
|
|
(md_begin): Add tic54x_ prefix to regs, mmregs, condition_codes,
|
|
|
|
|
cc2_codes, cc3_codes, status_bits, and misc_symbols.
|
|
|
|
|
|
2021-02-09 02:31:21 +08:00
|
|
|
|
2021-02-08 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 27355
|
|
|
|
|
* dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
|
|
|
|
|
if it has not already been created.
|
|
|
|
|
|
2021-02-04 16:15:03 +08:00
|
|
|
|
2021-02-04 Nelson Chu <nelson.chu@sifive.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-riscv.c (riscv_multi_subset_supports): Removed
|
|
|
|
|
INSN_CLASS_ZB*.
|
|
|
|
|
* testsuite/gas/riscv/bitmanip-insns-32.d: Removed.
|
|
|
|
|
* testsuite/gas/riscv/bitmanip-insns-64.d: Removed.
|
|
|
|
|
* testsuite/gas/riscv/bitmanip-insns.s: Removed.
|
|
|
|
|
|
2021-02-03 19:01:12 +08:00
|
|
|
|
2021-02-03 Andreas Krebbel <krebbel@linux.ibm.com>
|
|
|
|
|
|
|
|
|
|
* doc/c-s390.texi: Document vector instruction formats.
|
|
|
|
|
|
2021-02-02 01:31:47 +08:00
|
|
|
|
2021-02-01 Emery Hemingway <ehmry@posteo.net>
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
|
|
|
|
|
|
2021-01-31 09:32:54 +08:00
|
|
|
|
2021-02-01 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 27283
|
|
|
|
|
* config/tc-alpha.c (insert_operand): Delete dead code.
|
|
|
|
|
|
2021-01-27 00:18:39 +08:00
|
|
|
|
2021-01-26 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/27243
|
|
|
|
|
* config/tc-nios2.c (md_begin): Don't disable relaxation with
|
|
|
|
|
--gdwarf-N.
|
|
|
|
|
* testsuite/gas/nios2/relax.d: New file.
|
|
|
|
|
* testsuite/gas/nios2/relax.s: Likewise.
|
|
|
|
|
|
2021-01-25 20:23:31 +08:00
|
|
|
|
2021-01-26 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/gas/all/local-label-overflow.d: Use xfail rather than
|
|
|
|
|
notarget all except hppa. Comment.
|
|
|
|
|
* testsuite/gas/all/sleb128-2.d: Use xfail rather than notarget.
|
|
|
|
|
* testsuite/gas/all/sleb128-4.d: Likewise. Don't skip msp430.
|
|
|
|
|
* testsuite/gas/all/sleb128-5.d: Use xfail rather than notarget.
|
|
|
|
|
* testsuite/gas/all/sleb128-7.d: Likewise.
|
|
|
|
|
* testsuite/gas/all/sleb128-9.d: Likewise.
|
|
|
|
|
* testsuite/gas/elf/bignums.d: Likewise.
|
|
|
|
|
* testsuite/gas/elf/group0c.d: Likewise.
|
|
|
|
|
* testsuite/gas/elf/group1a.d: Likewise.
|
|
|
|
|
* testsuite/gas/elf/section-symbol-redef.d: Likewise.
|
|
|
|
|
* testsuite/gas/elf/section15.d: Likewise.
|
|
|
|
|
* testsuite/gas/elf/section4.d: Likewise.
|
|
|
|
|
* testsuite/gas/elf/section7.d: Likewise.
|
|
|
|
|
* testsuite/gas/macros/irp.d: Likewise.
|
|
|
|
|
* testsuite/gas/macros/repeat.d: Likewise.
|
|
|
|
|
* testsuite/gas/macros/rept.d: Likewise.
|
|
|
|
|
* testsuite/gas/macros/test2.d: Likewise.
|
|
|
|
|
* testsuite/gas/macros/vararg.d: Likewise.
|
|
|
|
|
* testsuite/gas/all/string.d: Use xfail rather than skip.
|
|
|
|
|
* testsuite/gas/elf/missing-build-notes.d: Likewise.
|
|
|
|
|
* testsuite/gas/elf/section0.d: Likewise.
|
|
|
|
|
* testsuite/gas/elf/section1.d: Likewise.
|
|
|
|
|
* testsuite/gas/elf/section10.d: Likewise.
|
|
|
|
|
* testsuite/gas/elf/section11.d: Likewise.
|
|
|
|
|
* testsuite/gas/elf/section6.d: Likewise.
|
|
|
|
|
* testsuite/gas/elf/symtab.d: Use xfail rather than skip, adjust hppa.
|
|
|
|
|
* testsuite/gas/elf/symtab.s: Don't start directives in first column.
|
|
|
|
|
* testsuite/gas/macros/test3.d: Don't notarget nds32.
|
|
|
|
|
|
2021-01-25 12:48:55 +08:00
|
|
|
|
2021-01-26 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/gas/all/byte.d,
|
|
|
|
|
* testsuite/gas/all/byte.l,
|
|
|
|
|
* testsuite/gas/all/byte.s: Delete.
|
|
|
|
|
* testsuite/gas/all/gas.exp: Don't run byte test.
|
|
|
|
|
|
2021-01-25 12:47:15 +08:00
|
|
|
|
2021-01-26 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 27282
|
|
|
|
|
* testsuite/gas/all/none.d: Replace skip with xfail, don't xfail ft32.
|
|
|
|
|
* testsuite/gas/elf/pr27228.d: xfail hppa and allow OBJECT match.
|
|
|
|
|
|
2021-01-24 20:14:30 +08:00
|
|
|
|
2021-01-24 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/27228
|
|
|
|
|
* testsuite/gas/elf/elf.exp: Run pr27228.
|
|
|
|
|
* testsuite/gas/elf/pr27228.d: New file.
|
|
|
|
|
* testsuite/gas/elf/pr27228.s: Likewise.
|
|
|
|
|
|
2021-01-24 10:09:07 +08:00
|
|
|
|
2021-01-24 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 27228
|
|
|
|
|
* write.c (resolve_reloc_expr_symbols): Don't assume local symbol
|
|
|
|
|
is defined.
|
|
|
|
|
|
2021-01-21 14:20:02 +08:00
|
|
|
|
2021-01-21 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 27221
|
|
|
|
|
* dwarf2dbg.c (dwarf2_gen_line_info_1): Don't warn about ignored
|
|
|
|
|
line number info when gas is generating it.
|
|
|
|
|
* testsuite/gas/elf/dwarf2-20.d: Adjust to not expect warnings.
|
|
|
|
|
* testsuite/gas/m68hc11/indexed12.d: Likewise.
|
|
|
|
|
* testsuite/gas/elf/elf.exp: Don't run warn-2.
|
|
|
|
|
* gas/testsuite/gas/elf/warn-2.s: Delete.
|
|
|
|
|
|
2021-01-21 14:16:20 +08:00
|
|
|
|
2021-01-21 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 27218
|
|
|
|
|
* dwarf2dbg.c (dwarf2_gen_line_info): Correct setting of dwarf_level.
|
|
|
|
|
(dwarf2_directive_filename, dwarf2_directive_loc): Likewise, and
|
|
|
|
|
error for negative file numbers.
|
|
|
|
|
|
2021-01-20 13:25:46 +08:00
|
|
|
|
2021-01-20 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/gas/ppc/power4.d: Adjust for removal of section sym.
|
|
|
|
|
* testsuite/gas/ppc/test1elf32.d: Likewise.
|
|
|
|
|
* testsuite/gas/ppc/test1elf64.d: Likewise.
|
|
|
|
|
|
2021-01-18 22:25:05 +08:00
|
|
|
|
2021-01-18 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/27195
|
|
|
|
|
* dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
|
|
|
|
|
needed.
|
|
|
|
|
(dwarf2_directive_filename): Likewise.
|
|
|
|
|
(dwarf2_directive_loc): Likewise.
|
|
|
|
|
* testsuite/gas/elf/dwarf-5-file0.d: Pass --gdwarf-3.
|
|
|
|
|
* testsuite/gas/lns/lns-diag-1.l: Remove the
|
|
|
|
|
"Error: file number less than one" errors.
|
|
|
|
|
|
2021-01-18 07:08:22 +08:00
|
|
|
|
2021-01-18 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 27198
|
|
|
|
|
* config/tc-i386.c (need_plt32_p): Return FALSE for NULL symbol.
|
|
|
|
|
* testsuite/gas/i386/pr27198.d,
|
|
|
|
|
* gas/testsuite/gas/i386/pr27198.err,
|
|
|
|
|
* gas/testsuite/gas/i386/pr27198.s: New test.
|
|
|
|
|
* gas/testsuite/gas/i386/i386.exp: Run it.
|
|
|
|
|
|
2021-01-15 09:36:51 +08:00
|
|
|
|
2021-01-15 Nelson Chu <nelson.chu@sifive.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-riscv.c: Indent and GNU coding standards tidy,
|
|
|
|
|
also aligned the code.
|
|
|
|
|
* config/tc-riscv.h: Likewise.
|
|
|
|
|
|
2021-01-13 16:52:14 +08:00
|
|
|
|
2021-01-15 Nelson Chu <nelson.chu@sifive.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-riscv.c: Error and warning messages tidy.
|
|
|
|
|
* testsuite/gas/riscv/priv-reg-fail-fext.l: Updated.
|
|
|
|
|
* testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
|
|
|
|
|
* testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
|
|
|
|
|
* testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
|
|
|
|
|
* testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
|
|
|
|
|
* testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
|
|
|
|
|
* testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
|
|
|
|
|
|
2021-01-13 10:05:48 +08:00
|
|
|
|
2021-01-15 Nelson Chu <nelson.chu@sifive.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-riscv.c: Comments tidy and improvement. Also update
|
|
|
|
|
comment "fallthru" to "Fall through" that end with a period and
|
|
|
|
|
two spaces.
|
|
|
|
|
|
2021-01-14 11:14:10 +08:00
|
|
|
|
2021-01-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* doc/as.texi: Delete @ifset ELF wrapping around [248]byte entries.
|
|
|
|
|
Delete warning that these are only available with ELF targets.
|
|
|
|
|
* obj-elf.c (elf_pseudo_table): Move 2byte/4byte/8byte entries ...
|
|
|
|
|
* read.c (potable): ... here.
|
|
|
|
|
|
2021-01-14 14:03:54 +08:00
|
|
|
|
2021-01-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (bfin-lex-wrapper.@OBJEXT@): Delete $(NO_WERROR).
|
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
|
2021-01-14 13:51:59 +08:00
|
|
|
|
2021-01-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* bfin-lex.l (YY_NO_INPUT, YY_NO_UNPUT): Define.
|
|
|
|
|
(parse_int): Mark char_bag const.
|
|
|
|
|
|
2021-01-13 21:42:11 +08:00
|
|
|
|
2021-01-13 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/27178
|
|
|
|
|
* config/tc-i386.c (lex_got::gotrel): Add need_GOT_symbol.
|
|
|
|
|
Don't generate GOT_symbol for PLT relocations.
|
|
|
|
|
* testsuite/gas/i386/i386.exp: Run PR gas/27178 tests.
|
|
|
|
|
* testsuite/gas/i386/no-got.d: New file.
|
|
|
|
|
* testsuite/gas/i386/no-got.s: Likewise.
|
|
|
|
|
* testsuite/gas/i386/x86-64-no-got.d: Likewise.
|
|
|
|
|
* testsuite/gas/i386/x86-64-no-got.s: Likewise.
|
|
|
|
|
|
2021-01-13 16:43:23 +08:00
|
|
|
|
2021-01-13 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2021-01-12 21:45:28 +08:00
|
|
|
|
2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/26792
|
|
|
|
|
* configure.ac: Use GNU_MAKE_JOBSERVER.
|
|
|
|
|
* aclocal.m4: Regenerated.
|
|
|
|
|
* configure: Likewise.
|
|
|
|
|
|
2021-01-12 21:18:50 +08:00
|
|
|
|
2021-01-12 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/fr.po: Updated French translation.
|
|
|
|
|
|
2021-01-12 08:29:31 +08:00
|
|
|
|
2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/27173
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2021-01-06 01:39:04 +08:00
|
|
|
|
2021-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Remove CSRE.
|
|
|
|
|
* config/tc-aarch64.c (parse_csr_operand): Delete.
|
|
|
|
|
(parse_operands): Delete handling of
|
|
|
|
|
AARCH64_OPND_CSRE_CSR.
|
|
|
|
|
(aarch64_features): Remove csre.
|
|
|
|
|
* doc/c-aarch64.texi: Remove CSRE.
|
|
|
|
|
* testsuite/gas/aarch64/csre.d: Delete.
|
|
|
|
|
* testsuite/gas/aarch64/csre-invalid.s: Likewise.
|
|
|
|
|
* testsuite/gas/aarch64/csre-invalid.d: Likewise.
|
|
|
|
|
* testsuite/gas/aarch64/csre_csr.s: Likewise.
|
|
|
|
|
* testsuite/gas/aarch64/csre_csr.d: Likewise.
|
|
|
|
|
* testsuite/gas/aarch64/csre_csr-invalid.s: Likewise.
|
|
|
|
|
* testsuite/gas/aarch64/csre_csr-invalid.l: Likewise.
|
|
|
|
|
* testsuite/gas/aarch64/csre_csr-invalid.d: Likewise.
|
|
|
|
|
|
2021-01-11 20:55:33 +08:00
|
|
|
|
2021-01-11 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/uk.po: Updated Ukranian translation.
|
|
|
|
|
|
2021-01-09 22:47:58 +08:00
|
|
|
|
2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2021-01-09 19:01:01 +08:00
|
|
|
|
2021-01-09 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* po/gas.pot: Regenerate.
|
|
|
|
|
|
2021-01-09 18:40:28 +08:00
|
|
|
|
2021-01-09 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* 2.36 release branch crated.
|
|
|
|
|
|
POWER10: Add Return-Oriented Programming instructions
POWER10 adds some return-oriented programming (ROP) instructions and
this patch adds support for them. You will notice that they are enabled
for POWER8 and later, not just POWER10 and later. This is on purpose.
This allows the instructions to be added to POWER8 binaries that can be
run on POWER8, POWER9 and POWER10 cpus. On POWER8 and POWER9, these
instructions just act as nop's.
opcodes/
* ppc-opc.c (insert_dw, (extract_dw): New functions.
(DW, (XRC_MASK): Define.
(powerpc_opcodes) <hashchk, hashchkp, hashst, haststp>: New mnemonics.
gas/
* testsuite/gas/ppc/rop-checks.d,
* testsuite/gas/ppc/rop-checks.l,
* testsuite/gas/ppc/rop-checks.s,
* testsuite/gas/ppc/rop.d,
* testsuite/gas/ppc/rop.s: New tests.
* testsuite/gas/ppc/ppc.exp: Run them.
2021-01-09 06:07:12 +08:00
|
|
|
|
2021-01-08 Peter Bergner <bergner@linux.ibm.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/gas/ppc/rop-checks.d,
|
|
|
|
|
* testsuite/gas/ppc/rop-checks.l,
|
|
|
|
|
* testsuite/gas/ppc/rop-checks.s,
|
|
|
|
|
* testsuite/gas/ppc/rop.d,
|
|
|
|
|
* testsuite/gas/ppc/rop.s: New tests.
|
|
|
|
|
* testsuite/gas/ppc/ppc.exp: Run them.
|
|
|
|
|
|
2021-01-09 08:33:29 +08:00
|
|
|
|
2021-01-09 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2021-01-08 00:47:36 +08:00
|
|
|
|
2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2021-01-07 22:42:00 +08:00
|
|
|
|
2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR 27109
|
|
|
|
|
* read.c (s_reloc): Call symbol_mark_used_in_reloc on the
|
|
|
|
|
section symbol.
|
|
|
|
|
* subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
|
|
|
|
|
* write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
|
|
|
|
|
on the section symbol.
|
|
|
|
|
(set_symtab): Don't generate unused section symbols.
|
|
|
|
|
(maybe_generate_build_notes): Call symbol_mark_used_in_reloc
|
|
|
|
|
on the section symbol.
|
|
|
|
|
* config/obj-elf.c (elf_adjust_symtab): Call
|
|
|
|
|
symbol_mark_used_in_reloc on the group signature symbol.
|
|
|
|
|
* testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
|
|
|
|
|
from expected output.
|
|
|
|
|
* testsuite/gas/elf/elf.exp (run_elf_list_test): Check
|
|
|
|
|
is_elf_unused_section_symbols.
|
|
|
|
|
* testsuite/gas/elf/section2.e: Updated.
|
|
|
|
|
* testsuite/gas/elf/section2.e-unused: New file.
|
|
|
|
|
* testsuite/gas/elf/symver.d: Remove unused section symbols.
|
|
|
|
|
* testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
|
|
|
|
|
* testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
|
|
|
|
|
* testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
|
|
|
|
|
* testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
|
|
|
|
|
* testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
|
|
|
|
|
* testsuite/gas/i386/size-1.d: Likewise.
|
|
|
|
|
* testsuite/gas/i386/size-3.d: Likewise.
|
|
|
|
|
* testsuite/gas/i386/svr4.d: Likewise.
|
|
|
|
|
* testsuite/gas/i386/x86-64-size-1.d: Likewise.
|
|
|
|
|
* testsuite/gas/i386/x86-64-size-3.d: Likewise.
|
|
|
|
|
* testsuite/gas/i386/x86-64-size-5.d: Likewise.
|
|
|
|
|
* testsuite/gas/i386/x86-64-unwind.d: Likewise.
|
|
|
|
|
|
2021-01-07 15:53:25 +08:00
|
|
|
|
2021-01-07 Philipp Tomsich <prt@gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/tc-riscv.c (riscv_multi_subset_supports): Added
|
|
|
|
|
INSN_CLASS_ZIHINTPAUSE.
|
|
|
|
|
* testsuite/gas/riscv/pause.d: New testcase. Adding coverage for
|
|
|
|
|
the pause hint instruction.
|
|
|
|
|
* testsuite/gas/riscv/pause.s: Likewise.
|
|
|
|
|
|
2020-12-15 23:11:03 +08:00
|
|
|
|
2021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
|
|
|
|
|
Jim Wilson <jimw@sifive.com>
|
|
|
|
|
Andrew Waterman <andrew@sifive.com>
|
|
|
|
|
Maxim Blinov <maxim.blinov@embecosm.com>
|
|
|
|
|
Kito Cheng <kito.cheng@sifive.com>
|
|
|
|
|
Nelson Chu <nelson.chu@sifive.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZB*.
|
|
|
|
|
(riscv_get_default_ext_version): Do not check the default_isa_spec when
|
|
|
|
|
the version defined in the riscv_opcodes table is ISA_SPEC_CLASS_DRAFT.
|
|
|
|
|
* testsuite/gas/riscv/bitmanip-insns-32.d: New testcase.
|
|
|
|
|
* testsuite/gas/riscv/bitmanip-insns-64.d: Likewise.
|
|
|
|
|
* testsuite/gas/riscv/bitmanip-insns.s: Likewise.
|
|
|
|
|
|
2021-01-06 10:06:31 +08:00
|
|
|
|
2021-01-06 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
|
|
|
|
|
|
2021-01-06 09:23:33 +08:00
|
|
|
|
2021-01-06 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/gas/macros/app1.d: xfail tic30.
|
|
|
|
|
* testsuite/gas/macros/app2.d: Likewise.
|
|
|
|
|
* testsuite/gas/macros/app3.d: Likewise.
|
|
|
|
|
* testsuite/gas/macros/app4.d: Likewise.
|
|
|
|
|
|
2021-01-06 05:50:37 +08:00
|
|
|
|
2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
|
|
|
|
|
|
|
|
|
|
* doc/as.texi: Add -mlittle-endian and -mbig-endian to docs.
|
|
|
|
|
* doc/c-riscv.texi: Likewise.
|
|
|
|
|
|
2021-01-06 05:50:39 +08:00
|
|
|
|
2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
|
|
|
|
|
|
|
|
|
|
* testsuite/gas/riscv/li32.d: Accept bigriscv in addition
|
|
|
|
|
to littleriscv.
|
|
|
|
|
* testsuite/gas/riscv/li64.d: Likewise.
|
|
|
|
|
* testsuite/gas/riscv/lla32.d: Likewise.
|
|
|
|
|
* testsuite/gas/riscv/lla64.d: Likewise.
|
|
|
|
|
* testsuite/gas/riscv/march-ok-g2.d: Likewise.
|
|
|
|
|
* testsuite/gas/riscv/march-ok-g2_p1.d: Likewise.
|
|
|
|
|
* testsuite/gas/riscv/march-ok-g2p0.d: Likewise.
|
|
|
|
|
* testsuite/gas/riscv/march-ok-i2p0.d: Likewise.
|
|
|
|
|
* testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise.
|
|
|
|
|
* testsuite/gas/riscv/march-ok-nse-with-version.d: Likewise.
|
|
|
|
|
* testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
|
|
|
|
|
|
RISC-V: Implement support for big endian targets.
RISC-V instruction/code is always little endian, but data might be
big-endian. Therefore, we can not use the original bfd_get/bfd_put
to get/put the code for big endian targets. Add new riscv_get_insn
and riscv_put_insn to always get/put code as little endian can resolve
the problem. Just remember to update them once we have supported
the 48-bit/128-bit instructions in the future patches.
bfd/
* config.bfd: Added targets riscv64be*-*-*, riscv32be*-*-* and
riscvbe*-*-*. Also added riscv_elf[32|64]_be_vec.
* configure.ac: Handle riscv_elf[32|64]_be_vec.
* configure: Regenerate.
* elfnn-riscv.c: Include <limits.h> and define CHAR_BIT for
riscv_is_insn_reloc.
(riscv_get_insn): RISC-V instructions are always little endian, but
bfd_get may be used for big-endian, so add new riscv_get_insn to handle
the insturctions.
(riscv_put_insn): Likewsie.
(riscv_is_insn_reloc): Check if we are relocaing an instruction.
(perform_relocation): Call riscv_is_insn_reloc to decide if we should
use riscv_[get|put]_insn or bfd_[get|put].
(riscv_zero_pcrel_hi_reloc): Use riscv_[get|put]_insn, bfd_[get|put]l32
or bfd_[get|put]l16 for code.
(riscv_elf_relocate_section): Likewise.
(riscv_elf_finish_dynamic_symbol): Likewise.
(riscv_elf_finish_dynamic_sections): Likewise.
(_bfd_riscv_relax_call): Likewise.
(_bfd_riscv_relax_lui): Likewise.
(_bfd_riscv_relax_align): Likewise.
(_bfd_riscv_relax_pc): Likewise.
(riscv_elf_object_p): Handled for big endian.
(TARGET_BIG_SYM, TARGET_BIG_NAME): Defined.
* targets.c: Add riscv_elf[32|64]_be_vec.
(_bfd_target_vector): Likewise.
gas/
* config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
elf32-bigriscv.
(install_insn): Always write instructions as little endian.
(riscv_make_nops): Likewise.
(md_convert_frag_branch): Likewise.
(md_number_to_chars): Write data in target endianness.
(options, md_longopts): Add -mbig-endian and -mlittle-endian options.
(md_parse_option): Handle the endian options.
* config/tc-riscv.h: Only define TARGET_BYTES_BIG_ENDIAN if not
already defined.
* configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
ld/
* configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
riscv32be*-*-linux*, and riscv64be*-*-linux*.
* Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
eelf32briscv_ilp32.c.
* Makefile.in: Regenerate.
* emulparams/elf32briscv.sh: Added.
* emulparams/elf32briscv_ilp32.sh: Likewise.
* emulparams/elf32briscv_ilp32f.sh: Likewise.
* emulparams/elf64briscv.sh: Likewise.
* emulparams/elf64briscv_lp64.sh: Likewise.
* emulparams/elf64briscv_lp64f.sh: Likewise.
2021-01-06 05:50:32 +08:00
|
|
|
|
2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
|
|
|
|
|
|
|
|
|
|
* config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
|
|
|
|
|
elf32-bigriscv.
|
|
|
|
|
(install_insn): Always write instructions as little endian.
|
|
|
|
|
(riscv_make_nops): Likewise.
|
|
|
|
|
(md_convert_frag_branch): Likewise.
|
|
|
|
|
(md_number_to_chars): Write data in target endianness.
|
|
|
|
|
(options, md_longopts): Add -mbig-endian and -mlittle-endian options.
|
|
|
|
|
(md_parse_option): Handle the endian options.
|
|
|
|
|
* config/tc-riscv.h: Only define TARGET_BYTES_BIG_ENDIAN if not
|
|
|
|
|
already defined.
|
|
|
|
|
* configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
|
|
|
|
|
|
2021-01-05 04:37:49 +08:00
|
|
|
|
2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/26256
|
|
|
|
|
* config/obj-elf.c (obj_elf_change_section): Also filter out
|
|
|
|
|
SHF_LINK_ORDER.
|
|
|
|
|
|
2021-01-04 08:46:21 +08:00
|
|
|
|
2021-01-04 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 27102
|
|
|
|
|
* symbols.c (S_SET_EXTERNAL): Revise section symbol warning
|
|
|
|
|
message and register symbol error message.
|
|
|
|
|
|
2021-01-04 06:23:37 +08:00
|
|
|
|
2021-01-04 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 27101
|
|
|
|
|
* read.c (s_align): Use a large enough type for "align" to hold
|
|
|
|
|
the result of get_absolute_expression.
|
|
|
|
|
|
2021-01-01 11:51:52 +08:00
|
|
|
|
2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c: Correct comment spelling.
|
|
|
|
|
* config/tc-riscv.c: Likewise.
|
|
|
|
|
* config/tc-s390.c: Correct comment grammar.
|
|
|
|
|
* doc/c-i386.texi: Correct spelling.
|
|
|
|
|
* doc/c-s390.texi: Correct grammar.
|
|
|
|
|
|
2021-01-01 06:58:58 +08:00
|
|
|
|
2021-01-01 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
Update year range in copyright notice of all files.
|
|
|
|
|
|
2021-01-01 07:47:36 +08:00
|
|
|
|
2021-01-01 Hans-Peter Nilsson <hp@bitrange.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
|
|
|
|
|
|
2021-01-01 06:47:13 +08:00
|
|
|
|
For older changes see ChangeLog-2020
|
2016-01-01 18:44:31 +08:00
|
|
|
|
|
2021-01-01 06:47:13 +08:00
|
|
|
|
Copyright (C) 2021 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:
|