• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


binutils-2_30-branch
RSS
Rev. Time Author
1a4839f binutils-2_30-branch 2019-03-18 22:07:21 Alan Modra

PR24355, segmentation fault in function called from ppc_finish_symbols

Backport to 2.30, where the problem might be triggered by gc-sections
rather than inline PLT optimization as in the PR.

PR 24355
* elf32-ppc.c (ppc_elf_relocate_section): Don't call write_glink_stub
for local iplt syms with ent->plt.offset == -1. Remove ineffective
attempt at writing glink stubs only once. Correct plt.offset mask.

c6f0210 2019-02-12 01:15:59 Nick Clifton

Fix a NULL pointer dereference in nm, when parsing a corrupt file.

PR 24168
* nm.c (print_symbol): Check for NULL contents of the sym_ptr_ptr
field.

c6af0af 2018-12-10 21:13:36 H.J. Lu

Correct gas/ChangeLog entry for PR gas/23968

(cherry picked from commit e771f7a770b07c676958247464962614266da755)

e8d7a88 2018-12-10 00:34:33 H.J. Lu

x86: Put back BFD_RELOC_X86_64_GOTPCREL

Put back BFD_RELOC_X86_64_GOTPCREL in TC_FORCE_RELOCATION_LOCAL, which
was removed by

commit 56ceb5b5405af23eddd12e12d8ba849010120324
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Oct 22 04:49:20 2015 -0700

Add R_X86_64_[REX_]GOTPCRELX support to gas and ld

by accident.

(cherry picked from commit 9f52eab6a7a69870c7b5907a20b0305f30dbf2ae)

3050b43 2018-11-26 21:54:10 H.J. Lu

x86: Disable GOT relaxation with data prefix

Since linker GOT relaxation isn't valid for 16-bit GOT access, we should
disable GOT relaxation with data prefix.

gas/

PR gas/23854
* config/tc-i386.c (output_disp): Disable GOT relaxation with
data prefix.
* testsuite/gas/i386/mixed-mode-reloc32.d: Updated.

ld/

PR gas/23854
* testsuite/ld-i386/i386.exp: Run pr23854.
* testsuite/ld-x86-64/x86-64.exp: Likewwise.
* testsuite/ld-i386/pr23854.d: New file.
* testsuite/ld-i386/pr23854.s: Likewwise.
* testsuite/ld-i386/pr23854.d: Likewwise.
* testsuite/ld-x86-64/pr23854.d: Likewwise.
* testsuite/ld-x86-64/pr23854.s: Likewwise.

(cherry picked from commit e60f4d3bdac25f02875afe36b7436bc2dfbbb978)

29c0ef0 2018-11-26 21:48:44 H.J. Lu

x86: Replace evex-no-scale.s with evex-no-scale-[32|64].s

.if is_64bit
vmovaps -1024(%rip), %zmm0
vmovaps 64(,%rax), %zmm0
vmovaps 64(,%riz), %zmm0
.endif

doesn't work with i686-elf cross binutils on 64-bit hosts:

