]> git.ipfire.org Git - thirdparty/binutils-gdb.git/log
thirdparty/binutils-gdb.git
9 years agoAutomatic date update in version.in
GDB Administrator [Sun, 22 May 2016 00:00:58 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sat, 21 May 2016 00:01:07 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoDon't convert R_386_GOT32 relocation
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.

9 years agoAutomatic date update in version.in
GDB Administrator [Fri, 20 May 2016 00:00:52 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Thu, 19 May 2016 00:00:59 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years ago [ARM/STM32L4XX] PR 20030: --fix-stm32l4xx-629360 fails to create vldm/vpop veneer...
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.

9 years agoAutomatic date update in version.in
GDB Administrator [Wed, 18 May 2016 00:00:58 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Tue, 17 May 2016 00:00:53 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Mon, 16 May 2016 00:00:53 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoDon't convert GOTPCREL relocation against large section
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.

9 years agoAutomatic date update in version.in
GDB Administrator [Sun, 15 May 2016 00:00:52 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sat, 14 May 2016 00:00:51 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Fri, 13 May 2016 00:00:46 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Thu, 12 May 2016 00:00:53 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agold --gc-sections fail with __tls_get_addr_opt
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.

9 years agoAccept and ignore dummy command line options in the ARC backend of GAS.
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.

9 years agoAutomatic date update in version.in
GDB Administrator [Wed, 11 May 2016 00:00:59 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Tue, 10 May 2016 00:01:08 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Mon, 9 May 2016 00:00:59 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sun, 8 May 2016 00:01:02 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sat, 7 May 2016 00:01:04 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Fri, 6 May 2016 00:00:58 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years ago2016-02-05 Sriraman Tallam <tmsriram@google.com>
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)

9 years agoAutomatic date update in version.in
GDB Administrator [Thu, 5 May 2016 00:01:10 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Wed, 4 May 2016 00:01:06 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Tue, 3 May 2016 00:00:56 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Mon, 2 May 2016 00:00:58 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sun, 1 May 2016 00:01:00 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoSkip debug sections when estimating distances
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.

9 years agoPass --compress-debug-sections=none to ld
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.

9 years agoAutomatic date update in version.in
GDB Administrator [Sat, 30 Apr 2016 00:01:04 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Fri, 29 Apr 2016 00:00:59 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Thu, 28 Apr 2016 00:01:12 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Wed, 27 Apr 2016 00:00:59 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Tue, 26 Apr 2016 00:01:02 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Mon, 25 Apr 2016 00:01:04 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sun, 24 Apr 2016 00:00:57 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sat, 23 Apr 2016 00:01:01 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Fri, 22 Apr 2016 00:01:00 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Thu, 21 Apr 2016 00:01:01 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Wed, 20 Apr 2016 00:01:00 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Tue, 19 Apr 2016 00:01:11 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Mon, 18 Apr 2016 00:00:58 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sun, 17 Apr 2016 00:01:02 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sat, 16 Apr 2016 00:01:16 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoDon't use vec_disp8 encoding with the .d32 suffix
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.

9 years agoAutomatic date update in version.in
GDB Administrator [Fri, 15 Apr 2016 00:01:02 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Thu, 14 Apr 2016 00:00:52 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Wed, 13 Apr 2016 00:00:52 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Tue, 12 Apr 2016 00:00:56 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Mon, 11 Apr 2016 00:00:55 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sun, 10 Apr 2016 00:00:57 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sat, 9 Apr 2016 00:01:01 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Fri, 8 Apr 2016 00:00:57 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Thu, 7 Apr 2016 00:00:58 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Wed, 6 Apr 2016 00:00:51 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAdd missing pr19827-nacl.rd for i386/x86-64 NaCl
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.

9 years agoAutomatic date update in version.in
GDB Administrator [Tue, 5 Apr 2016 00:00:57 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Mon, 4 Apr 2016 00:00:55 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sun, 3 Apr 2016 00:00:59 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sat, 2 Apr 2016 00:01:02 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Fri, 1 Apr 2016 00:01:05 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Thu, 31 Mar 2016 00:01:00 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Wed, 30 Mar 2016 00:00:56 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoPE/COFF regression in base of code and data calculation
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.

9 years agoAutomatic date update in version.in
GDB Administrator [Tue, 29 Mar 2016 00:01:01 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Mon, 28 Mar 2016 00:00:58 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sun, 27 Mar 2016 00:01:00 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sat, 26 Mar 2016 00:01:05 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Fri, 25 Mar 2016 00:01:02 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Thu, 24 Mar 2016 00:01:15 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Wed, 23 Mar 2016 00:01:01 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Tue, 22 Mar 2016 00:01:17 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Mon, 21 Mar 2016 00:00:53 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sun, 20 Mar 2016 00:00:53 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sat, 19 Mar 2016 00:00:52 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Fri, 18 Mar 2016 00:00:59 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoBind defined symbol locally in PIE
H.J. Lu [Thu, 17 Mar 2016 17:48:03 +0000 (10:48 -0700)] 
Bind defined symbol locally in PIE

Symbols defined in PIE should be bound locally, the same as -shared
-Bsymbolic.

Backport from master

bfd/

PR ld/19827
* elf32-i386.c (elf_i386_check_relocs): Bind defined symbol
locally in PIE.
(elf_i386_relocate_section): Likewise.
* elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
(elf_x86_64_relocate_section): Likewise.

ld/

PR ld/19827
* testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
* testsuite/ld-x86-64/x86-64.exp: Likewise.
* testsuite/ld-i386/pr19827.rd: New file.
* testsuite/ld-i386/pr19827a.S: Likewise.
* testsuite/ld-i386/pr19827b.S: Likewise.
* testsuite/ld-x86-64/pr19827.rd: Likewise.
* testsuite/ld-x86-64/pr19827a.S: Likewise.
* testsuite/ld-x86-64/pr19827b.S: Likewise.

9 years agoAutomatic date update in version.in
GDB Administrator [Thu, 17 Mar 2016 00:01:01 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Wed, 16 Mar 2016 00:01:05 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoCheck reloc against IFUNC symbol only with dynamic symbols
H.J. Lu [Sat, 30 Jan 2016 22:11:03 +0000 (14:11 -0800)] 
Check reloc against IFUNC symbol only with dynamic symbols

There is no need to check relocation IFUNC symbol if there are no
dynamic symbols.

Backport from master

bfd/

PR ld/19539
* elf32-i386.c (elf_i386_reloc_type_class): Check relocation
against STT_GNU_IFUNC symbol only with dynamic symbols.
* elf64-x86-64.c (elf_x86_64_reloc_type_class): Likewise.

ld/

PR ld/19539
* testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.

* testsuite/ld-elf/pr19539.d: New file.
* testsuite/ld-elf/pr19539.s: Likewise.
* testsuite/ld-elf/pr19539.t: Likewise.

9 years agoFix erroneous relocations applied to absolute symbols in COFF format targets.
Leon Winter [Tue, 15 Mar 2016 10:53:20 +0000 (10:53 +0000)] 
Fix erroneous relocations applied to absolute symbols in COFF format targets.

PR ld/19623
* cofflink.c (_bfd_coff_generic_relocate_section): Do not apply
relocations against absolute symbols.

9 years agoSet BFD_DECOMPRESS to decompress debug sections
H.J. Lu [Thu, 28 Jan 2016 21:29:53 +0000 (13:29 -0800)] 
Set BFD_DECOMPRESS to decompress debug sections

We should set BFD_DECOMPRESS to decompress debug sections when reading in
DWARF debug sections.

Backport from master

bfd/

PR binutils/19523
* dwarf2.c (_bfd_dwarf2_slurp_debug_info): Set BFD_DECOMPRESS to
decompress debug sections.

binutils/

PR binutils/19523
* Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
runtest.
* Makefile.in: Regenerated.
* testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
proc.
Run test_gnu_debuglink for native ELF build.

9 years agoAutomatic date update in version.in
GDB Administrator [Tue, 15 Mar 2016 00:01:06 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agold: relax alignment requirements of compressed .debug_* section checks
Jan Beulich [Mon, 7 Dec 2015 16:52:25 +0000 (17:52 +0100)] 
ld: relax alignment requirements of compressed .debug_* section checks

This fixes a failure of the gabinormal linking test on some distros
(where e.g. crt1.o has a .debug_aranges section with larger alignment).

Backport from master

* ld-elf/gabiend.rt: Accept any alignment.
* ld-elf/gabinormal.rt: Likewise.

9 years agoAutomatic date update in version.in
GDB Administrator [Mon, 14 Mar 2016 00:00:57 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sun, 13 Mar 2016 00:01:00 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sat, 12 Mar 2016 00:00:57 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Fri, 11 Mar 2016 00:01:02 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Thu, 10 Mar 2016 00:00:58 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoTreat common symbol in executable as definition
H.J. Lu [Wed, 9 Mar 2016 13:59:20 +0000 (05:59 -0800)] 
Treat common symbol in executable as definition

Common symbol in executable is a definition, which overrides definition
from shared objects.  When linker sees a new definition from a shared
object, the new dynamic definition should be overridden by the previous
common symbol in executable.

Backport from master

bfd/

PR ld/19579
* elflink.c (_bfd_elf_merge_symbol): Group common symbol checking
together.

* elflink.c (_bfd_elf_merge_symbol): Treat common symbol in
executable as definition if the new definition comes from a
shared library.

ld/

PR ld/19579
* testsuite/ld-elf/pr19579a.c: New file.
* testsuite/ld-elf/pr19579b.c: Likewise.
* testsuite/ld-elf/shared.exp: Run PR ld/19579 test.

9 years agoAllow zero length archive elements
Alan Modra [Wed, 9 Mar 2016 06:31:54 +0000 (17:01 +1030)] 
Allow zero length archive elements

bfd/
PR binutils/19775
* archive.c (bfd_generic_openr_next_archived_file): Allow zero
length elements in the archive.
* coff-alpha.c (alpha_ecoff_openr_next_archived_file): Likewise.

binutils/
PR binutils/19775
* testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
Run the new proc.
* testsuite/binutils-all/empty: New, empty, file.

9 years agoAutomatic date update in version.in
GDB Administrator [Wed, 9 Mar 2016 00:00:51 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Tue, 8 Mar 2016 00:01:07 +0000 (00:01 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Mon, 7 Mar 2016 00:00:58 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sun, 6 Mar 2016 00:00:55 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Sat, 5 Mar 2016 00:00:48 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoSpeedup orphan placement for relocatable link
H.J. Lu [Mon, 29 Feb 2016 19:04:22 +0000 (11:04 -0800)] 
Speedup orphan placement for relocatable link

Since there is no need to place output sections in specific order for
relocatable link, we can skip merging flags of other input sections.

Backport from master

PR ld/19739
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
merge flags of other input sections for relocatable link.
* emultempl/mmo.em (mmo_place_orphan): Likewise.
* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
* emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.

9 years agoAutomatic date update in version.in
GDB Administrator [Fri, 4 Mar 2016 00:00:48 +0000 (00:00 +0000)] 
Automatic date update in version.in

9 years agoAutomatic date update in version.in
GDB Administrator [Thu, 3 Mar 2016 00:00:56 +0000 (00:00 +0000)] 
Automatic date update in version.in