]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/log
GDB Administrator [Tue, 6 Oct 2015 00:00:51 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 5 Oct 2015 00:00:54 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 4 Oct 2015 00:00:52 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 3 Oct 2015 00:00:51 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 2 Oct 2015 00:00:42 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 1 Oct 2015 00:00:55 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 30 Sep 2015 00:00:43 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 29 Sep 2015 00:00:51 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 28 Sep 2015 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 27 Sep 2015 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 26 Sep 2015 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 25 Sep 2015 00:00:48 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 24 Sep 2015 00:00:53 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 23 Sep 2015 00:00:41 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 22 Sep 2015 00:00:53 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 21 Sep 2015 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 20 Sep 2015 00:00:52 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 19 Sep 2015 00:00:51 +0000 (00:00 +0000)]
Automatic date update in version.in
Alan Modra [Thu, 17 Sep 2015 03:23:29 +0000 (12:53 +0930)]
Remove one unnecessary iteration in insertion sort
PR 18867
* elflink.c (elf_link_adjust_relocs): Correct start of insertion
sort main loop.
Alan Modra [Wed, 16 Sep 2015 08:37:03 +0000 (18:07 +0930)]
Fix slowdown in ld -r for most common case of out-of-order relocs
I chose insertion sort since relocs are mostly sorted, but there is a
common case we can handle better; A run of relocs put out of order
due to not linking input files in order.
PR 18867
* elflink.c (elf_link_adjust_relocs): Modify insertion sort to
insert a run. Return status in case of malloc failure.
Adjust callers.
GDB Administrator [Fri, 18 Sep 2015 00:00:56 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 17 Sep 2015 00:00:47 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 16 Sep 2015 00:00:48 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 15 Sep 2015 00:00:55 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 14 Sep 2015 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 13 Sep 2015 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 12 Sep 2015 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 11 Sep 2015 00:00:41 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 10 Sep 2015 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 9 Sep 2015 00:00:54 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 8 Sep 2015 00:00:43 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 7 Sep 2015 00:00:46 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 6 Sep 2015 00:01:03 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 5 Sep 2015 00:00:42 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 4 Sep 2015 00:00:40 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 3 Sep 2015 00:00:47 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 2 Sep 2015 00:00:54 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 1 Sep 2015 00:00:42 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 31 Aug 2015 00:00:45 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 30 Aug 2015 00:00:40 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 29 Aug 2015 00:00:43 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 28 Aug 2015 00:00:47 +0000 (00:00 +0000)]
Automatic date update in version.in
Alan Modra [Thu, 27 Aug 2015 01:24:28 +0000 (10:54 +0930)]
Don't sort ld -r output relocs on alpha
LITERAL/LITUSE relocs must be kept together.
PR 18867
* elf64-alpha.c (elf64_alpha_sort_relocs_p): New function.
(elf_backend_sort_relocs_p): Define.
Alan Modra [Wed, 26 Aug 2015 08:02:08 +0000 (17:32 +0930)]
Use stable sort for ld -r relocs
A number of targets emit multiple relocs at a given r_offset, and
depend on those relocs staying in their original order.
PR 18867
* elflink.c (cmp_ext32l_r_offset, cmp_ext32b_r_offset): Delete.
(cmp_ext64l_r_offset, cmp_ext64b_r_offset): Delete.
(ext32l_r_offset, ext32b_r_offset, ext64l_r_offset, ext64b_r_offset):
New functions.
(elf_link_adjust_relocs): Use an insertion sort to sort relocs.
GDB Administrator [Thu, 27 Aug 2015 00:00:48 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 26 Aug 2015 00:00:49 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 25 Aug 2015 00:00:41 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 24 Aug 2015 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 23 Aug 2015 00:00:41 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 22 Aug 2015 00:00:49 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 21 Aug 2015 00:00:42 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 20 Aug 2015 00:00:49 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 19 Aug 2015 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 18 Aug 2015 00:00:45 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 17 Aug 2015 00:00:43 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 16 Aug 2015 00:00:43 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 15 Aug 2015 00:00:41 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 14 Aug 2015 00:01:11 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 13 Aug 2015 00:01:00 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 12 Aug 2015 00:00:38 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 11 Aug 2015 00:00:42 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 10 Aug 2015 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 9 Aug 2015 00:00:53 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 8 Aug 2015 00:00:42 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 7 Aug 2015 00:00:42 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 6 Aug 2015 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 5 Aug 2015 00:00:45 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 4 Aug 2015 00:00:51 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 3 Aug 2015 00:00:47 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 2 Aug 2015 00:00:45 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 1 Aug 2015 00:00:42 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 31 Jul 2015 00:00:46 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 30 Jul 2015 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 29 Jul 2015 00:00:45 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 28 Jul 2015 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 27 Jul 2015 00:00:46 +0000 (00:00 +0000)]
Automatic date update in version.in
Doug Kwan [Sun, 26 Jul 2015 08:30:55 +0000 (01:30 -0700)]
Make arm_unaligned_reloc test less sensitive to disassembler output format.
GDB Administrator [Sun, 26 Jul 2015 00:00:43 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 25 Jul 2015 00:00:42 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 24 Jul 2015 00:00:46 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 23 Jul 2015 00:00:49 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 22 Jul 2015 00:00:47 +0000 (00:00 +0000)]
Automatic date update in version.in
Tristan Gingold [Tue, 21 Jul 2015 15:18:02 +0000 (17:18 +0200)]
Bump version to 2.25.2
bfd/
2015-07-21 Tristan Gingold <gingold@adacore.com>
* version.m4: Bump version to 2.25.2
* configure: Regenerate.
binutils/
2015-07-21 Tristan Gingold <gingold@adacore.com>
* configure: Regenerate.
gas/
2015-07-21 Tristan Gingold <gingold@adacore.com>
* configure: Regenerate.
gprof/
2015-07-21 Tristan Gingold <gingold@adacore.com>
* configure: Regenerate.
ld/
2015-07-21 Tristan Gingold <gingold@adacore.com>
* configure: Regenerate.
opcodes/
2015-07-21 Tristan Gingold <gingold@adacore.com>
* configure: Regenerate.
Tristan Gingold [Tue, 21 Jul 2015 13:52:59 +0000 (15:52 +0200)]
Release 2.25.1, add generated files
GDB Administrator [Tue, 21 Jul 2015 00:00:40 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 20 Jul 2015 00:00:46 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 19 Jul 2015 00:00:45 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 18 Jul 2015 00:00:43 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 17 Jul 2015 00:00:42 +0000 (00:00 +0000)]
Automatic date update in version.in
Alan Modra [Thu, 16 Jul 2015 14:43:22 +0000 (00:13 +0930)]
Correct readelf dynamic section buffer overlow test
PR binutils/18672
* readelf.c (get_32bit_dynamic_section): Correct buffer limit test.
(get_64bit_dynamic_section): Likewise.
GDB Administrator [Thu, 16 Jul 2015 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 15 Jul 2015 00:00:45 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 14 Jul 2015 00:00:43 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 13 Jul 2015 00:00:51 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 12 Jul 2015 00:00:45 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 11 Jul 2015 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
Richard Sandiford [Sun, 5 Jul 2015 18:56:59 +0000 (19:56 +0100)]
Fix an opd->adjust index in elf64-ppc.c
bfd/
* elf64-ppc.c (toc_adjusting_stub_needed): Use the symbol value
plus addend rather than the original st_value when looking up
entries in opd->adjust.
ld/testsuite/
* ld-powerpc/tocopt6-inc.s, ld-powerpc/tocopt6a.s,
ld-powerpc/tocopt6b.s, ld-powerpc/tocopt6c.s,
ld-powerpc/tocopt6.d: New test.
* ld-powerpc/powerpc.exp (ppc64elftests): Add it.
Alan Modra [Fri, 3 Jul 2015 01:26:26 +0000 (10:56 +0930)]
Remove ppc860, ppc750cl, ppc7450 insns from common ppc.
Back in the day support for these processors was added, we probably
didn't want to waste PPC_OPCODE bits on minor variations. I've had a
complaint that disassembly of mfspr/mtspr was wrong for power8. This
patch fixes that problem.
Note that since -m860/-m850/-m821 are new gas options enabling the
mpc8xx specific mfspr/mtspr variants it is possible that this change
will break some mpc8xx assembly code. ie. you might need to modify
makefiles to pass -m860 to gas.
include/opcode/
* ppc.h (PPC_OPCODE_750, PPC_OPCODE_7450, PPC_OPCODE_860): Define.
opcodes/
* ppc-opc.c (PPC750, PPC7450, PPC860): Define using PPC_OPCODE_*.
* ppc-dis.c (ppc_opts): Add 821, 850 and 860 entries. Add
PPC_OPCODE_7450 to 7450 entry. Add PPC_OPCODE_750 to 750cl entry.
gas/
* config/tc-ppc.c (md_show_usage): Add -m821, -m850, -m860.
* doc/c-ppc.texi (PowerPC-Opts): Likewise.
gas/testsuite/
* gas/ppc/titan.d: Correct mfmcsrr0 disassembly.
Peter Bergner [Mon, 22 Jun 2015 19:55:24 +0000 (14:55 -0500)]
PPC sync instruction accepts invalid and incompatible operands
ISA 2.07 added a new category called Elemental Memory Barriers that modifies
the sync instruction to accept an additional operand ESYNC. Edmar added
support for this insruction varient here:
https://sourceware.org/ml/binutils/2012-02/msg00221.html
Looking at this closer, I see that the insert_ls() function is misnamed
(since it's attached to the ESYNC operand, not the LS operand) but more
importantly, it is silently modifying the LS operand value behind the
users back when the LS operand is either invalid or is incompatible with
the new ESYNC operand. The ISA 2.07 doc has an Assembler Note that clearly
states that assemblers that support the ESYNC operand should report all
invalid uses of LS and ESYNC. This patch changes the assembler to
error out on invalid and incompatible operand usage.
opcodes/
* ppc-opc.c (insert_ls): Test for invalid LS operands.
(insert_esync): New function.
(LS, WC): Use insert_ls.
(ESYNC): Use insert_esync.
gas/testsuite/
* gas/ppc/e6500.s <sync>: Fix invalid test.
* gas/ppc/e6500.d: Likewise.
Peter Bergner [Fri, 19 Jun 2015 22:17:07 +0000 (17:17 -0500)]
Allow for optional operands with non-zero default values.
ISA 2.07 (ie, POWER8) added the rfebb instruction which takes one operand
with the value of either a 0 or 1. It also defines an extended mnemonic
with no operands (ie, "rfebb") that is supposed to be equivalent to "rfebb 1".
I implemented rfebb's lone operand with PPC_OPERAND_OPTIONAL, but the
problem is, optional operands that are ommitted always default to the
value 0, which is wrong in this case. I have added support for allowing
non-zero default values by adding an additional flag PPC_OPERAND_OPTIONAL_VALUE
that specifies that the default operand value to be used is stored in the
SHIFT field of the operand field immediately following this one.
This fixes the rfebb issue. I also fixed the mftb and mfcr instructions
so they use the same mechanism. This allows us to flag invalid uses of
mfcr where we explicitly pass in a zero FXM value, like the use in a2.[sd].
include/opcode/
* ppc.h (PPC_OPERAND_OPTIONAL_VALUE): New.
(ppc_optional_operand_value): New inline function.
opcodes/
* ppc-dis.h (skip_optional_operands): Use ppc_optional_operand_value.
* ppc-opc.c (FXM4): Add non-zero optional value.
(TBR): Likewise.
(SXL): Likewise.
(insert_fxm): Handle new default operand value.
(extract_fxm): Likewise.
(insert_tbr): Likewise.
(extract_tbr): Likewise.
gas/
* config/tc-ppc.c (md_assemble): Use ppc_optional_operand_value.
Allow for optional operands without insert functions.
gas/testsuite/
* gas/ppc/power8.d: Fixup rfebb test results.
* gas/ppc/a2.s: Fix invalid mfcr test.
* gas/ppc/a2.d: Likewise.