]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/log
Alan Modra [Mon, 27 Jan 2014 23:00:17 +0000 (09:30 +1030)]
daily update
Alan Modra [Sun, 26 Jan 2014 23:00:17 +0000 (09:30 +1030)]
daily update
Alan Modra [Sat, 25 Jan 2014 23:00:34 +0000 (09:30 +1030)]
daily update
Alan Modra [Fri, 24 Jan 2014 23:00:36 +0000 (09:30 +1030)]
daily update
Alan Modra [Fri, 24 Jan 2014 03:53:37 +0000 (14:23 +1030)]
Fixes powerpc64le ld segfaults when --emit-relocs is used.
ELFv2 needs fewer relocs to annotate plt call stubs. I correctly
allocated a smaller buffer and wrote the proper relocs, but stupidly
bumped the reloc count as for ELFv1.
Also backport a couple of other minor fixes.
* elf64-ppc.c (ppc_build_one_stub): Correct reloc count passed
to get_relocs for ELFv2.
(STK_LINKER): Comment typo fix.
2013-12-16 Andreas Schwab <schwab@suse.de>
* elf64-ppc.c (ppc64_elf_relocate_section): Add newline to error
message.
Alan Modra [Thu, 23 Jan 2014 23:00:29 +0000 (09:30 +1030)]
daily update
Alan Modra [Wed, 22 Jan 2014 23:00:39 +0000 (09:30 +1030)]
daily update
Alan Modra [Tue, 21 Jan 2014 23:00:35 +0000 (09:30 +1030)]
daily update
Alan Modra [Mon, 20 Jan 2014 23:00:39 +0000 (09:30 +1030)]
daily update
Alan Modra [Sun, 19 Jan 2014 23:00:28 +0000 (09:30 +1030)]
daily update
Alan Modra [Fri, 17 Jan 2014 23:00:35 +0000 (09:30 +1030)]
daily update
Alan Modra [Thu, 16 Jan 2014 23:00:34 +0000 (09:30 +1030)]
daily update
Alan Modra [Wed, 15 Jan 2014 23:00:35 +0000 (09:30 +1030)]
daily update
Alan Modra [Tue, 14 Jan 2014 23:00:25 +0000 (09:30 +1030)]
daily update
Alan Modra [Mon, 13 Jan 2014 23:00:16 +0000 (09:30 +1030)]
daily update
Alan Modra [Sun, 12 Jan 2014 23:00:14 +0000 (09:30 +1030)]
daily update
Alan Modra [Sat, 11 Jan 2014 23:00:16 +0000 (09:30 +1030)]
daily update
Alan Modra [Fri, 10 Jan 2014 23:00:30 +0000 (09:30 +1030)]
daily update
Alan Modra [Thu, 9 Jan 2014 23:00:16 +0000 (09:30 +1030)]
daily update
Roland McGrath [Thu, 9 Jan 2014 18:13:10 +0000 (10:13 -0800)]
Fix buffer underrun in i386-dis.c.
opcodes/
* i386-dis.c (print_insn): Do not touch all_prefixes[-1] when
last_rex_prefix is -1.
(cherry picked from commit
e2e6193d65a20e6b7fccba288e5d1bc45b78d194 )
Alan Modra [Wed, 8 Jan 2014 23:00:17 +0000 (09:30 +1030)]
daily update
H.J. Lu [Wed, 8 Jan 2014 16:22:35 +0000 (08:22 -0800)]
Remove regbnd and vec_disp8
* config/tc-i386.c (regbnd): Removed.
(vec_disp8): Likewise.
Alan Modra [Tue, 7 Jan 2014 23:00:23 +0000 (09:30 +1030)]
daily update
Mike Frysinger [Mon, 6 Jan 2014 18:15:31 +0000 (18:15 +0000)]
libiberty: fix --enable-install-libiberty flag [PR 56780]
Commit 199570 fixed the --disable-install-libiberty behavior, but it also
added a bug where the enable path never works because the initial clear
of target_header_dir wasn't deleted. So we end up initializing properly
at the top only to reset it at the end all the time.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206367
138bc75d -0d04-0410-961f-
82ee72b054a4
(cherry picked from commit
369be6981b26787b2685e3b8c6da779dae8ce35f )
Alan Modra [Mon, 6 Jan 2014 23:00:22 +0000 (09:30 +1030)]
daily update
Alan Modra [Sun, 5 Jan 2014 23:00:17 +0000 (09:30 +1030)]
daily update
Alan Modra [Sat, 4 Jan 2014 23:00:17 +0000 (09:30 +1030)]
daily update
Alan Modra [Fri, 3 Jan 2014 23:00:26 +0000 (09:30 +1030)]
daily update
Alan Modra [Thu, 2 Jan 2014 23:00:19 +0000 (09:30 +1030)]
daily update
Alan Modra [Wed, 1 Jan 2014 23:00:14 +0000 (09:30 +1030)]
daily update
Alan Modra [Tue, 31 Dec 2013 23:00:19 +0000 (09:30 +1030)]
daily update
Alan Modra [Mon, 30 Dec 2013 23:00:17 +0000 (09:30 +1030)]
daily update
Alan Modra [Sun, 29 Dec 2013 23:00:16 +0000 (09:30 +1030)]
daily update
Alan Modra [Sat, 28 Dec 2013 23:00:18 +0000 (09:30 +1030)]
daily update
Alan Modra [Fri, 27 Dec 2013 23:00:24 +0000 (09:30 +1030)]
daily update
Alan Modra [Thu, 26 Dec 2013 23:00:17 +0000 (09:30 +1030)]
daily update
Alan Modra [Wed, 25 Dec 2013 23:00:17 +0000 (09:30 +1030)]
daily update
Alan Modra [Tue, 24 Dec 2013 23:00:17 +0000 (09:30 +1030)]
daily update
Alan Modra [Mon, 23 Dec 2013 23:00:33 +0000 (09:30 +1030)]
daily update
Alan Modra [Sun, 22 Dec 2013 23:00:18 +0000 (09:30 +1030)]
daily update
Alan Modra [Sat, 21 Dec 2013 23:00:19 +0000 (09:30 +1030)]
daily update
Alan Modra [Fri, 20 Dec 2013 23:00:35 +0000 (09:30 +1030)]
daily update
Alan Modra [Sat, 14 Dec 2013 02:40:04 +0000 (13:10 +1030)]
Correct elf_merge_st_other arguments for weak symbols
* elflink.c (_bfd_elf_merge_symbol): If merging a new weak
symbol that will be skipped, we don't have a new definition.
Alan Modra [Thu, 19 Dec 2013 23:00:20 +0000 (09:30 +1030)]
daily update
Alan Modra [Wed, 18 Dec 2013 23:00:33 +0000 (09:30 +1030)]
daily update
Yufeng Zhang [Wed, 18 Dec 2013 19:20:34 +0000 (19:20 +0000)]
gas/
* config/tc-aarch64.c (md_assemble): Defer the feature checking until
do_encode () succeeds.
gas/testsuite/
* gas/aarch64/rm-simd-ext.d: New file.
* gas/aarch64/rm-simd-ext.l: Likewise.
* gas/aarch64/rm-simd-ext.s: Likewise.
Alan Modra [Tue, 17 Dec 2013 23:00:24 +0000 (09:30 +1030)]
daily update
Alan Modra [Mon, 16 Dec 2013 23:00:18 +0000 (09:30 +1030)]
daily update
Alan Modra [Sun, 15 Dec 2013 23:00:17 +0000 (09:30 +1030)]
daily update
Alan Modra [Sat, 14 Dec 2013 23:00:18 +0000 (09:30 +1030)]
daily update
Alan Modra [Fri, 13 Dec 2013 23:00:37 +0000 (09:30 +1030)]
daily update
Alan Modra [Thu, 12 Dec 2013 23:00:17 +0000 (09:30 +1030)]
daily update
Alan Modra [Wed, 11 Dec 2013 23:00:27 +0000 (09:30 +1030)]
daily update
Will Newton [Tue, 10 Dec 2013 22:02:05 +0000 (22:02 +0000)]
ld/testsuite/ld-aarch64: Fixup IFUNC tests to work on all targets
Make the ifunc-21 and ifunc-22 tests more generic to support
aarch64_be and ELF targets.
ld/testsuite/ChangeLog:
2013-12-11 Will Newton <will.newton@linaro.org>
* ld-aarch64/ifunc-21.d: Make test more generic to support
aarch64_be and ELF targets.
* ld-aarch64/ifunc-22.d: Likewise.
Will Newton [Mon, 25 Nov 2013 14:44:59 +0000 (14:44 +0000)]
bfd/elfnn-aarch64.c: Handle static links with ifunc correctly.
The code for handling GOT references to ifunc symbols in static links
was missing.
bfd/ChangeLog:
2013-11-26 Will Newton <will.newton@linaro.org>
* elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_symbol):
Handle STT_GNU_IFUNC symbols correctly in static links.
ld/testsuite/ChangeLog:
2013-11-26 Will Newton <will.newton@linaro.org>
* ld-aarch64/aarch64-elf.exp: Add ifunc-22.
* ld-aarch64/ifunc-22.d: New file.
* ld-aarch64/ifunc-22.s: Likewise.
Will Newton [Mon, 25 Nov 2013 11:07:07 +0000 (11:07 +0000)]
bfd/elfnn-aarch64.c: Fix miscalculation of GOTPLT offset for ifunc syms.
The .got.plt header size was not being correctly taken into account
when calculating the offset for relocations against ifunc symbols.
bfd/ChangeLog:
2013-11-26 Will Newton <will.newton@linaro.org>
* elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Ensure
PLT_INDEX is calculated using correct header size.
ld/testsuite/ChangeLog:
2013-11-26 Will Newton <will.newton@linaro.org>
* ld-aarch64/aarch64-elf.exp: Add ifunc-21 test.
* ld-aarch64/ifunc-21.d: New file.
* ld-aarch64/ifunc-21.s: Likewise.
Roland McGrath [Tue, 10 Dec 2013 22:01:01 +0000 (14:01 -0800)]
Use $(INSTALL_PROGRAM_ENV) consistently.
binutils/
* Makefile.am (install-exec-local): Prefix libtool invocation with
$(INSTALL_PROGRAM_ENV).
* Makefile.in: Regenerate.
gas/
* Makefile.am (install-exec-bindir): Prefix libtool invocation
with $(INSTALL_PROGRAM_ENV).
(install-exec-tooldir): Likewise.
* Makefile.in: Regenerate.
gold/
* Makefile.am (install-exec-local): Prefix $(INSTALL_PROGRAM) uses
with $(INSTALL_PROGRAM_ENV).
* Makefile.in: Regenerate.
ld/
* Makefile.am (install-exec-local): Prefix libtool invocation with
$(INSTALL_PROGRAM_ENV).
* Makefile.in: Regenerate.
(cherry picked from commit
f2c7d7ee5b94a3ff4fe86d47e9a529cc50bfb7c5 )
Alan Modra [Tue, 10 Dec 2013 23:00:18 +0000 (09:30 +1030)]
daily update
Alan Modra [Mon, 9 Dec 2013 23:00:22 +0000 (09:30 +1030)]
daily update
Alan Modra [Sun, 8 Dec 2013 23:00:26 +0000 (09:30 +1030)]
daily update
Alan Modra [Sun, 8 Dec 2013 05:12:32 +0000 (15:42 +1030)]
correct file reference
Alan Modra [Sun, 8 Dec 2013 04:56:12 +0000 (15:26 +1030)]
Fix --as-needed undefined symbol references from dynamic libraries.
libx.so refers to some_sym, liby.so provides some_sym@some_version
wasn't seen as satisfying the reference.
* elf64-ppc.c (_bfd_elf_add_default_symbol): Set dynamic_def
and ref_dynamic_nonweak when chaining together indirect
symbols.
Alan Modra [Sat, 7 Dec 2013 23:00:31 +0000 (09:30 +1030)]
daily update
Alan Modra [Fri, 6 Dec 2013 23:00:28 +0000 (09:30 +1030)]
daily update
Alan Modra [Thu, 5 Dec 2013 23:00:33 +0000 (09:30 +1030)]
daily update
Alan Modra [Tue, 3 Dec 2013 07:18:31 +0000 (17:48 +1030)]
More PowerPC64 ELFv2 --just-symbols fixes
I don't know what I was thinking here to omit the save of r2.
Possibly I was looking at -msave-toc-indirect code at the time, where
r2 is saved in the function prologue.
* elf64-ppc.c (ppc_build_one_stub <ppc_stub_plt_branch_r2off>):
Don't omit saving of r2 for ELFv2. Don't addi 2,2,0.
(ppc_size_one_stub <ppc_stub_plt_branch_r2off>): Adjust to suit.
Alan Modra [Tue, 3 Dec 2013 04:31:20 +0000 (15:01 +1030)]
PowerPC64 linking of --just-symbols objects (klibc)
With -mcmodel=medium we can't assume that a -R object doesn't use
toc-relative addressing if there's no toc. Lots of things are
accessed via r2, not just the toc/got section. Also, testing for
.opd is plain wrong for ELFv2.
* elf64-ppc.c (ppc64_elf_link_just_syms): Remove .got check.
Handle ELFv2.
Alan Modra [Wed, 4 Dec 2013 23:00:27 +0000 (09:30 +1030)]
daily update
Alan Modra [Tue, 3 Dec 2013 23:00:54 +0000 (09:30 +1030)]
daily update
Alan Modra [Mon, 2 Dec 2013 23:00:38 +0000 (09:30 +1030)]
daily update
Tristan Gingold [Mon, 2 Dec 2013 10:17:19 +0000 (11:17 +0100)]
Unset RELEASE
bfd/
2013-12-02 Tristan Gingold <gingold@adacore.com>
* configure.in: Bump version to 2.24.0
* Makefile.am (RELEASE): Unset.
* configure, Makefile.in: Regenerate.
Tristan Gingold [Mon, 2 Dec 2013 09:54:47 +0000 (10:54 +0100)]
Add generated files
Tristan Gingold [Mon, 2 Dec 2013 09:48:01 +0000 (10:48 +0100)]
Bump version to 2.24
bfd/
2013-12-02 Tristan Gingold <gingold@adacore.com>
* configure.in: Bump version to 2.24
* Makefile.am (RELEASE): Set.
* configure, Makefile.in: Regenerate.
Alan Modra [Sun, 1 Dec 2013 23:00:36 +0000 (09:30 +1030)]
daily update
Alan Modra [Sat, 30 Nov 2013 23:00:28 +0000 (09:30 +1030)]
daily update
Alan Modra [Fri, 29 Nov 2013 23:00:25 +0000 (09:30 +1030)]
daily update
Alan Modra [Thu, 28 Nov 2013 23:00:25 +0000 (09:30 +1030)]
daily update
Alan Modra [Wed, 27 Nov 2013 23:00:30 +0000 (09:30 +1030)]
daily update
Alan Modra [Tue, 26 Nov 2013 23:00:32 +0000 (09:30 +1030)]
daily update
Tristan Gingold [Tue, 26 Nov 2013 11:39:58 +0000 (12:39 +0100)]
Bump version to 2.23.92
bfd/
2013-11-26 Tristan Gingold <gingold@adacore.com>
* configure.in: Bump version to 2.23.92
* configure: Regenerate.
Alan Modra [Mon, 25 Nov 2013 23:00:28 +0000 (09:30 +1030)]
daily update
Yufeng Zhang [Mon, 25 Nov 2013 18:40:13 +0000 (18:40 +0000)]
ld/ChangeLog:
* Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64linux32.c
and eaarch64linux32b.c
(eaarch64linux32.c): New target.
(eaarch64linux32b.c): Likewise.
* Makefile.in: Regenerate.
* configure.tgt (aarch64_be-*-linux*): Add
aarch64linux32 and aarch64linux32b to targ_extra_libpath.
(aarch64-*-linux*): Likewise.
* emulparams/aarch64elf32.sh (SEPARATE_GOTPLT): Change to 12 (3 words).
* emulparams/aarch64linux32.sh: New file.
* emulparams/aarch64linux32b.sh: New file.
Yufeng Zhang [Mon, 25 Nov 2013 18:36:48 +0000 (18:36 +0000)]
ld/ChangeLog:
* configure.tgt (aarch64_be-*-linux*): Split out the linux targets
into targ_extra_libpath.
(aarch64-*-linux*): Likewise.
Alan Modra [Sun, 24 Nov 2013 23:00:34 +0000 (09:30 +1030)]
daily update
Alan Modra [Sat, 23 Nov 2013 23:00:28 +0000 (09:30 +1030)]
daily update
Cary Coutant [Fri, 22 Nov 2013 23:38:24 +0000 (15:38 -0800)]
Use in-tree assembler for exception_x86_64_bnd_test.
gold/
* testsuite/Makefile.am (exception_x86_64_bnd_test): Use in-tree
assembler.
* testsuite/Makefile.in: Regenerate.
Alan Modra [Fri, 22 Nov 2013 23:00:20 +0000 (09:30 +1030)]
daily update
Alan Modra [Fri, 22 Nov 2013 22:30:43 +0000 (09:00 +1030)]
Import config.sub and config.guess from upstream.
Nick Clifton [Fri, 22 Nov 2013 15:05:59 +0000 (15:05 +0000)]
remove patch leftovers
Nick Clifton [Fri, 22 Nov 2013 15:04:23 +0000 (15:04 +0000)]
* windres.c (define_resource): Use zero for timestamp, making
output deterministic. time.h include is no longer needed.
* resres.c (res_append_resource): Likewise.
* libcoff-in.h: Add insert_timestamp flag to the pe_data struct.
* libcoff.h: Regenerate.
* peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Only use a real
timestamp if --insert-timestamp was used.
* pe-dll.c (fill_edata): Only use a real timestamp if
--insert-timestamp was used.
* emultempl/pe.em: Add the --insert-timestamp option.
* emultempl/pep.em: Likewise for 64bit.
* ld.texinfo: Document the --insert-timestamp option.
Alan Modra [Thu, 21 Nov 2013 23:02:51 +0000 (09:32 +1030)]
daily update
Alan Modra [Wed, 20 Nov 2013 23:00:29 +0000 (09:30 +1030)]
daily update
Yufeng Zhang [Wed, 20 Nov 2013 11:22:40 +0000 (11:22 +0000)]
gas/testsuite/
* gas/aarch64/msr.s: Add tests.
* gas/aarch64/msr.d: Update.
include/opcode
* aarch64.h (aarch64_pstatefields): Change element type to
aarch64_sys_reg.
opcodes/
* aarch64-opc.c (aarch64_pstatefields): Update.
Roland McGrath [Tue, 19 Nov 2013 22:57:54 +0000 (14:57 -0800)]
Fix *-nacl* target objcopy/strip of binary made with custom linker script
bfd/
* elf-nacl.c (nacl_modify_segment_map): Calculate SIZEOF_HEADERS
when not doing linking (i.e. INFO is a null pointer).
(cherry picked from commit
33aa641a5d20d54adaac9b21b5a3e19b03f0bd4f )
Alan Modra [Tue, 19 Nov 2013 23:00:29 +0000 (09:30 +1030)]
daily update
Roland McGrath [Tue, 19 Nov 2013 18:54:00 +0000 (10:54 -0800)]
Fix references to __ehdr_start when it cannot be defined
ld/
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Don't use bfd_elf_record_link_assignment to mark __ehdr_start
hidden. Instead, just do it directly here, and only if it was
referenced but not defined.
ld/testsuite/
* ld-elf/ehdr_start-userdef.t: New file.
* ld-elf/ehdr_start-userdef.d: New file.
* ld-elf/ehdr_start-strongref.s: New file.
* ld-elf/ehdr_start-missing.t: New file.
* ld-elf/ehdr_start-missing.d: New file.
* ld-elf/ehdr_start-weak.d: New file.
* ld-mips-elf/ehdr_start-2.nd: Expect __ehdr_start to be global.
(cherry picked from commit
c2763e270c6627e55ac7a75ed3c0a717fbca9bd0 )
Alan Modra [Mon, 18 Nov 2013 23:00:33 +0000 (09:30 +1030)]
daily update
H.J. Lu [Mon, 18 Nov 2013 20:16:16 +0000 (12:16 -0800)]
Add a dummy "int bnd_prefix" argument
* config/tc-i386.c (lex_got): Add a dummy "int bnd_prefix"
argument.
H.J. Lu [Sun, 17 Nov 2013 18:30:28 +0000 (10:30 -0800)]
Add R_X86_64_PC32_BND/R_X86_64_PLT32_BND suppor to gold
elfcpp/
* x86_64.h (R_X86_64_PC32_BND): New.
(R_X86_64_PLT32_BND): Likewise.
gold/
* x86_64.cc (Target_x86_64<size>::Scan::get_reference_flags):
Handle R_X86_64_PC32_BND and R_X86_64_PLT32_BND just like
R_X86_64_PC32 and R_X86_64_PLT32, respectively.
(Target_x86_64<size>::Scan::local): Likewise.
(Target_x86_64<size>::Scan::global): Likewise.
(Target_x86_64<size>::Relocate::relocate): Likewise.
(Target_x86_64<size>::Relocatable_size_for_reloc::get_size_for_reloc):
Likewise.
(Target_x86_64<size>::Scan::check_non_pic(): Handle
R_X86_64_PC32_BND.
* testsuite/Makefile.am (check_PROGRAMS): Add
exception_x86_64_bnd_test.
(exception_x86_64_bnd_test_SOURCES): New macro.
(exception_x86_64_bnd_test_DEPENDENCIES): Likewise.
(exception_x86_64_bnd_test_LDFLAGS): Likewise.
(exception_x86_64_bnd_test_LDADD): Likewise.
(exception_x86_64_bnd_1.o): New rule.
(exception_x86_64_bnd_2.o): Likewise.
* testsuite/Makefile.in: Regenerated.
Yufeng Zhang [Mon, 18 Nov 2013 17:23:33 +0000 (17:23 +0000)]
Add support for armv7ve to gas.
gas/
* config/tc-arm.c (arm_archs): New armv7ve architecture option.
(arm_cpus): Replace ARM_ARCH_V7A_IDIV_MP_SEC_VIRT with
ARM_ARCH_V7VE for cortex-a7, cortex-a12 and cortex-a15.
(cpu_arch_ver): Likewise.
* doc/c-arm.texi: Document armv7ve.
gas/testsuite/
* gas/arm/attr-march-armv7ve.d: New test case for armv7ve.
include/opcode/
* arm.h (ARM_AEXT_V7VE): New define.
(ARM_ARCH_V7VE): New define.
(ARM_ARCH_V7A_IDIV_MP_SEC_VIRT): Removed.