mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
9e009953a5
Correct a regression from commit8614eeee67
("Traditional MIPS patches"), <https://sourceware.org/ml/binutils/2000-07/msg00018.html>, which caused symbols in linkonce or what is these days known as comdat sections to be treated as external for the purpose of PIC relocation generation even if their binding remains STB_LOCAL. This in turn disabled GOT16/LO16 relocation pairing with references to such symbols, as no complementing LO16 relocation is expected for external GOT16 references in the o32 ABI, which ultimately leads to link errors, e.g.: ld: comdat-reloc.o: Can't find matching LO16 reloc against `foo' for R_MIPS_GOT16 at 0x24 in section `.text.bar[bar]' as with the LD test case included with this change. Revert the special case for symbols in comdat sections then, making code actually match `adjust_reloc_syms' as indicated in its explanatory comment, and adjust calling code accordingly. Also bring back the corresponding description of what now is `s_is_linkonce', lost with commit5f0fe04bc5
("Improved MIPS16/MIPS32 code intermixing for gas."), <https://www.sourceware.org/ml/binutils/2006-07/msg00039.html>. gas/ PR gas/20649 * config/tc-mips.c (pic_need_relax): Don't check for linkonce symbols, remove the `segtype' parameter. (mips_frob_file, md_estimate_size_before_relax): Adjust accordingly. (s_is_linkonce): Add an explanatory comment. * testsuite/gas/mips/comdat-reloc.d: New test. * testsuite/gas/mips/comdat-reloc.s: New test source. * testsuite/gas/mips/mips.exp: Run the new test. ld/ PR gas/20649 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16 relocation pairing link test.
166 lines
5.1 KiB
Plaintext
166 lines
5.1 KiB
Plaintext
2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
|
||
|
||
PR gas/20649
|
||
* config/tc-mips.c (pic_need_relax): Don't check for linkonce
|
||
symbols, remove the `segtype' parameter.
|
||
(mips_frob_file, md_estimate_size_before_relax): Adjust
|
||
accordingly.
|
||
(s_is_linkonce): Add an explanatory comment.
|
||
* testsuite/gas/mips/comdat-reloc.d: New test.
|
||
* testsuite/gas/mips/comdat-reloc.s: New test source.
|
||
* testsuite/gas/mips/mips.exp: Run the new test.
|
||
|
||
2017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
||
|
||
* testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
|
||
* testsuite/gas/arm/armv8_3-a-simd.d: Update.
|
||
|
||
2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
|
||
|
||
PR 21059
|
||
* config/bfin-lex.l: Support processing with flex 2.6.3.
|
||
* itbl-lex.l: Likewise.
|
||
|
||
2017-01-18 Nathan Sidwell <nathan@acm.org>
|
||
|
||
* as.h (gas_assert): Use abort.
|
||
(as_assert): Remove.
|
||
(signal_init): Declare.
|
||
* as.c (main): Call signal_init.
|
||
* messages.c: #include <signal.h>
|
||
(as_assert): Delete.
|
||
(as_abort): Allow NULL FILE.
|
||
(signal_crash): New.
|
||
(signal_init): Register fatal signal handlers.
|
||
* configure.ac: Check for strsignal.
|
||
* config.in: Rebuilt.
|
||
* configure: Rebuilt.
|
||
|
||
2017-01-17 Nick Clifton <nickc@redhat.com>
|
||
|
||
* po/sv.po: Updated Swedish translation.
|
||
|
||
2017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
|
||
|
||
* config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
|
||
(cpu_noarch): Add noavx512_vpopcntdq.
|
||
* doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
|
||
* testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
|
||
* testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
|
||
* testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
|
||
* testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
|
||
* testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
|
||
* testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
|
||
* testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
|
||
|
||
2017-01-12 Nick Clifton <nickc@redhat.com>
|
||
|
||
* read.c (temp_ilp): New function. Installs a temporary input
|
||
line pointer.
|
||
(restore_ilp): New function. Restores the original input line
|
||
pointer.
|
||
* read.h (temp_ilp): Prototype.
|
||
(restore_ilp): Prototype.
|
||
* stabs.c (dot_func_p): Use bfd_boolean type.
|
||
(generate_asm_file): Use temp_ilp and restore_ilp.
|
||
(stabs_generate_asm_lineno): Likewise.
|
||
(stabs_generate_asm_endfunc): Likewise.
|
||
|
||
2017-01-11 Jeremy Soller <jackpot51@gmail.com>
|
||
|
||
* configure.tgt: Add entry for i386-redox.
|
||
|
||
2017-01-10 Nick Clifton <nickc@redhat.com>
|
||
|
||
* po/sv.po: Updated Swedish translation.
|
||
|
||
2017-01-10 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* testsuite/gas/all/sleb128-8.d: Adjust test.
|
||
* testsuite/gas/all/gas.exp (test_cond): Likewise.
|
||
|
||
2017-01-10 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* read.c (emit_leb128_expr): Extended unsigned big number for
|
||
sleb128.
|
||
* testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
|
||
* testsuite/gas/all/sleb128.d: New test.
|
||
* testsuite/gas/all/sleb128.s: New test source.
|
||
|
||
2017-01-09 Andrew Waterman <andrew@sifive.com>
|
||
|
||
* config/tc-riscv.c (append_insn): Don't eagerly apply relocations
|
||
against constants.
|
||
(md_apply_fix): Mark relocations against constants as "done."
|
||
|
||
2017-01-09 Andrew Waterman <andrew@sifive.com>
|
||
|
||
* config/tc-riscv.c (append_insn): Don't eagerly apply relocations
|
||
against constants.
|
||
(md_apply_fix): Mark relocations against constants as "done."
|
||
|
||
2017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
|
||
Kito Cheng <kito.cheng@gmail.com>
|
||
|
||
* emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
|
||
Removed.
|
||
(SDATA_START_SYMBOLS): Likewise.
|
||
|
||
2017-01-09 Nick Clifton <nickc@redhat.com>
|
||
|
||
* po/sv.po: New Swedish translation.
|
||
* configure.ac (ALL_LINGUAS): Add sv.
|
||
* configure: Regenerate.
|
||
|
||
2017-01-09 Andrew Waterman <andrew@sifive.com>
|
||
|
||
* config/tc-riscv.c (relaxed_branch_length): Use the long
|
||
sequence when the target is a weak symbol.
|
||
|
||
2017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
||
|
||
* config/tc-aarch64.c (aarch64_features): Add rcpc.
|
||
* doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
|
||
* testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
|
||
* testsuite/gas/aarch64/ldst-rcpc.d: This.
|
||
* testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
|
||
* testsuite/gas/aarch64/ldst-rcpc.s: This.
|
||
* testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
|
||
|
||
2017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
|
||
|
||
PR gas/20992
|
||
* configure.tgt: Treat sparcv9 as sparc64.
|
||
|
||
2017-01-03 Kito Cheng <kito.cheng@gmail.com>
|
||
|
||
* config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
|
||
extension.
|
||
(riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
|
||
enabled and no other ABI is specified.
|
||
|
||
2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
|
||
|
||
* config/tc-pru.c (md_number_to_chars): Fix parameter to be
|
||
valueT, as declared in tc.h.
|
||
(md_apply_fix): Fix to work on 32-bit hosts.
|
||
|
||
2017-01-02 Alan Modra <amodra@gmail.com>
|
||
|
||
Update year range in copyright notice of all files.
|
||
|
||
For older changes see ChangeLog-2016
|
||
|
||
Copyright (C) 2017 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:
|