mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
ea173078d2
Change 1058c7532d
"Use signed data type for R_XTENSA_DIFF* relocation
offsets." changed signedness of BFD_RELOC_XTENSA_DIFF* relocations
substituted for BFD_RELOC_*. This made it impossible to encode arbitrary
8-, 16- and 32-bit values, which broke e.g. debug info encoding by .loc
directive. Revert this part and add test.
gas/
2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
* config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
substitutions for BFD_RELOC_* as unsigned.
* gas/testsuite/gas/xtensa/all.exp: Add loc to list of xtensa
tests.
* gas/testsuite/gas/xtensa/loc.d: New file: loc test result
patterns.
* gas/testsuite/gas/xtensa/loc.s: New file: loc test.
327 lines
11 KiB
Plaintext
327 lines
11 KiB
Plaintext
2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
|
||
|
||
* config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
|
||
substitutions for BFD_RELOC_* as unsigned.
|
||
* gas/testsuite/gas/xtensa/all.exp: Add loc to list of xtensa
|
||
tests.
|
||
* gas/testsuite/gas/xtensa/loc.d: New file: loc test result
|
||
patterns.
|
||
* gas/testsuite/gas/xtensa/loc.s: New file: loc test.
|
||
|
||
2016-02-03 Kevin Buettner <kevinb@redhat.com>
|
||
|
||
* config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
|
||
|
||
2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR gas/19520
|
||
* NEWS: Mention new command line option -mrelax-relocations and
|
||
new configure option --enable-x86-relax-relocations for x86
|
||
target.
|
||
* config.in: Regenerated.
|
||
* configure.ac: Add --enable-x86-relax-relocations.
|
||
(ac_default_x86_relax_relocations): New. Default to 1 except
|
||
for x86 Solaris targets older than Solaris 12.
|
||
(DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
|
||
* configure: Likewise.
|
||
* config/tc-i386.c (generate_relax_relocations): New.
|
||
(OPTION_MRELAX_RELOCATIONS): Likewise.
|
||
(output_disp): Don't generate relax relocations if
|
||
generate_relax_relocations is 0.
|
||
(md_longopts): Add -mrelax-relocations.
|
||
(md_show_usage): Likewise.
|
||
(md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
|
||
* doc/c-i386.texi: Document -mrelax-relocations=.
|
||
* testsuite/gas/i386/got-no-relax.d: New file.
|
||
* testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
|
||
* testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
|
||
* testsuite/gas/i386/localpic.d: Likewise.
|
||
* testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
|
||
* testsuite/gas/i386/reloc32.d: Likewise.
|
||
* testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
|
||
* testsuite/gas/i386/x86-64-localpic.d: Likewise.
|
||
* testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
|
||
* testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
|
||
* testsuite/gas/i386/i386.exp: Run got-no-relax and
|
||
x86-64-gotpcrel-no-relax.
|
||
|
||
2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* NEWS: Mention new command line option -mfence-as-lock-add=yes
|
||
for x86 target.
|
||
|
||
2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* NEWS: Remove duplicated marker for 2.26.
|
||
|
||
2016-02-02 Renlin Li <renlin.li@arm.com>
|
||
|
||
* testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
|
||
|
||
2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
|
||
|
||
* testsuite/gas/ip2k/allinsn.d: New file.
|
||
* testsuite/gas/ip2k/allinsn.s: New file.
|
||
* testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
|
||
|
||
2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
|
||
|
||
* testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
|
||
some load instructions.
|
||
* testsuite/gas/epiphany/allinsn.d: Likewise.
|
||
* testsuite/gas/epiphany/regression.d: Likewise.
|
||
|
||
2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
|
||
|
||
* testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
|
||
suffixes from instruction mnemonics in expected output.
|
||
* testsuite/gas/epiphany/allinsn.d: Likewise.
|
||
* testsuite/gas/epiphany/regression.d: Likewise.
|
||
* testsuite/gas/epiphany/sample.d: Likewise.
|
||
|
||
2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
|
||
|
||
* testsuite/gas/epiphany/addr-syntax.d: Update expected register
|
||
names.
|
||
* testsuite/gas/epiphany/allinsn.d: Likewise.
|
||
* testsuite/gas/epiphany/sample.d: Likewise.
|
||
|
||
2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
|
||
|
||
* testsuite/gas/epiphany/sample.d: Update expected output.
|
||
|
||
2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
|
||
|
||
* config/tc-arc.c (md_apply_fix): Allow addendum.
|
||
(arc_reloc_op): Allow complex expressions for tpoff.
|
||
(md_apply_fix): Handle resolved TLS local symbol.
|
||
|
||
* testsuite/gas/arc/tls-relocs1.d: New file.
|
||
* testsuite/gas/arc/tls-relocs1.s: Likewise.
|
||
|
||
2016-02-01 Loria <Loria@phantasia.org>
|
||
|
||
PR target/19311
|
||
* config/tc-arm.c (encode_arm_immediate): Recode to improve
|
||
efficiency and avoid an LLVM loop optimization bug.
|
||
|
||
2016-02-01 Nick Clifton <nickc@redhat.com>
|
||
|
||
* config/tc-microblaze.c (parse_imm): Fix compile time warning
|
||
message extending a negative 32-bit value into a larger signed
|
||
value on a 32-bit host.
|
||
|
||
2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR gas/19532
|
||
* configure.ac (compressed_debug_sections): Replace == with =.
|
||
* configure: Regenerated.
|
||
|
||
2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
|
||
H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* config/tc-i386.c (avoid_fence): New.
|
||
(output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
|
||
is true.
|
||
(OPTION_FENCE_AS_LOCK_ADD): New.
|
||
(md_longopts): Add -mfence-as-lock-add.
|
||
(md_parse_option): Handle -mfence-as-lock-add.
|
||
(md_show_usage): Add -mfence-as-lock-add=[no|yes].
|
||
* doc/c-i386.texi (-mfence-as-lock-add): Document.
|
||
* testsuite/gas/i386/i386.exp: Run new tests.
|
||
* testsuite/gas/i386/fence-as-lock-add.s: New.
|
||
* testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
|
||
* testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
|
||
* testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
|
||
* testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
|
||
|
||
2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* configure.ac (compressed_debug_sections): Remove trailing `]'.
|
||
* configure: Regenerated.
|
||
|
||
2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
|
||
(OPTION_MOMIT_LOCK_PREFIX): This.
|
||
(md_longopts): Updated.
|
||
(md_parse_option): Likewise.
|
||
|
||
2016-01-25 Catherine Moore <clm@codesourcery.com>
|
||
|
||
* config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
|
||
if abicalls are in effect.
|
||
* testsuite/gas/mips/sdata-gp.s: New test.
|
||
* testsuite/gas/mips/sdata-gp.d: New expected output
|
||
* testsuite/gas/mips/mips.exp: Run new test.
|
||
|
||
2016-01-25 Renlin Li <renlin.li@arm.com>
|
||
|
||
* testsuite/gas/arm/thumb2_it_search.d: New.
|
||
* testsuite/gas/arm/thumb2_it_search.s: New.
|
||
|
||
2016-01-21 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR gas/19454
|
||
* testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
|
||
with arm-netbsdelf target.
|
||
* testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
|
||
|
||
2016-01-20 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR 19456
|
||
* testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
|
||
* testsuite/gas/arm/blx-bl-convert.d
|
||
* testsuite/gas/arm/plt-1.d: Likewise.
|
||
* testsuite/gas/arm/reloc-bad.d: Likewise.
|
||
* testsuite/gas/arm/thumb-w-good.d: Likewise.
|
||
* testsuite/gas/arm/thumb2_pool.d: Likewise.
|
||
* testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
|
||
* testsuite/gas/arm/tls_vxworks.d: Update expected output.
|
||
|
||
PR 19499
|
||
* doc/as.texinfo (Errors): Correct documentation describing the
|
||
interaction of .file and .line with warning and error messages.
|
||
|
||
PR 19458
|
||
* testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
|
||
* testsuite/gas/arm/archv8m-main.d: Likewise.
|
||
* testsuite/gas/arm/archv8m-base.d: Likewise.
|
||
|
||
2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
|
||
|
||
* testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
|
||
* testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
|
||
* testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
|
||
|
||
2016-01-20 Mickael Guene <mickael.guene@st.com>
|
||
Terry Guo <terry.guo@arm.com>
|
||
|
||
* config/obj-elf.c (obj_elf_change_section) : Allow arm section with
|
||
SHF_ARM_NOREAD section flag.
|
||
* config/tc-arm.h (md_elf_section_letter) : Implement this hook to
|
||
handle letter 'y'.
|
||
(arm_elf_section_letter) : Declare it.
|
||
* config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
|
||
SHF_ARM_NOREAD section flag.
|
||
* doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
|
||
|
||
* testsuite/gas/arm/section-execute-only.s: New test case.
|
||
* testsuite/gas/arm/section-execute-only.d: Expected output.
|
||
|
||
2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
|
||
|
||
* config/tc-mips.c (micromips_insn_length): Remove the mention
|
||
of 48-bit microMIPS instructions.
|
||
|
||
2016-01-18 Alan Modra <amodra@gmail.com>
|
||
|
||
* configure: Regenerate.
|
||
|
||
2016-01-17 Alan Modra <amodra@gmail.com>
|
||
|
||
* configure: Regenerate.
|
||
|
||
2016-01-17 Alan Modra <amodra@gmail.com>
|
||
|
||
* testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
|
||
|
||
2016-01-14 Nick Clifton <nickc@redhat.com>
|
||
|
||
* testsuite/gas/rl78/sp-relative-movw.s: New test.
|
||
* testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
|
||
* testsuite/gas/rl78/rl78.exp: Run the new test.
|
||
|
||
2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
|
||
|
||
* testsuite/gas/aarch64/illegal-sysreg-2.l: New.
|
||
* testsuite/gas/aarch64/illegal-sysreg-2.d: New.
|
||
|
||
2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
|
||
|
||
* config/tc-nios2.c (output_movia): Preset `code' to 0.
|
||
|
||
2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
|
||
|
||
* config/tc-h8300.c (get_operand): Remove spurious condition in
|
||
test for closing parenthesis.
|
||
|
||
2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
|
||
|
||
* config/tc-arm.c (arm_ext_v8_2): New.
|
||
(insns): Add "esb".
|
||
* testsuite/gas/arm/armv8_2-a.d: New.
|
||
* testsuite/gas/arm/armv8_2-a.s: New.
|
||
|
||
2016-01-12 Alan Modra <amodra@gmail.com>
|
||
|
||
* testsuite/gas/ppc/vsx3.d: Accept nop padding.
|
||
|
||
2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
|
||
|
||
* testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
|
||
xvcmpnesp, xvcmpnesp.>: Delete tests.
|
||
* testsuite/gas/ppc/power9.s: Likewise.
|
||
* testsuite/gas/ppc/vsx3.d: Likewise.
|
||
* testsuite/gas/ppc/vsx3.s: Likewise.
|
||
|
||
2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
|
||
|
||
PR gas/13050
|
||
* testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
|
||
* testsuite/gas/m68k/p13050-1.s: New file.
|
||
* testsuite/gas/m68k/p13050-2.d: New file.
|
||
* testsuite/gas/m68k/p13050-2.s: New file.
|
||
|
||
2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
|
||
|
||
* testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
|
||
* testsuite/gas/arc/add.d: Likewise.
|
||
* testsuite/gas/arc/and.d: Likewise.
|
||
* testsuite/gas/arc/asl.d: Likewise.
|
||
* testsuite/gas/arc/asr.d: Likewise.
|
||
* testsuite/gas/arc/bic.d: Likewise.
|
||
* testsuite/gas/arc/extb.d: Likewise.
|
||
* testsuite/gas/arc/extw.d: Likewise.
|
||
* testsuite/gas/arc/j.d: Likewise.
|
||
* testsuite/gas/arc/jl.d: Likewise.
|
||
* testsuite/gas/arc/ld2.d: Likewise.
|
||
* testsuite/gas/arc/lsr.d: Likewise.
|
||
* testsuite/gas/arc/mov.d: Likewise.
|
||
* testsuite/gas/arc/or.d: Likewise.
|
||
* testsuite/gas/arc/pcl-relocs.d: Likewise.
|
||
* testsuite/gas/arc/pcrel-relocs.d: Likewise.
|
||
* testsuite/gas/arc/pic-relocs.d: Likewise.
|
||
* testsuite/gas/arc/plt-relocs.d: Likewise.
|
||
* testsuite/gas/arc/rlc.d: Likewise.
|
||
* testsuite/gas/arc/ror.d: Likewise.
|
||
* testsuite/gas/arc/rrc.d: Likewise.
|
||
* testsuite/gas/arc/sbc.d: Likewise.
|
||
* testsuite/gas/arc/sda-relocs.d: Likewise.
|
||
* testsuite/gas/arc/sda-relocs2.d: Likewise.
|
||
* testsuite/gas/arc/sexb.d: Likewise.
|
||
* testsuite/gas/arc/sexw.d: Likewise.
|
||
* testsuite/gas/arc/st.d: Likewise.
|
||
* testsuite/gas/arc/sub.d: Likewise.
|
||
* testsuite/gas/arc/tls-relocs.d: Likewise.
|
||
* testsuite/gas/arc/xor.d: Likewise.
|
||
|
||
2016-01-01 Alan Modra <amodra@gmail.com>
|
||
|
||
Update year range in copyright notice of all files.
|
||
|
||
For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
|
||
|
||
Copyright (C) 2016 Free Software Foundation, Inc.
|
||
|
||
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:
|