]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/log
GDB Administrator [Tue, 14 Jun 2016 00:00:58 +0000 (00:00 +0000)]
Automatic date update in version.in
Denis Chertykov [Thu, 9 Jun 2016 16:17:43 +0000 (19:17 +0300)]
Fix PR 20221 - adjust syms and relocs only if relax shrunk section.
This patch fixes an edge case in linker relaxation that causes symbol
values to be computed incorrectly in the presence of align directives
in input source code.
bfd/
* elf32-avr.c (elf32_avr_relax_delete_bytes): Adjust syms
and relocs only if shrinking occurred.
ld/
* testsuite/ld-avr/avr-prop-5.d: New.
* testsuite/ld-avr/avr-prop-5.s: New.
Alan Modra [Mon, 13 Jun 2016 01:04:38 +0000 (10:34 +0930)]
objcopy add-symbol uninitialised struct
* objcopy.c (copy_main): Init newsym->othersym.
GDB Administrator [Mon, 13 Jun 2016 00:01:05 +0000 (00:01 +0000)]
Automatic date update in version.in
H.J. Lu [Sun, 6 Mar 2016 16:26:49 +0000 (08:26 -0800)]
Link tmpdir/copyreloc-main.o before tmpdir/copyreloc-lib.so
Since compiler may pass --as-needed to ld by default, link
tmpdir/copyreloc-main.o before tmpdir/copyreloc-lib.so.
* testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
before tmpdir/copyreloc-lib.so and test --as-needed.
* testsuite/ld-x86-64/x86-64.exp: Likewise.
H.J. Lu [Wed, 13 Apr 2016 12:41:36 +0000 (05:41 -0700)]
Update x86-64 tests for --as-needed
Since compiler may pass --as-needed to ld by default, link .o file
before .so file in x86-64 tests.
PR ld/19774
* testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
tests.
H.J. Lu [Mon, 7 Mar 2016 17:03:24 +0000 (09:03 -0800)]
Support --as-needed in i386/x86-64 tests
Since compiler may pass --as-needed to ld by default, link .o file
before .so file in i386/x86-64 tests.
PR ld/19774
* testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
before tmpdir/got1d.so and test --as-needed.
* testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
tmpdir/pr18900.so and test --as-needed.
GDB Administrator [Sun, 12 Jun 2016 00:00:57 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 11 Jun 2016 00:00:54 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 10 Jun 2016 00:00:58 +0000 (00:00 +0000)]
Automatic date update in version.in
Alan Modra [Mon, 30 May 2016 00:13:44 +0000 (09:43 +0930)]
Revert PR16467 change
This reverts the pr16467 change, which was incorrect due to faulty
analysis of the pr16467 testcase. The failure was not due to a
mismatch in symbol type (ifunc/non-ifunc) but due to a symbol loop
being set up.
See https://sourceware.org/ml/binutils/2016-06/msg00013.html for some
rambling on versioned symbols and ELF shared library symbol overriding
that explain this patch.
bfd/
PR ld/20159
PR ld/16467
* elflink.c (_bfd_elf_merge_symbol): Revert PR16467 change.
(_bfd_elf_add_default_symbol): Don't indirect to/from defined
symbol given a version by a script different to the version
of the symbol being added.
(elf_link_add_object_symbols): Use _bfd_elf_strtab_save and
_bfd_elf_strtab_restore. Don't fudge dynstr references.
* elf-strtab.c (_bfd_elf_strtab_restore_size): Delete.
(struct strtab_save): New.
(_bfd_elf_strtab_save, _bfd_elf_strtab_restore): New functions.
* elf-bfd.h (_bfd_elf_strtab_restore_size): Delete.
(_bfd_elf_strtab_save, _bfd_elf_strtab_restore): Declare.
GDB Administrator [Thu, 9 Jun 2016 00:00:56 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 8 Jun 2016 00:00:56 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 7 Jun 2016 00:00:53 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 6 Jun 2016 00:01:20 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 5 Jun 2016 00:01:08 +0000 (00:01 +0000)]
Automatic date update in version.in
Peter Bergner [Sat, 4 Jun 2016 02:00:04 +0000 (21:00 -0500)]
Re-add support for lbarx, lharx, stbcx. and sthcx. insns back to the E6500 cpu.
opcodes/
Backport from master
2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
PR binutils/20196
* ppc-opc.c (powerpc_opcodes <lbarx, lharx, stbcx., sthcx.>): Enable
opcodes for E6500.
gas/
Backport from master
2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
PR binutils/20196
* gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
stbcx., sthcx., stwcx., stdcx.>: Add tests.
* gas/testsuite/gas/ppc/e6500.d: Likewise.
* gas/testsuite/gas/ppc/power8.s: Likewise.
* gas/testsuite/gas/ppc/power8.d: Likewise.
* gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
stdcx.>: Add tests.
* gas/testsuite/gas/ppc/power4.d: Likewise.
GDB Administrator [Sat, 4 Jun 2016 00:00:55 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 3 Jun 2016 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 2 Jun 2016 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
Peter Bergner [Wed, 1 Jun 2016 14:48:03 +0000 (09:48 -0500)]
Add support for new POWER ISA 3.0 instructions.
opcodes/
Backport from master
2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
* ppc-opc.c (CY): New define. Document it.
(powerpc_opcodes) <addex[.], lwzmx, vmsumudm>: New mnemonics.
gas/
Backport from master
2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
* testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
* testsuite/gas/ppc/altivec3.s: Likewise.
* testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
* testsuite/gas/ppc/power9.s: Likewise.
GDB Administrator [Wed, 1 Jun 2016 00:01:02 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 31 May 2016 00:00:53 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 30 May 2016 00:00:53 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 29 May 2016 00:00:58 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 28 May 2016 00:00:52 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 27 May 2016 00:00:54 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 26 May 2016 00:00:54 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 25 May 2016 00:00:56 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 24 May 2016 00:00:53 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 23 May 2016 00:01:03 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 22 May 2016 00:00:58 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 21 May 2016 00:01:07 +0000 (00:01 +0000)]
Automatic date update in version.in
H.J. Lu [Fri, 20 May 2016 16:41:50 +0000 (09:41 -0700)]
Don't convert R_386_GOT32 relocation
Don't convert R_386_GOT32 since we can't tell if it is applied
to "mov $foo@GOT, %reg" which isn't a load via GOT.
bfd/
Backport from master
* elf32-i386.c (elf_i386_check_relocs): Don't check R_386_GOT32
when setting need_convert_load.
PR ld/20117
* elf32-i386.c (elf_i386_convert_load): Don't convert
R_386_GOT32.
ld/
Backport from master
PR ld/20117
* testsuite/ld-i386/i386.exp: Run pr20117.
* testsuite/ld-i386/pr20117.d: New file.
* testsuite/ld-i386/pr20117.s: Likewise.
GDB Administrator [Fri, 20 May 2016 00:00:52 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 19 May 2016 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
Christophe Monat [Wed, 18 May 2016 13:14:09 +0000 (15:14 +0200)]
[ARM/STM32L4XX] PR 20030: --fix-stm32l4xx-629360 fails to create vldm/vpop veneers for double-precision registers
Backport from master
bfd/
PR ld/20030
* elf32-arm.c (is_thumb2_vldm): Account for T1 (DP) encoding.
(stm32l4xx_need_create_replacing_stub): Rename ambiguous nb_regs
to nb_words.
(create_instruction_vldmia): Add is_dp to disambiguate SP/DP
encoding.
(create_instruction_vldmdb): Likewise.
(stm32l4xx_create_replacing_stub_vldm): is_dp detects DP encoding,
uses it to re-encode.
ld/
PR ld/20030
* testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
tests. Fix misnamed stm32l4xx-fix-all.
* testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
loads with DP registers.
* testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
* testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
* testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
loads with DP registers.
* testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
GDB Administrator [Wed, 18 May 2016 00:00:58 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 17 May 2016 00:00:53 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 16 May 2016 00:00:53 +0000 (00:00 +0000)]
Automatic date update in version.in
H.J. Lu [Fri, 13 May 2016 17:59:32 +0000 (10:59 -0700)]
Don't convert GOTPCREL relocation against large section
Backport from master
bfd/
PR ld/20093
* elf64-x86-64.c (elf_x86_64_convert_load_reloc): Don't convert
GOTPCREL relocation against large section.
ld/
PR ld/20093
* testsuite/ld-x86-64/pr20093-1.d: New file.
* testsuite/ld-x86-64/pr20093-1.s: Likewise.
* testsuite/ld-x86-64/pr20093-2.d: Likewise.
* testsuite/ld-x86-64/pr20093-2.s: Likewise.
* testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
GDB Administrator [Sun, 15 May 2016 00:00:52 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 14 May 2016 00:00:51 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 13 May 2016 00:00:46 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 12 May 2016 00:00:53 +0000 (00:00 +0000)]
Automatic date update in version.in
Alan Modra [Wed, 11 May 2016 12:24:05 +0000 (21:54 +0930)]
ld --gc-sections fail with __tls_get_addr_opt
When --gc-sections is active, __tls_get_addr_opt is marked as not
needed and forced local before ppc*_elf_tls_setup is run.
bfd/
PR 20060
* elf64-ppc.c (ppc64_elf_tls_setup): Clear forced_local.
* elf32-ppc.c (ppc_elf_tls_setup): Likewise.
ld/
PR 20060
* testsuite/ld-powerpc/powerpc.exp: Run new tests.
* testsuite/ld-powerpc/tlsdll.s: New.
* testsuite/ld-powerpc/tlsdll.ver: New.
* testsuite/ld-powerpc/tlsdll_32.s: New.
* testsuite/ld-powerpc/tlsopt5.d: New.
* testsuite/ld-powerpc/tlsopt5.s: New.
* testsuite/ld-powerpc/tlsopt5_32.d: New.
* testsuite/ld-powerpc/tlsopt5_32.s: New.
Nick Clifton [Wed, 11 May 2016 10:41:28 +0000 (11:41 +0100)]
Accept and ignore dummy command line options in the ARC backend of GAS.
PR gas/20047
* config/tc-arc.c (md_parse_option): Return 1 for recognised dummy
options.
GDB Administrator [Wed, 11 May 2016 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 10 May 2016 00:01:08 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 9 May 2016 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 8 May 2016 00:01:02 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 7 May 2016 00:01:04 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 6 May 2016 00:00:58 +0000 (00:00 +0000)]
Automatic date update in version.in
Roland McGrath [Thu, 5 May 2016 20:12:40 +0000 (13:12 -0700)]
2016-02-05 Sriraman Tallam <tmsriram@google.com>
PR gold/19047
* icf.cc (get_rel_addend): New function.
(get_section_contents): Move merge section addend computation to a
new function. Ignore negative values for SHT_REL and SHT_RELA addends.
Fix bug to not read past the length of the section.
Fix bug related to addend computation for MERGE sections.
(cherry picked from commit
84d543b7ed93bf6511cdf45791f4f0b717dfb718 )
GDB Administrator [Thu, 5 May 2016 00:01:10 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 4 May 2016 00:01:06 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 3 May 2016 00:00:56 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 2 May 2016 00:00:58 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 1 May 2016 00:01:00 +0000 (00:01 +0000)]
Automatic date update in version.in
H.J. Lu [Wed, 27 Apr 2016 16:13:10 +0000 (09:13 -0700)]
Skip debug sections when estimating distances
Skip debug sections when estimating distances between output sections
since compressed_size is used to compress debug sections and debug
sections aren't excluded from distances between output sections.
Backport from master
bfd/
PR ld/20006
* elf64-x86-64.c (elf_x86_64_convert_load): Skip debug sections
when estimating distances between output sections.
ld/
PR ld/20006
* testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
(visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
ELF targets.
H.J. Lu [Wed, 27 Apr 2016 12:25:18 +0000 (05:25 -0700)]
Pass --compress-debug-sections=none to ld
Since ld may generate compressed debug sections by default, pass
--compress-debug-sections=none to ld to avoid compressed debug
sections.
Since not all ELF targets use the elf.em emulation to support ld option:
--compress-debug-sections=zlib-gnu, limit compressed1b.d to Linux/GNU
targets.
Backport from master
* testsuite/ld-elf/compressed1b.d: Pass
--compress-debug-sections=none to ld.
* testsuite/ld-elf/compressed1c.d: Likewise.
GDB Administrator [Sat, 30 Apr 2016 00:01:04 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 29 Apr 2016 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 28 Apr 2016 00:01:12 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 27 Apr 2016 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 26 Apr 2016 00:01:02 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 25 Apr 2016 00:01:04 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 24 Apr 2016 00:00:57 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 23 Apr 2016 00:01:01 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 22 Apr 2016 00:01:00 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 21 Apr 2016 00:01:01 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 20 Apr 2016 00:01:00 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 19 Apr 2016 00:01:11 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 18 Apr 2016 00:00:58 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 17 Apr 2016 00:01:02 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 16 Apr 2016 00:01:16 +0000 (00:01 +0000)]
Automatic date update in version.in
H.J. Lu [Fri, 15 Apr 2016 13:01:31 +0000 (06:01 -0700)]
Don't use vec_disp8 encoding with the .d32 suffix
Since the .d32 suffix prefers 32-bit displacement in encoding, try
vec_disp8 encoding only if i.disp_encoding != disp_encoding_32bit.
Backport from master
PR gas/19909
* config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
only if i.disp_encoding != disp_encoding_32bit.
* gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
* gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
* gas/testsuite/gas/i386/disp32.d: Updated.
* gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
GDB Administrator [Fri, 15 Apr 2016 00:01:02 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 14 Apr 2016 00:00:52 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 13 Apr 2016 00:00:52 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 12 Apr 2016 00:00:56 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 11 Apr 2016 00:00:55 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 10 Apr 2016 00:00:57 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 9 Apr 2016 00:01:01 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 8 Apr 2016 00:00:57 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 7 Apr 2016 00:00:58 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 6 Apr 2016 00:00:51 +0000 (00:00 +0000)]
Automatic date update in version.in
H.J. Lu [Tue, 5 Apr 2016 03:50:19 +0000 (20:50 -0700)]
Add missing pr19827-nacl.rd for i386/x86-64 NaCl
Backport from master
PR ld/19827
* testsuite/ld-i386/pr19827-nacl.rd: New file.
* testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
GDB Administrator [Tue, 5 Apr 2016 00:00:57 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 4 Apr 2016 00:00:55 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 3 Apr 2016 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 2 Apr 2016 00:01:02 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 1 Apr 2016 00:01:05 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 31 Mar 2016 00:01:00 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 30 Mar 2016 00:00:56 +0000 (00:00 +0000)]
Automatic date update in version.in
Toni Spets [Tue, 29 Mar 2016 03:55:23 +0000 (14:25 +1030)]
PE/COFF regression in base of code and data calculation
PR 19878
* coffcode.h (coff_write_object_contents): Revert accidental
2014-11-10 change.
GDB Administrator [Tue, 29 Mar 2016 00:01:01 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 28 Mar 2016 00:00:58 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 27 Mar 2016 00:01:00 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 26 Mar 2016 00:01:05 +0000 (00:01 +0000)]
Automatic date update in version.in