This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. 85024cd8bcb93f4112470ecdbd6c10fc2aea724f
- From: amodra at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 16 Jun 2014 03:52:29 -0000
- Subject: gdb and binutils branch master updated. 85024cd8bcb93f4112470ecdbd6c10fc2aea724f
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 85024cd8bcb93f4112470ecdbd6c10fc2aea724f (commit)
via 97d24fbbf5300d5b03e48018454335772d9304e8 (commit)
via 1ab668bf2a42ad6c9ef2f691257118faba65bfe9 (commit)
via 7e9def1e93c408b5df80ed67b79ef7ac9d5c9289 (commit)
via 6e210b4129b522c1a0b0c6dee24ee469d5020583 (commit)
via ee0738df021c42217828f02858c1f882a1546557 (commit)
via eb9a5ecfacc42b9b741a3f83f433252b3c7cd77e (commit)
via 4b1a927e92e49f333838f8f11e621608cccb3a03 (commit)
via 44ed9ef26f62c4b348236c4dcea1de78d03900d9 (commit)
from cc0c4d535e50adc3fb928943a1945f8e62c933bf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=85024cd8bcb93f4112470ecdbd6c10fc2aea724f
commit 85024cd8bcb93f4112470ecdbd6c10fc2aea724f
Author: Alan Modra <amodra@gmail.com>
Date: Mon Jun 16 11:04:04 2014 +0930
Run write_object_file after errors
This is to fix unitialised memory access when printing listings.
Many targets don't initialise parts of insn frags or data frags that
have fixups, relying on md_apply_fix to finalise the frag. Which is
fine normally, but means we need to run write_object_file after
errors, for listings. Otherwise MALLOC_PERTURB_=1 causes errors like:
x86_64-linux +FAIL: i386 mpx-inval-1
x86_64-linux +FAIL: i386 inval-equ-1
x86_64-linux +FAIL: i386 x86-64-mpx-inval-1
Running write_object_file after errors requires some tweaking to the
testsuite, since we then get extra errors reported from md_apply_fix.
gas/
* write.h (subsegs_finish): Delete declaration.
* write.c (subsegs_finish): Make static.
(write_object_file): Call subsegs_finish from here. Don't print
warning and error count here..
* as.c (main): ..do so here instead. Remove dead code for "no
object file generated". Split out count strings to better support
internationalisation. Don't call subsegs_finish. Tidy setting of
"keep_it". Run write_object_file even after errors.
(keep_it): Make static.
* config/obj-elf.c (elf_frob_symbol): Remove assert.
(elf_frob_file_before_adjust): Likewise.
gas/testsuite/
* gas/elf/bad-group.s: Use %function.
* gas/elf/bad-group.err: Expect correct line number. Allow
other errors.
* gas/elf/bad-size.err: Allow other errors. Match expected
error somewhat more rigorously.
* gas/i386/reloc32.l: Allow other errors.
* gas/i386/mpx-inval-1.l: Match applied relocs.
* gas/i386/x86-64-mpx-inval-1.l: Likewise, and nop padding.
* gas/i386/x86-64-mpx-inval-2.l: Match nop padding, and allow
other errors.
* gas/macros/dot.s: Use .balign.
* gas/macros/dot.l: Update alignment output.
* gas/symver/symver6.l: Allow other errors.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=97d24fbbf5300d5b03e48018454335772d9304e8
commit 97d24fbbf5300d5b03e48018454335772d9304e8
Author: Alan Modra <amodra@gmail.com>
Date: Mon Jun 16 10:02:59 2014 +0930
Don't leave DLX the_insn uninitialised
In particular the_insn.reloc must be initialised, otherwise the early
exit cases for bad opcodes will result in cascading errors if
write_object_file is called after an error.
* config/tc-dlx.c (machine_ip): Move initialisation of the_insn
earlier.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1ab668bf2a42ad6c9ef2f691257118faba65bfe9
commit 1ab668bf2a42ad6c9ef2f691257118faba65bfe9
Author: Alan Modra <amodra@gmail.com>
Date: Mon Jun 16 11:28:26 2014 +0930
Report an error on x86 pcrel BFD_RELOC_SIZE64
* config/tc-i386.c (reloc): Don't avoid pcrel check for
BFD_RELOC_SIZE64. Return NO_RELOC on failing pcrel check.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7e9def1e93c408b5df80ed67b79ef7ac9d5c9289
commit 7e9def1e93c408b5df80ed67b79ef7ac9d5c9289
Author: Alan Modra <amodra@gmail.com>
Date: Mon Jun 16 10:56:56 2014 +0930
Fix unintitialised TIC6X data
MALLOC_PERTURB_=1 results in the following fails due to uninitialised
exindx data:
FAIL: C6X unwinding directives 1 (little endian)
FAIL: C6X unwinding directives 2 (big endian)
FAIL: C6X unwinding directives 3 (segment change)
FAIL: ld-tic6x/unwind-1
FAIL: ld-tic6x/unwind-2
FAIL: ld-tic6x/unwind-3
FAIL: ld-tic6x/unwind-4
FAIL: ld-tic6x/unwind-6
* config/tc-tic6x.c (s_tic6x_ehtype): Clear after frag_more.
(tic6x_output_exidx_entry): Likewise.
(md_apply_fix): Simplify 1 byte md_number_to_chars.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6e210b4129b522c1a0b0c6dee24ee469d5020583
commit 6e210b4129b522c1a0b0c6dee24ee469d5020583
Author: Alan Modra <amodra@gmail.com>
Date: Mon Jun 16 10:33:26 2014 +0930
Fix TIC54X buffer overruns
MALLOC_PERTURB_=1 results in "FAIL: c54x macros".
* config/tc-tic54x.c (tic54x_mlib): Don't write garbage past
end of archive to temp file.
(tic54x_start_line_hook): Start scan for parallel on next line,
not one char into next line (which may overrun the buffer).
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ee0738df021c42217828f02858c1f882a1546557
commit ee0738df021c42217828f02858c1f882a1546557
Author: Alan Modra <amodra@gmail.com>
Date: Mon Jun 16 10:17:50 2014 +0930
Fix uninitialised VAX insn
MALLOC_PERTURB_=1 results in "FAIL: VAX ELF relocations", due to object
file being emitted with uninitialised fields. Since these fields had
RELA relocs the field value won't be used at final link time, so the
problem is only seen in relocatable object files.
This rewrite of md_apply_fix clears all fields with relocs, whereas
before some fields had non-zero values.
gas/
* config/tc-vax.c (md_apply_fix): Rewrite.
(tc_gen_reloc, vax_cons, vax_cons_fix_new): Style: Use NO_RELOC
define rather than the equivalent BFD_RELOC_NONE.
gas/testsuite/
* gas/vax/elf-rel.d: Update.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=eb9a5ecfacc42b9b741a3f83f433252b3c7cd77e
commit eb9a5ecfacc42b9b741a3f83f433252b3c7cd77e
Author: Alan Modra <amodra@gmail.com>
Date: Mon Jun 16 10:12:12 2014 +0930
Fix uninitialised VAX .got and .got.plt section
Cures these failures with MALLOC_PERTURB_=1
FAIL: GOT test (executable)
FAIL: GOT test (shared library)
FAIL: VAX export class call relocation test
FAIL: VAX export class data relocation test
* elf32-vax.c (elf_vax_size_dynamic_sections): Clear linker
created sections.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4b1a927e92e49f333838f8f11e621608cccb3a03
commit 4b1a927e92e49f333838f8f11e621608cccb3a03
Author: Alan Modra <amodra@gmail.com>
Date: Mon Jun 16 09:56:29 2014 +0930
Fix uninitialised ARM data
MALLOC_PERTURB_=1 results in "FAIL: PIC" on arm-vxworks, due to garbage
in words with got relocs.
* config/tc-arm.c (s_arm_elf_cons): Initialise after frag_more.
(md_apply_fix): Delete now unnecessary zeroing for BFD_RELOC_ARM_GOT*
and BFD_RELOC_ARM_TLS* relocs. Simplify BFD_RELOC_8 case.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=44ed9ef26f62c4b348236c4dcea1de78d03900d9
commit 44ed9ef26f62c4b348236c4dcea1de78d03900d9
Author: Alan Modra <amodra@gmail.com>
Date: Mon Jun 16 09:50:15 2014 +0930
Fix uninitialised CRIS insn
gas/
* config/tc-cris.c (md_create_long_jump): Follow "short" jump
with a nop rather than leaving uninitialised.
gas/testsuite/
* gas/cris/rd-bkw4v32.d: Update.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 5 ++
bfd/elf32-vax.c | 2 +-
gas/ChangeLog | 54 ++++++++++++++++++++++++
gas/as.c | 59 ++++++++++++++++++---------
gas/config/obj-elf.c | 12 +++--
gas/config/tc-arm.c | 12 ++----
gas/config/tc-cris.c | 10 ++++-
gas/config/tc-dlx.c | 17 ++-----
gas/config/tc-i386.c | 7 ++-
gas/config/tc-tic54x.c | 6 +-
gas/config/tc-tic6x.c | 4 +-
gas/config/tc-vax.c | 26 +++++++-----
gas/testsuite/ChangeLog | 24 +++++++++++
gas/testsuite/gas/cris/rd-bkw4v32.d | 2 +-
gas/testsuite/gas/elf/bad-group.err | 3 +-
gas/testsuite/gas/elf/bad-group.s | 2 +-
gas/testsuite/gas/elf/bad-size.err | 3 +-
gas/testsuite/gas/i386/mpx-inval-1.l | 9 ++--
gas/testsuite/gas/i386/reloc32.l | 1 +
gas/testsuite/gas/i386/x86-64-mpx-inval-1.l | 9 ++--
gas/testsuite/gas/i386/x86-64-mpx-inval-2.l | 3 +-
gas/testsuite/gas/macros/dot.l | 4 +-
gas/testsuite/gas/macros/dot.s | 4 +-
gas/testsuite/gas/symver/symver6.l | 1 +
gas/testsuite/gas/vax/elf-rel.d | 8 ++--
gas/write.c | 27 +-----------
gas/write.h | 1 -
27 files changed, 205 insertions(+), 110 deletions(-)
hooks/post-receive
--
gdb and binutils