Will Newton
aba8c3de87
bfd/efl32-arm.c: Fix handling of IRELATIVE relocs.
...
bfd/ChangeLog:
2013-04-24 Will Newton <will.newton@linaro.org>
* elf32-arm.c (elf32_arm_populate_plt_entry): Call
elf32_arm_add_dynreloc when emitting R_ARM_IRELATIVE relocs.
ld/testsuite/ChangeLog:
2013-04-24 Will Newton <will.newton@linaro.org>
* ld-arm/arm-elf.exp: Add IFUNC test 17.
* ld-arm/ifunc-17.dd: New file.
* ld-arm/ifunc-17.gd: Likewise.
* ld-arm/ifunc-17.rd: Likewise.
* ld-arm/ifunc-17.s: Likweise.
* ld-arm/ifunc-1.rd: Reorder relocs to match linker output.
* ld-arm/ifunc-2.rd: Likewise.
* ld-arm/ifunc-5.rd: Likewise.
* ld-arm/ifunc-6.rd: Likewise.
2013-04-29 09:48:32 +00:00
Will Newton
2810e26c6a
ld-plugin/lto.exp: Disable ld/12942 test for gcc < 4.7.0.
...
The test for ld/12942 fails with gcc versions before 4.7.0. This patch
disables this test with these versions of gcc.
ld/testsuite/ChangeLog:
2013-04-29 Will Newton <will.newton@linaro.org>
* ld-plugin/lto.exp: Disable ld/12942 test for gcc < 4.7.0.
2013-04-29 08:57:48 +00:00
Nick Clifton
7fcfd62ddc
* elf64-aarch64.c (elf64_aarch64_check_relocs): Move relocation
...
error check up and add error message.
2013-04-29 08:33:51 +00:00
Pierre Muller
47d21dc520
* ./contrib/ari/gdb_ari.sh (editCase rule): Fix spelling error.
2013-04-29 08:32:18 +00:00
Nick Clifton
27320b8511
* emultempl/pe.em [cygwin]: Do not merge rdata with v2
...
psuedo-relocs.
2013-04-29 08:22:16 +00:00
Joel Brobecker
9056882e81
Add ARI marker to get_DW_AT_signature_type.
...
gdb/ChangeLog:
* dwarf2read.c (get_DW_AT_signature_type): Add ARI marker.
2013-04-29 05:05:44 +00:00
Alan Modra
7057e86c13
daily update
2013-04-29 00:00:04 +00:00
gdbadmin
358d1d6030
*** empty log message ***
2013-04-29 00:00:02 +00:00
Thomas Schwinge
d061dfac16
ld/
...
* scripttempl/armbpabi.sc: Replace "source" usage with ".".
* scripttempl/avr.sc: Likewise.
* scripttempl/elf.sc: Likewise.
* scripttempl/elf32cr16.sc: Likewise.
* scripttempl/elf32crx.sc: Likewise.
* scripttempl/elf32msp430.sc: Likewise.
* scripttempl/elf32msp430_3.sc: Likewise.
* scripttempl/elf32sh-symbian.sc: Likewise.
* scripttempl/elf64hppa.sc: Likewise.
* scripttempl/elf_chaos.sc: Likewise.
* scripttempl/elfd10v.sc: Likewise.
* scripttempl/elfd30v.sc: Likewise.
* scripttempl/elfi370.sc: Likewise.
* scripttempl/elfm68hc11.sc: Likewise.
* scripttempl/elfm68hc12.sc: Likewise.
* scripttempl/elfxgate.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/epiphany_4x4.sc: Likewise.
* scripttempl/i386beos.sc: Likewise.
* scripttempl/i386go32.sc: Likewise.
* scripttempl/ia64vms.sc: Likewise.
* scripttempl/ip2k.sc: Likewise.
* scripttempl/iq2000.sc: Likewise.
* scripttempl/mep.sc: Likewise.
* scripttempl/mmo.sc: Likewise.
* scripttempl/v850.sc: Likewise.
* scripttempl/v850_rh850.sc: Likewise.
* scripttempl/xstormy16.sc: Likewise.
2013-04-28 14:52:55 +00:00
Yao Qi
7ee4732a0c
gdb/
...
* solib-dsbt.c (fetch_loadmap): Re-indent.
(displacement_from_map, enable_break2): Likewise.
(dsbt_relocate_section_addresses): Likewise.
2013-04-28 08:58:29 +00:00
Alan Modra
e4b224615e
daily update
2013-04-28 00:00:04 +00:00
gdbadmin
3d80fd16c5
*** empty log message ***
2013-04-28 00:00:02 +00:00
Ian Lance Taylor
0e8048633e
* target-reloc.h (relocate_section): If the reloc offset is out of
...
range, pass VIEW as NULL to relocate.relocate.
* arm.cc (Target_arm:Relocate::relocate): Check for a NULL view.
* i386.cc (Target_i386::Relocate::relocate): Likewise.
* powerpc.cc (Target_powerpc::Relocate::relocate): Likewise.
* sparc.cc (Target_sparc::Relocate::relocate): Likewise.
* tilegx.cc (Target_tilegx::Relocate::relocate): Likewise.
* x86_64.cc (Target_x86_64::Relocate::relocate): Likewise.
2013-04-27 00:53:16 +00:00
gdbadmin
6c6b70567b
*** empty log message ***
2013-04-27 00:00:32 +00:00
Alan Modra
d7f4ad2e8c
daily update
2013-04-27 00:00:05 +00:00
Cary Coutant
e7c5ea405f
2013-04-26 Geoff Pike <gpike@chromium.org>
...
gold/
* gold.cc (queue_final_tasks): invoke layout->queue_build_id_tasks().
* layout.cc (Hash_task): New class.
(Layout::queue_build_id_tasks): New function.
(Layout::write_build_id): Handle single-thread portion of build ID
computation. (In some cases, all of it is single-threaded.) Replace
{sha1,md5}_process_bytes with {sha1,md5}_buffer to get the same
functionality in fewer lines of code.
* layout.h (Layout::queue_build_id_tasks): New function declaration.
* options.h (General_options): make "--build-id" default to tree
rather than sha1. Add two new options related to --build-id=tree:
--build-id-chunk-size-for-treehash and
--build-id-min-file-size-for-treehash.
* Makefile.am: add testing of --build-id=tree and related new options
(these tests will be invoked by "make check").
* Makefile.in: Regenerate.
2013-04-26 21:38:57 +00:00
Ian Lance Taylor
ee441d9a9a
* MAINTAINERS: Add myself and Cary as gold maintainers.
2013-04-26 20:55:25 +00:00
Christian Groessler
8eeccb77c3
fix changelog entry: we still have 2013, not 2014
2013-04-26 19:31:15 +00:00
Christian Groessler
00a3147e7e
* config/tc-z8k.c (md_parse_option): Set z8k_target_from_cmdline
...
according to the target parameter. Don't call s_segm since s_segm
calls bfd_set_arch_mach using stdoutput, but stdoutput isn't
initialized yet.
(md_begin): Call s_segm according to target parameter from command
line.
2013-04-26 19:21:25 +00:00
Nick Clifton
778ee4a6f2
* scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
2013-04-26 15:27:55 +00:00
gdbadmin
2260af53be
GDB 7.6 released.
2013-04-26 14:07:53 +00:00
Will Newton
0f7325f98d
Add missing test files from 2013-03-21 commit.
2013-04-26 09:40:18 +00:00
Will Newton
ed5acf27f7
Remove some dead code from elf64_aarch64_check_relocs.
...
bfd/ChangeLog:
2013-04-25 Will Newton <will.newton@linaro.org>
* elf64-aarch64.c (elf64_aarch64_check_relocs): Remove dead code.
2013-04-26 09:18:43 +00:00
Alan Modra
4706eab946
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test
...
unresolved_syms_in_shared_libs rather than !executable to
determine whether to load DT_NEEDED libraries.
2013-04-26 01:26:45 +00:00
Alan Modra
0b000dbb49
daily update
2013-04-26 00:00:03 +00:00
gdbadmin
7f5039149d
*** empty log message ***
2013-04-26 00:00:02 +00:00
Tom Tromey
ff54693587
PR corefiles/14983:
...
* dwarf2read.c (process_full_comp_unit): Always create a static
block.
gdb/testsuite
* gdb.dwarf2/nostaticblock.exp: New file.
2013-04-25 16:25:37 +00:00
Alan Modra
49926cd0c8
bfd/
...
* config.bfd: Add powerpc64le-linux.
gas/
* configure.in: Allow little-endian linux.
* configure: Regenerate.
gold/
* configure.tgt: Add powerpcle and powerpc64le.
ld/
* Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c.
(eelf32lppclinux.c): New rule.
* Makefile.in: Regenerate.
* configure.tgt: Merge powerpc-linux and other powerpc-elf targets
with corresponding little-endian targets.
* emulparams/elf32lppc.sh: Update comment.
* emulparams/elf32lppclinux.sh: New.
2013-04-25 13:22:52 +00:00
Hui Zhu
c65e009ff7
Fix format error of ChangeLog.
2013-04-25 08:03:31 +00:00
Hui Zhu
f6150862d2
2013-04-25 Hui Zhu <hui@codesourcery.com>
...
PR gdb/15186
* ax.c (ax_printf): Add fflush.
2013-04-25 02:58:05 +00:00
gdbadmin
320395c55a
*** empty log message ***
2013-04-25 00:00:32 +00:00
Alan Modra
7f99879879
daily update
2013-04-25 00:00:04 +00:00
Hui Zhu
40fb6c5ead
2013-04-25 Hui Zhu <hui@codesourcery.com>
...
* breakpoint.c (build_target_command_list): Change loc->cond_bytecode
to loc->cmd_bytecode.
2013-04-24 23:09:31 +00:00
Sandra Loosemore
e3031850bc
2013-04-24 Sandra Loosemore <sandra@codesourcery.com>
...
gas/
* config/tc-nios2.c (nios2_control_register_arg_p): Rename
"fstatus" control register to "eccinj".
opcodes/
* nios2-opc.c (nios2_builtin_reg): Rename "fstatus" control register
to "eccinj".
2013-04-24 20:51:58 +00:00
Doug Evans
74e04d1ccf
* dwarf2read.c (setup_type_unit_groups): Fix comment.
2013-04-24 19:12:26 +00:00
H.J. Lu
05567e3d0b
Enable x32 for x86_64-*-elf*
...
This patch enables x32 for x86_64-*-elf* for embedded target and disables
rex tests since it uses '/' as prefix separator which is `\' for
x86_64-*-elf*.
bfd/
* config.bfd (targ_selvecs): Add bfd_elf32_x86_64_vec for
x86_64-*-elf*.
gas/testsuite/
* gas/i386/rex.d: Skip x86_64-*-elf*.
* gas/i386/ilp32/rex.d: Likewise.
ld/
* configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
x86_64-*-elf*.
(targ_extra_libpath): Likewise.
(tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
2013-04-24 18:58:14 +00:00
Keith Seitz
3cf62c1d5c
* tracepoint.c (trace_save): Call the writer's start method.
2013-04-24 18:22:31 +00:00
Yufeng Zhang
4390599b4e
ld/
...
* emulparams/aarch64elf.sh: Define ELFSIZE=64.
* emulparams/aarch64linux.sh: Ditto.
* emultempl/aarch64elf.em (aarch64_elf_before_allocation):
Replace elf64 with elf${ELFSIZE}.
(elf64_aarch64_add_stub_section): Likewise.
(build_section_lists): Likewise.
(gld${EMULATION_NAME}_after_allocation): Likewise.
(gld${EMULATION_NAME}_finish): Likewise.
(aarch64_elf_create_output_section_statements): Likewise.
2013-04-24 17:22:31 +00:00
Roland McGrath
99059e56e2
bfd/
...
* elf32-arm.c (elf32_arm_allocate_plt_entry): If HTAB->nacl_p,
allocate space for PLT header even if IS_IPLT_ENTRY.
(arm_nacl_put_plt0): New function, broken out of ...
(elf32_arm_finish_dynamic_sections): ... here. Call it.
If HTAB->nacl_p, set up the PLT header in .iplt too.
(elf32_arm_output_arch_local_syms): If HTAB->nacl_p, write
a mapping symbol for the start of .iplt too.
2013-04-24 16:29:55 +00:00
Nick Clifton
2cfa18a94a
PR ld/15389
...
* scripttempl/avr.sc: Add .note.gnu.build-id section.
2013-04-24 15:28:12 +00:00
Muhammad Bilal
bf9e4d0c1f
2013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
...
PR gdb/10462
* cli/cli-decode.c (lookup_command): Show an error if there is no space
before argument.
2013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
PR gdb/10462
* gdb.base/setshow.exp: Add test case.
2013-04-24 14:29:17 +00:00
Nick Clifton
ad83dabf1c
oops - revert accidental commit
2013-04-24 13:24:30 +00:00
Nick Clifton
7b5d8d9642
*** empty log message ***
2013-04-24 13:22:43 +00:00
Nick Clifton
544008aaf7
* ecoff.c: casting the return value of BFD_ALIGN to int
...
* elf32-tic6x.c: removing unused variables
* elf32-v850.c: redefine the type of a variable (int -> bfd_vma)
* vms-alpha.c: initialize a variable
2013-04-24 13:19:27 +00:00
gdbadmin
901d9a9160
*** empty log message ***
2013-04-24 00:00:32 +00:00
Alan Modra
86c8247292
daily update
2013-04-24 00:00:04 +00:00
Tom Tromey
5d71132c29
* common/filestuff.c: Check USE_WIN32API before including
...
sys/socket.h.
(HAVE_F_GETFD): New define.
(mark_cloexec): Check HAVE_F_GETFD.
(gdb_open_cloexec): Change 'mode' to unsigned long.
(gdb_socketpair_cloexec): Check HAVE_SOCKETPAIR.
(gdb_pipe_cloexec): Check HAVE_PIPE.
* common/filestuff.h (gdb_open_cloexec): Change 'mode' to unsigned
long.
2013-04-23 15:49:25 +00:00
DJ Delorie
29f045bb48
merge from gcc
2013-04-23 04:05:04 +00:00
Hui Zhu
a11cfd87c0
2013-04-23 Hui Zhu <hui@codesourcery.com>
...
PR gdb/15293
* breakpoint.c (bpstat_what): Add BPSTAT_WHAT_SINGLE to bp_dprintf.
2013-04-23 Hui Zhu <hui@codesourcery.com>
PR gdb/15293
* gdb.base/dprintf.exp: Add ignore command.
2013-04-23 03:20:21 +00:00
Hui Zhu
2d9442cc40
2013-04-23 Hui Zhu <hui@codesourcery.com>
...
PR gdb/15165
* breakpoint.c (dprintf_print_recreate): New.
(save_breakpoints): Let it not save dprintf commands.
(initialize_breakpoint_ops): Set dprintf_print_recreate.
2013-04-23 Hui Zhu <hui@codesourcery.com>
PR gdb/15165
* gdb.base/save-bp.exp: Add test for dprintf.
2013-04-23 02:42:44 +00:00