evex-no-scale.s: Assembler messages:
evex-no-scale.s:10: Error: bad register name `%rip)'
evex-no-scale.s:11: Error: bad register name `%rax)'
evex-no-scale.s:12: Error: bad register name `%riz)'

This patch replaces evex-no-scale.s with evex-no-scale-32.s and
evex-no-scale-64.s.

* testsuite/gas/i386/evex-no-scale-32.d: Don't use
evex-no-scale.s.
* testsuite/gas/i386/evex-no-scale-64.d: Likewise.
* testsuite/gas/i386/evex-no-scale-32.s: New file.
* testsuite/gas/i386/evex-no-scale-64.s: Likewise.
* testsuite/gas/i386/evex-no-scale.s: Removed.

(cherry picked from commit 19449d7c67690c641b1ec9c13ff3531677a5afcc)

4e51886 2018-11-26 21:30:54 Jan Beulich

x86: don't mistakenly scale non-8-bit displacements

In commit b5014f7af2 I've removed (instead of replaced) a conditional,
resulting in addressing forms not allowing 8-bit displacements to now
get their displacements scaled under certain circumstances. Re-add the
missing conditional.

2018-07-30 Jan Beulich <jbeulich@suse.com>

PR gas/23465
* config/tc-i386.c (output_disp): Restrict scaling.
* testsuite/gas/i386/evex-no-scale.s,
testsuite/gas/i386/evex-no-scale-32.d
testsuite/gas/i386/evex-no-scale-64.d: New.
* testsuite/gas/i386/i386.exp: Run new tests.

(cherry picked from commit 629cfaf1b0fbb32a985607c774bd8e7870b9fa94)

e521dc8 2018-08-06 01:16:38 John David Anglin

Fix unwind offset for call_info->start_symbol.

Backport from master branch
2018-07-30 John David Anglin <danglin@gcc.gnu.org>

* config/tc-hppa.c: Include "struc-symbol.h".
(pa_build_unwind_subspace): Use call_info->start_symbol->sy_frag
instead of frag_now for local symbol replacement.

ea2a7e6 2018-07-04 22:49:09 H.J. Lu

x86-64: Clear the R_X86_64_converted_reloc_bit bit

We need to clear the R_X86_64_converted_reloc_bit bit after setting it
to avoid leaking it out by --emit-relocs.

bfd/

PR ld/23324
* elf64-x86-64.c (elf_x86_64_relocate_section): Clear the
R_X86_64_converted_reloc_bit bit.

ld/

PR ld/23324
* testsuite/ld-x86-64/pr23324.s: New file.
* testsuite/ld-x86-64/pr23324a.d: Likewise.
* testsuite/ld-x86-64/pr23324b.d: Likewise.

(cherry picked from commit b638b5d57fafc84a8dc0ff91d7579a3c24aad90c)

6bb7543 2018-06-26 21:14:30 Alan Modra

Fix parens in ld bootstrap.exp

Seen with tcl 8.5.13:
ERROR: tcl error sourcing .../ld/testsuite/ld-bootstrap/bootstrap.exp.
ERROR: expected boolean value but got " [istarget ia64-*-elf*] || [istarget ia64-*-linux*"
while executing
"if { "$flags" == "--static" && { [istarget ia64-*-elf*] || [istarget ia64-*-linux*] }
|| [istarget mips*-*-linux*] } {
# On ia64 and mips, tmpdir/l..."

* testsuite/ld-bootstrap/bootstrap.exp: Use parentheses rather
than curly braces in logical expression.

5b31391 2018-06-25 09:02:28 GDB Administrator

Automatic date update in version.in

c0fa223 2018-06-24 09:02:19 GDB Administrator

Automatic date update in version.in

eceaaab 2018-06-23 09:02:10 GDB Administrator

Automatic date update in version.in

d69b2ce 2018-06-22 09:02:24 GDB Administrator

Automatic date update in version.in

d87a4cd 2018-06-21 09:02:41 GDB Administrator

Automatic date update in version.in

1a22c70 2018-06-20 09:02:45 GDB Administrator

Automatic date update in version.in

c1e8a4d 2018-06-19 09:02:45 GDB Administrator

Automatic date update in version.in

e6fc492 2018-06-18 09:02:25 GDB Administrator

Automatic date update in version.in

46859dd 2018-06-17 09:03:15 GDB Administrator

Automatic date update in version.in

08f8eb2 2018-06-16 09:02:36 GDB Administrator

Automatic date update in version.in

653a4ab 2018-06-15 09:02:42 GDB Administrator

Automatic date update in version.in

43a3f99 2018-06-15 07:40:49 Igor Tsimbalist

Replace CET bit with IBT and SHSTK bits.

The latest specification for Intel CET technology defined two
new bits instead of previously used CET bit. These are IBT and
SHSTK bits. The patch replaces CET bit with IBT and SHSTK bits.

gas/
* config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk.
(cpu_noarch): Add noibt, noshstk.
(parse_insn): Change cpucet to cpuibt.
* doc/c-i386.texi: Delete .cet. Add .ibt, .shstk.
* testsuite/gas/i386/cet-ibt-inval.l: New test.
* testsuite/gas/i386/cet-ibt-inval.s: Likewise.
* testsuite/gas/i386/cet-shstk-inval.l: Likewise.
* testsuite/gas/i386/cet-shstk-inval.s: Likewise.
* testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise.
* testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise.
* testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise.
* testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise.

opcodes/
* i386-gen.c (cpu_flag_init): Delete CPU_CET_FLAGS,
CpuCET. Add CPU_IBT_FLAGS, CPU_SHSTK_FLAGS, CPY_ANY_IBT_FLAGS,
CPU_ANY_SHSTK_FLAGS, CpuIBT, CpuSHSTK.
(cpu_flags): Add CpuIBT, CpuSHSTK.
* i386-opc.h (enum): Add CpuIBT, CpuSHSTK.
(i386_cpu_flags): Add cpuibt, cpushstk.
* i386-opc.tbl: Change CpuCET to CpuSHSTK and CpuIBT.
* i386-init.h: Regenerate.
* i386-tbl.h: Likewise.

(cherry picked from commit d777820bf5abea433c36e956b53b299502e0f708)

7b90f18 2018-06-14 09:02:24 GDB Administrator

Automatic date update in version.in

ff18199 2018-06-13 09:02:17 GDB Administrator

Automatic date update in version.in

a844a29 2018-06-12 09:02:33 GDB Administrator

Automatic date update in version.in

865eae1 2018-06-11 09:02:59 GDB Administrator

Automatic date update in version.in

a63ac43 2018-06-10 09:04:46 GDB Administrator

Automatic date update in version.in

c7b53d7 2018-06-09 09:02:14 GDB Administrator

Automatic date update in version.in

3266b12 2018-06-08 09:02:31 GDB Administrator

Automatic date update in version.in

3aaef58 2018-06-07 09:02:21 GDB Administrator

Automatic date update in version.in