• R/O
  • HTTP
  • SSH
  • HTTPS

Listed des commits

Tags
Aucun tag

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


users/hjl/pr19827/binutils-2_26-branch
RSS
Révision l'heure Auteur
df7d3bc users/hjl/pr19827/binutils-2_26-branch 2016-03-16 03:53:31 H.J. Lu

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.

1724859 2016-03-15 21:26:24 H.J. Lu

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.

d0509e7 2016-03-15 19:53:20 Leon Winter

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.

c4306ea 2016-03-15 09:39:06 H.J. Lu

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.

a93cb6f 2016-03-15 09:01:06 GDB Administrator

Automatic date update in version.in

343a890 2016-03-15 06:58:58 Jan Beulich

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.

65cea83 2016-03-14 09:00:57 GDB Administrator

Automatic date update in version.in

3727336 2016-03-13 09:01:00 GDB Administrator

Automatic date update in version.in

dc14bb3 2016-03-12 09:00:57 GDB Administrator

Automatic date update in version.in

531cf90 2016-03-11 09:01:02 GDB Administrator

Automatic date update in version.in

b675442 2016-03-10 09:00:58 GDB Administrator

Automatic date update in version.in

1134e6c 2016-03-09 22:59:31 H.J. Lu

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.

343a405 2016-03-09 15:31:54 Alan Modra

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.

a839b40 2016-03-09 09:00:51 GDB Administrator

Automatic date update in version.in

2b223aa 2016-03-08 09:01:07 GDB Administrator

Automatic date update in version.in

dc026a2 2016-03-07 09:00:58 GDB Administrator

Automatic date update in version.in

8cbcf54 2016-03-06 09:00:55 GDB Administrator

Automatic date update in version.in

16e6826 2016-03-05 09:00:48 GDB Administrator

Automatic date update in version.in

cb09f0f 2016-03-04 23:45:44 H.J. Lu

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.

950bdc7 2016-03-04 09:00:48 GDB Administrator

Automatic date update in version.in

a1d4919 2016-03-03 09:00:56 GDB Administrator

Automatic date update in version.in

71090e7 2016-03-02 09:00:56 GDB Administrator

Automatic date update in version.in

b468cae 2016-03-02 06:18:00 H.J. Lu

Update PR ld/12365 test for GCC 6

PR ld/12365 test is to verify that linker catches the reference to
undefined symbol error caused by a GCC bug. Since the GCC bug has
been fixed in GCC 6, update the test to verify that there is no
reference to undefined symbol in executable

Backport from master

* testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.

bfe9c5d 2016-03-02 06:13:22 Nick Clifton

Fix formatting of coff-i386.c and coff-x86_64.c

Backport from master

PR ld/19752
* coff-i386.c (coff_i386_reloc): Fix formatting.
* coff-x86_64.c (coff_amd64_reloc): Likewise.

98faa81 2016-03-01 09:01:34 GDB Administrator

Automatic date update in version.in

4eb4e2a 2016-02-29 09:02:00 GDB Administrator

Automatic date update in version.in

9b17a51 2016-02-28 09:01:43 GDB Administrator

Automatic date update in version.in

94dea7a 2016-02-27 09:01:42 GDB Administrator

Automatic date update in version.in

544ddf9 2016-02-26 22:38:33 H.J. Lu

Update symbol version for symbol from linker script

We need to update symbol version for symbols from linker script.

Backport from master

bfd/

PR ld/19698
* elflink.c (bfd_elf_record_link_assignment): Set versioned if
symbol version is unknown.

ld/

PR ld/19698
* testsuite/ld-elf/pr19698.d: New file.
* testsuite/ld-elf/pr19698.s: Likewise.
* testsuite/ld-elf/pr19698.t: Likewise.

f558a73 2016-02-26 22:29:59 H.J. Lu

Don't add DT_NEEDED for unmatched symbol

Don't add DT_NEEDED if a symbol from a library loaded via DT_NEEDED
doesn't match the symbol referenced by regular object.

Backport from master

bfd/

PR ld/19553
* elflink.c (elf_link_add_object_symbols): Don't add DT_NEEDED
if a symbol from a library loaded via DT_NEEDED doesn't match
the symbol referenced by regular object.

ld/testsuite/

PR ld/19553
* testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
* testsuite/ld-elf/pr19553.map: New file.
* testsuite/ld-elf/pr19553.map: Likewise.
* testsuite/ld-elf/pr19553a.c: Likewise.
* testsuite/ld-elf/pr19553b.c: Likewise.
* testsuite/ld-elf/pr19553b.out: Likewise.
* testsuite/ld-elf/pr19553c.c: Likewise.
* testsuite/ld-elf/pr19553c.out: Likewise.
* testsuite/ld-elf/pr19553d.c: Likewise.
* testsuite/ld-elf/pr19553d.out: Likewise.