From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29521 invoked by alias); 30 Apr 2013 09:40:29 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 29502 invoked by uid 9514); 30 Apr 2013 09:40:29 -0000 Date: Tue, 30 Apr 2013 09:40:00 -0000 Message-ID: <20130430094028.29412.qmail@sourceware.org> From: pmuldoon@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] pmuldoon/python-backtrace: Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace X-Git-Refname: refs/heads/pmuldoon/python-backtrace X-Git-Reftype: branch X-Git-Oldrev: 54585436d6c183677e19a08ade1ccc884dd47337 X-Git-Newrev: 8f43a4f73dff17b107d537a15c4a2a4690ad1d5a X-SW-Source: 2013-q2/txt/msg00048.txt.bz2 List-Id: The branch, pmuldoon/python-backtrace has been updated via 8f43a4f73dff17b107d537a15c4a2a4690ad1d5a (commit) via f07777f3d6fdeeb0bf54c3411bb9212cf2db8cca (commit) via 31c5013d4a2abb9e4bff9e46c0782daf7edd1fd7 (commit) via 0a9e8954b7385596ca4d650c3a9457cd94a9f0c3 (commit) via 842809252f742c8e84195742cfa8f8c8490d19a8 (commit) via 157e1b7c1618d417b1d980fd747a64b4dbd637d5 (commit) via b3115258ab45c340a5bcb74a821e6715d7c6c580 (commit) via ddabd64d2b6eef792b324de723f5a3de542c2145 (commit) via 1ef6af4459a5ed937df08728a316b5e77f9b5718 (commit) via cc173028ea3382ae3e4663f669221835e35a87d0 (commit) via 13773b30f16fb5c84903139b4018696d900284f3 (commit) via 7d9c6579c7a3041c73f4e4b161952480990c32a1 (commit) via 73a9ac437a8d796367b459e9f299228de48db46a (commit) via 5f84f6446697d2462a51977edff7523d6adc8af7 (commit) via 334e3f5577eda59dbb1547bad8a58a57cb8a2667 (commit) via 922f3816b2e61b8b496d5fbc1a45888f292a0734 (commit) via a770c2cf10da51a32de765b248f8c974620fbdea (commit) via 87a92a2b9ae99df3543a06f06697dc463db11d2a (commit) via 6c7bdada280a511749a750246b45c7200d1cb099 (commit) via 590909ea9631090e227a57ef7e7ef75ac39748fd (commit) via ca61fe229aa2e5c6c33fa60b28e68039bd6abf01 (commit) via aefc7d03c760358b9f048f0d0ef0d04f7cb79805 (commit) via 6330ab576e18fb97912839fc116c7babb5fd8c70 (commit) via ce8a701215fa121e038199d49a6054aac86ec7f6 (commit) via b9159f3f27c1d944eb546b31b43bec73b4f275ec (commit) via 41041102676146d1b4c1045e3475245e67c86eff (commit) via d6743957be0be6636ecd73ba454379bcf347a65f (commit) via 39fcd2fdc410efdf2356201b976f21c074b7bd65 (commit) via 6176274447234dcc9ebcb7e7aefe0cee8367d86c (commit) via ff7d34eae75e033cdd4cc39c2b19cc8659ff9acf (commit) via a0a7241421d97061b1e691cdf5657a24f3390c2c (commit) via 97106f3b3295e83abf1ab3dc3e3ce03dbdd0ff54 (commit) via 737ce405fa3dfce6f73d5028788d1dbc11c15655 (commit) via ad06d02eef76b374305e65e1c6c4d4a2c0c752eb (commit) via 056cef676aa35c35516932443545ad24aa0231cc (commit) via 9bf5cd53792ab6d5e0113d7c40cf10148fe614bb (commit) via eb0cef962ccce4c456e6fa87cfbc8f113eec4afb (commit) via d1debb56c4486497d184ac21c081f47c714f5f0f (commit) via ffc9246b7b8b1ba1c665ca8deb8c7a59dc129d1d (commit) via 032553c640bd155aa4fe35b0ff31879a1903f39d (commit) via 9969e593c6d5c36472dc999f322510bdf042f241 (commit) via 888cf48cd5de386c518fc6880280466b8bc58be2 (commit) via 0203b21844827c8cb09a1f01cd1ec2af6d77c140 (commit) via e40163f78b1c283325520ff1d2eec78cc06ef278 (commit) via 5cea280c6df6c447c2fb32d01e2b6e0a0d178a5f (commit) via e4e998fbc0c8ed7c45e322560711d38f38186c0b (commit) via 038edce9d30490ef69495290a8861085a458545f (commit) via c3a3c5fe4b9ba9dce63c2aa5e78a0729c33f49cd (commit) via de8259ea19c9457b0fcc9118d37a3ced3ddaf998 (commit) via a9c3a3df0662cb0ed15321000107c8c1aa768cdc (commit) via e72104afc5d23348fc23c206bc32235d4edf9e33 (commit) via 4a3e7d158ae4a2005ae20e77541152e52acc9582 (commit) via 0d7b8797a6206f8c706938448d6084c5fe9fdeb7 (commit) via 7a99bbbf485a85d27aacf5006139fe67eb35ac68 (commit) via 82110b496cd3e5c0d82796f85201ed8f587bfe4b (commit) via 6747612706d81d31b1673974537ed8dff22444ba (commit) via a1ccd4e4395a1215661f4dc88646514c53aeb0b9 (commit) via ceff6a55e34396c81009e9c93086e7fa84eb73ec (commit) via c8672d57d6e470057494b26e1a3c58d6b9e45ebe (commit) via dbd948e82e78b6c0cec97764b9efeafab21bdb3d (commit) via f2469987720df2d5333e2e46e72c0caa00b40817 (commit) from 54585436d6c183677e19a08ade1ccc884dd47337 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 8f43a4f73dff17b107d537a15c4a2a4690ad1d5a Merge: 5458543 f07777f Author: Phil Muldoon Date: Tue Apr 30 10:40:13 2013 +0100 Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace commit f07777f3d6fdeeb0bf54c3411bb9212cf2db8cca Author: tschwinge Date: Tue Apr 30 09:27:43 2013 +0000 2013-04-30 Samuel Thibault * i386gnu-nat.c (CREG_OFFSET): New macro. (creg_offset): New array. (CREG_ADDR): Use creg_offset instead of reg_offset. commit 31c5013d4a2abb9e4bff9e46c0782daf7edd1fd7 Author: Joel Brobecker Date: Tue Apr 30 08:28:54 2013 +0000 mep: define gdbarch_pc_regnum instead of gdbarch_write_pc. gdb/ChangeLog: * mep-tdep.c (mep_write_pc): Delete. (mep_gdbarch_init): Remove call to set_gdbarch_write_pc. Add call to set_gdbarch_pc_regnum. commit 0a9e8954b7385596ca4d650c3a9457cd94a9f0c3 Author: Joel Brobecker Date: Tue Apr 30 08:28:31 2013 +0000 Delete ChangeLog entry with no corresponding change in sources. This ChangeLog entry was the result of a result of botched commit which resulted in the ChangeLog update being checked in, while the actual code code itself did not make it to CVS. This patch deletes the entry in gdb/ChangeLog titled: mep: define gdbarch_pc_regnum instead of gdbarch_write_pc. commit 842809252f742c8e84195742cfa8f8c8490d19a8 Author: Joel Brobecker Date: Tue Apr 30 08:20:46 2013 +0000 filestuff.c: Include "gdb_dirent.h" instead of gdb/ChangeLog: * common/filestuff.c: Replace #include by #include "gdb_dirent.h". commit 157e1b7c1618d417b1d980fd747a64b4dbd637d5 Author: Joel Brobecker Date: Tue Apr 30 08:20:04 2013 +0000 filestuff.c: Use gdb_stat.h instead of gdb/ChangeLog: * common/filestuff.c: Replace #include by #include "gdb_stat.h". commit b3115258ab45c340a5bcb74a821e6715d7c6c580 Author: Alan Modra Date: Tue Apr 30 01:05:18 2013 +0000 * elflink.c (bfd_elf_record_link_assignment): Dont make STV_INTERNAL symbols STV_HIDDEN. commit ddabd64d2b6eef792b324de723f5a3de542c2145 Author: Alan Modra Date: Tue Apr 30 00:00:04 2013 +0000 daily update commit 1ef6af4459a5ed937df08728a316b5e77f9b5718 Author: gdbadmin Date: Tue Apr 30 00:00:02 2013 +0000 *** empty log message *** commit cc173028ea3382ae3e4663f669221835e35a87d0 Author: Tom Tromey Date: Mon Apr 29 17:32:43 2013 +0000 PR python/14204: * gdb.texinfo (Python API): Fix menu entry. (Blocks In Python): Fix subsubsection text. Rewrite intro. Define global and static block. Add example. Clarify block relationship for inline functions. commit 13773b30f16fb5c84903139b4018696d900284f3 Author: Tom Tromey Date: Mon Apr 29 17:30:26 2013 +0000 * gdb.texinfo (Python API): Mention Python help and keyword arguments. Move pagination text to Basic Python. (Basic Python): Put pagination text here. Document close-on-exec, SIGCHLD, and SIGINT. commit 7d9c6579c7a3041c73f4e4b161952480990c32a1 Author: Jan-Benedict Glaw Date: Mon Apr 29 15:13:52 2013 +0000 * config.guess: Update from config repo. * config.sub: Ditto. commit 73a9ac437a8d796367b459e9f299228de48db46a Author: Nick Clifton Date: Mon Apr 29 13:38:57 2013 +0000 * elflink.c (_bfd_elf_gc_mark_extra_sections): Remove mark from fragmented .debug_line sections associated with unmarked code sections. * dwarf.c (read_debug_line_header): New function. Reads in a header in a .debug_line section. (display_debug_lines_raw): Use new function. Handle fragmentary .debug_line sections. (display_debug_lines_decoded): Likewise. * readelf.c (process_section_headers): Handle fragmenatry .debug_line sections. (display_debug_section): Likewise. * as.c (Options): Add -gdwarf-sections. (parse_args): Likewise. * as.h (flag_dwarf_sections): Declare. * dwarf2dbg.c (emit_fixed_inc_line_addr): Skip section changes. (process_entries): When -gdwarf-sections is enabled generate fragmentary .debug_line sections. (out_debug_line): Set the section for the .debug_line section end symbol. * doc/as.texinfo: Document -gdwarf-sections. * NEWS: Mention -gdwarf-sections. * gas/elf/dwarf2-3.d: Fix expected readelf output. * scripttempl/DWARF.sc: Add support for .debug_line.* and .debug_line_end. commit 5f84f6446697d2462a51977edff7523d6adc8af7 Author: Joel Brobecker Date: Mon Apr 29 10:10:35 2013 +0000 mep: define gdbarch_pc_regnum instead of gdbarch_write_pc. gdb/ChangeLog: * mep-tdep.c (mep_write_pc): Delete. (mep_gdbarch_init): Remove call to set_gdbarch_write_pc. Add call to set_gdbarch_pc_regnum. commit 334e3f5577eda59dbb1547bad8a58a57cb8a2667 Author: Joel Brobecker Date: Mon Apr 29 10:08:45 2013 +0000 Use gdbarch_pc_regnum instead of gdbarch_write_pc. gdb/ChangeLog: * m32r-tdep.c (m32r_write_pc): Delete. (m32r_gdbarch_init): Remove call to set_gdbarch_write_pc. Add call to set_gdbarch_pc_regnum. commit 922f3816b2e61b8b496d5fbc1a45888f292a0734 Author: Pierre Muller Date: Mon Apr 29 09:52:07 2013 +0000 * dwarf2read.c (handle_DW_AT_stmt_list): Avoid ARI warning for editCase function rule. (get_DW_AT_signature_type): Likewise. commit a770c2cf10da51a32de765b248f8c974620fbdea Author: willnewton Date: Mon Apr 29 09:48:31 2013 +0000 bfd/efl32-arm.c: Fix handling of IRELATIVE relocs. bfd/ChangeLog: 2013-04-24 Will Newton * 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 * 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. commit 87a92a2b9ae99df3543a06f06697dc463db11d2a Author: Nick Clifton Date: Mon Apr 29 08:33:51 2013 +0000 * elf64-aarch64.c (elf64_aarch64_check_relocs): Move relocation error check up and add error message. commit 6c7bdada280a511749a750246b45c7200d1cb099 Author: Pierre Muller Date: Mon Apr 29 08:32:17 2013 +0000 * ./contrib/ari/gdb_ari.sh (editCase rule): Fix spelling error. commit 590909ea9631090e227a57ef7e7ef75ac39748fd Author: Joel Brobecker Date: Mon Apr 29 05:05:44 2013 +0000 Add ARI marker to get_DW_AT_signature_type. gdb/ChangeLog: * dwarf2read.c (get_DW_AT_signature_type): Add ARI marker. commit ca61fe229aa2e5c6c33fa60b28e68039bd6abf01 Author: Alan Modra Date: Mon Apr 29 00:00:04 2013 +0000 daily update commit aefc7d03c760358b9f048f0d0ef0d04f7cb79805 Author: gdbadmin Date: Mon Apr 29 00:00:02 2013 +0000 *** empty log message *** commit 6330ab576e18fb97912839fc116c7babb5fd8c70 Author: qiyao Date: Sun Apr 28 08:58:29 2013 +0000 gdb/ * solib-dsbt.c (fetch_loadmap): Re-indent. (displacement_from_map, enable_break2): Likewise. (dsbt_relocate_section_addresses): Likewise. commit ce8a701215fa121e038199d49a6054aac86ec7f6 Author: Alan Modra Date: Sun Apr 28 00:00:04 2013 +0000 daily update commit b9159f3f27c1d944eb546b31b43bec73b4f275ec Author: gdbadmin Date: Sun Apr 28 00:00:02 2013 +0000 *** empty log message *** commit 41041102676146d1b4c1045e3475245e67c86eff Author: gdbadmin Date: Sat Apr 27 00:00:32 2013 +0000 *** empty log message *** commit d6743957be0be6636ecd73ba454379bcf347a65f Author: Alan Modra Date: Sat Apr 27 00:00:05 2013 +0000 daily update commit 39fcd2fdc410efdf2356201b976f21c074b7bd65 Author: gdbadmin Date: Fri Apr 26 14:07:53 2013 +0000 GDB 7.6 released. commit 6176274447234dcc9ebcb7e7aefe0cee8367d86c Author: willnewton Date: Fri Apr 26 09:18:43 2013 +0000 Remove some dead code from elf64_aarch64_check_relocs. bfd/ChangeLog: 2013-04-25 Will Newton * elf64-aarch64.c (elf64_aarch64_check_relocs): Remove dead code. commit ff7d34eae75e033cdd4cc39c2b19cc8659ff9acf Author: Alan Modra Date: Fri Apr 26 00:00:03 2013 +0000 daily update commit a0a7241421d97061b1e691cdf5657a24f3390c2c Author: gdbadmin Date: Fri Apr 26 00:00:02 2013 +0000 *** empty log message *** ----------------------------------------------------------------------- Summary of changes: ChangeLog | 15 + Makefile.def | 2 +- Makefile.in | 18 +- bfd/ChangeLog | 60 + bfd/config.bfd | 5 +- bfd/ecoff.c | 6 +- bfd/elf-bfd.h | 8 +- bfd/elf32-arm.c | 2962 ++++++++++++++-------------- bfd/elf32-tic6x.c | 5 +- bfd/elf32-v850.c | 2 +- bfd/elf64-aarch64.c | 30 +- bfd/elflink.c | 61 +- bfd/version.h | 2 +- bfd/vms-alpha.c | 2 +- config.guess | 25 +- config.sub | 23 +- configure | 2 + configure.ac | 2 + gdb/ChangeLog | 161 ++ gdb/Makefile.in | 7 +- gdb/auto-load.c | 5 +- gdb/auxv.c | 3 +- gdb/breakpoint.c | 25 +- gdb/cli/cli-cmds.c | 3 + gdb/cli/cli-decode.c | 3 + gdb/cli/cli-dump.c | 3 +- gdb/common/agent.c | 3 +- gdb/common/filestuff.c | 372 ++++ gdb/common/filestuff.h | 60 + gdb/common/linux-osdata.c | 17 +- gdb/common/linux-procfs.c | 5 +- gdb/config.in | 9 +- gdb/configure | 5 +- gdb/configure.ac | 5 +- gdb/contrib/ari/gdb_ari.sh | 2 +- gdb/corelow.c | 3 +- gdb/doc/ChangeLog | 15 + gdb/doc/gdb.texinfo | 115 +- gdb/dwarf2read.c | 12 +- gdb/fork-child.c | 3 + gdb/gdb_bfd.c | 3 +- gdb/gdbserver/ChangeLog | 13 + gdb/gdbserver/Makefile.in | 8 +- gdb/gdbserver/ax.c | 1 + gdb/gdbserver/config.in | 6 + gdb/gdbserver/configure | 2 +- gdb/gdbserver/configure.ac | 2 +- gdb/i386gnu-nat.c | 15 +- gdb/inf-child.c | 3 +- gdb/linux-nat.c | 11 +- gdb/m32r-tdep.c | 8 +- gdb/main.c | 2 + gdb/mep-tdep.c | 9 +- gdb/remote-fileio.c | 3 +- gdb/remote-sim.c | 6 +- gdb/remote.c | 5 +- gdb/ser-pipe.c | 17 +- gdb/ser-tcp.c | 5 +- gdb/ser-unix.c | 3 +- gdb/solib-dsbt.c | 48 +- gdb/solib.c | 7 +- gdb/source.c | 7 +- gdb/testsuite/ChangeLog | 24 + gdb/testsuite/gdb.base/dprintf.exp | 4 +- gdb/testsuite/gdb.base/save-bp.exp | 5 +- gdb/testsuite/gdb.base/setshow.exp | 7 + gdb/testsuite/gdb.dwarf2/nostaticblock.exp | 59 + gdb/testsuite/gdb.gdb/selftest.exp | 4 + gdb/tracepoint.c | 5 +- gdb/tui/tui-io.c | 3 +- gdb/ui-file.c | 3 +- gdb/version.in | 2 +- gdb/xml-support.c | 5 +- libiberty/ChangeLog | 4 + libiberty/hashtab.c | 33 +- opcodes/ChangeLog | 5 + opcodes/nios2-opc.c | 2 +- 77 files changed, 2721 insertions(+), 1694 deletions(-) create mode 100644 gdb/common/filestuff.c create mode 100644 gdb/common/filestuff.h create mode 100644 gdb/testsuite/gdb.dwarf2/nostaticblock.exp First 500 lines of diff: diff --git a/ChangeLog b/ChangeLog index 07594a4..06c7d47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +2013-04-29 Jan-Benedict Glaw + + * config.guess: Update from config repo. + * config.sub: Ditto. + +2013-04-22 Jan-Benedict Glaw + + * Makefile.def: Sync with GCC. + * Makefile.in: Regenerate. + +2013-04-22 Jan-Benedict Glaw + + * configure.ac: Sync with GCC. + * configure: Regenerate. + 2013-03-22 Mike Frysinger * src-release (VER): Change bfd/configure.in sed to use the new diff --git a/Makefile.def b/Makefile.def index 1af7460..90d9653 100644 --- a/Makefile.def +++ b/Makefile.def @@ -138,7 +138,7 @@ target_modules = { module= libtermcap; no_check=true; missing=maintainer-clean; }; target_modules = { module= winsup; }; target_modules = { module= libgloss; no_check=true; }; -target_modules = { module= libffi; }; +target_modules = { module= libffi; no_install=true; }; target_modules = { module= libjava; raw_cxx=true; extra_configure_flags="$(EXTRA_CONFIGARGS_LIBJAVA)"; }; target_modules = { module= zlib; }; diff --git a/Makefile.in b/Makefile.in index 08049de..bfbaf03 100644 --- a/Makefile.in +++ b/Makefile.in @@ -38710,13 +38710,8 @@ maybe-install-target-libffi: @if target-libffi maybe-install-target-libffi: install-target-libffi -install-target-libffi: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libffi && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) +# Dummy target for uninstallable. +install-target-libffi: @endif target-libffi @@ -38725,13 +38720,8 @@ maybe-install-strip-target-libffi: @if target-libffi maybe-install-strip-target-libffi: install-strip-target-libffi -install-strip-target-libffi: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libffi && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) +# Dummy target for uninstallable. +install-strip-target-libffi: @endif target-libffi diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c8d5619..49e2e16 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,63 @@ +2013-04-30 Alan Modra + + * elflink.c (bfd_elf_record_link_assignment): Dont make + STV_INTERNAL symbols STV_HIDDEN. + +2013-04-29 Nick Clifton + + * elflink.c (_bfd_elf_gc_mark_extra_sections): Remove mark from + fragmented .debug_line sections associated with unmarked code + sections. + +2013-04-29 Will Newton + + * elf32-arm.c (elf32_arm_populate_plt_entry): Call + elf32_arm_add_dynreloc when emitting R_ARM_IRELATIVE relocs. + +2013-04-29 Will Newton + + * elf64-aarch64.c (elf64_aarch64_check_relocs): Move relocation + error check up and add error message. + +2013-04-26 Will Newton + + * elf64-aarch64.c (elf64_aarch64_check_relocs): Remove dead code. + +2013-04-25 Alan Modra + + * config.bfd: Add powerpc64le-linux. + +2013-04-24 H.J. Lu + + * config.bfd (targ_selvecs): Add bfd_elf32_x86_64_vec for + x86_64-*-elf*. + +2013-04-24 Roland McGrath + + * 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-19 Luca Pizzamiglio + + * ecoff.c (_bfd_ecoff_sizeof_headers): Cast the return value of + BFD_ALIGN to int. + * elf32-tic6x.c (elf32_tic6x_size_dynamic_sections): Remove unused + variables. + * elf32-v850.c (v850_elf_relax_section): Redefine the type of 'i' + to bfd_vma. + * vms-alpha.c (evax_bfd_print_etir): Initialize sec_len. + +2013-04-22 Alan Modra + + PR ld/15382 + * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Don't multiply + sh_size or reloc_count adjustment by count. + 2013-04-22 Alan Modra * elf64-ppc.c (ppc64_elf_check_relocs): Don't call diff --git a/bfd/config.bfd b/bfd/config.bfd index 10820e2..228e7c1 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -644,7 +644,7 @@ case "${targ}" in ;; x86_64-*-elf*) targ_defvec=bfd_elf64_x86_64_vec - targ_selvecs="bfd_elf32_i386_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec i386coff_vec" + targ_selvecs="bfd_elf32_i386_vec bfd_elf32_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec" want64=true ;; x86_64-*-dragonfly*) @@ -1242,7 +1242,8 @@ case "${targ}" in targ_selvecs="bfd_elf64_powerpcle_vec bfd_elf32_powerpc_vec bfd_elf32_powerpcle_vec rs6000coff_vec rs6000coff64_vec aix5coff64_vec" want64=true ;; - powerpc64le-*-elf* | powerpcle-*-elf64*) + powerpc64le-*-elf* | powerpcle-*-elf64* | powerpc64le-*-linux* | \ + powerpc64le-*-*bsd*) targ_defvec=bfd_elf64_powerpcle_vec targ_selvecs="bfd_elf64_powerpc_vec bfd_elf32_powerpcle_vec bfd_elf32_powerpc_vec rs6000coff_vec rs6000coff64_vec aix5coff64_vec" want64=true diff --git a/bfd/ecoff.c b/bfd/ecoff.c index eaf8ada..5add50c 100644 --- a/bfd/ecoff.c +++ b/bfd/ecoff.c @@ -1,7 +1,5 @@ /* Generic ECOFF (Extended-COFF) routines. - Copyright 1990, 1991, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, - 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 - Free Software Foundation, Inc. + Copyright 1990-2013 Free Software Foundation, Inc. Original version by Per Bothner. Full support added by Ian Lance Taylor, ian@cygnus.com. @@ -1888,7 +1886,7 @@ _bfd_ecoff_sizeof_headers (bfd *abfd, ret = (bfd_coff_filhsz (abfd) + bfd_coff_aoutsz (abfd) + c * bfd_coff_scnhsz (abfd)); - return BFD_ALIGN (ret, 16); + return (int) BFD_ALIGN (ret, 16); } /* Get the contents of a section. */ diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 3b4bd6f..b643dbc 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -2497,16 +2497,16 @@ extern asection _bfd_elf_large_com_section; rel_hdr = _bfd_elf_single_rel_hdr (input_section->output_section); \ \ /* Avoid empty output section. */ \ - if (rel_hdr->sh_size > count * rel_hdr->sh_entsize) \ + if (rel_hdr->sh_size > rel_hdr->sh_entsize) \ { \ - rel_hdr->sh_size -= count * rel_hdr->sh_entsize; \ + rel_hdr->sh_size -= rel_hdr->sh_entsize; \ rel_hdr = _bfd_elf_single_rel_hdr (input_section); \ - rel_hdr->sh_size -= count * rel_hdr->sh_entsize; \ + rel_hdr->sh_size -= rel_hdr->sh_entsize; \ \ memmove (rel, rel + count, \ (relend - rel - count) * sizeof (*rel)); \ \ - input_section->reloc_count -= count; \ + input_section->reloc_count--; \ relend -= count; \ rel--; \ continue; \ diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index 9fff630..2ed4741 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -1,6 +1,6 @@ /* 32-bit ELF support for ARM Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, - 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. + 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -327,160 +327,160 @@ static reloc_howto_type elf32_arm_howto_table_1[] = /* Dynamic TLS relocations. */ HOWTO (R_ARM_TLS_DTPMOD32, /* type */ - 0, /* rightshift */ - 2, /* size (0 = byte, 1 = short, 2 = long) */ - 32, /* bitsize */ - FALSE, /* pc_relative */ - 0, /* bitpos */ - complain_overflow_bitfield,/* complain_on_overflow */ - bfd_elf_generic_reloc, /* special_function */ - "R_ARM_TLS_DTPMOD32", /* name */ - TRUE, /* partial_inplace */ - 0xffffffff, /* src_mask */ - 0xffffffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + 0, /* rightshift */ + 2, /* size (0 = byte, 1 = short, 2 = long) */ + 32, /* bitsize */ + FALSE, /* pc_relative */ + 0, /* bitpos */ + complain_overflow_bitfield,/* complain_on_overflow */ + bfd_elf_generic_reloc, /* special_function */ + "R_ARM_TLS_DTPMOD32", /* name */ + TRUE, /* partial_inplace */ + 0xffffffff, /* src_mask */ + 0xffffffff, /* dst_mask */ + FALSE), /* pcrel_offset */ HOWTO (R_ARM_TLS_DTPOFF32, /* type */ - 0, /* rightshift */ - 2, /* size (0 = byte, 1 = short, 2 = long) */ - 32, /* bitsize */ - FALSE, /* pc_relative */ - 0, /* bitpos */ - complain_overflow_bitfield,/* complain_on_overflow */ - bfd_elf_generic_reloc, /* special_function */ - "R_ARM_TLS_DTPOFF32", /* name */ - TRUE, /* partial_inplace */ - 0xffffffff, /* src_mask */ - 0xffffffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + 0, /* rightshift */ + 2, /* size (0 = byte, 1 = short, 2 = long) */ + 32, /* bitsize */ + FALSE, /* pc_relative */ + 0, /* bitpos */ + complain_overflow_bitfield,/* complain_on_overflow */ + bfd_elf_generic_reloc, /* special_function */ + "R_ARM_TLS_DTPOFF32", /* name */ + TRUE, /* partial_inplace */ + 0xffffffff, /* src_mask */ + 0xffffffff, /* dst_mask */ + FALSE), /* pcrel_offset */ HOWTO (R_ARM_TLS_TPOFF32, /* type */ - 0, /* rightshift */ - 2, /* size (0 = byte, 1 = short, 2 = long) */ - 32, /* bitsize */ - FALSE, /* pc_relative */ - 0, /* bitpos */ - complain_overflow_bitfield,/* complain_on_overflow */ - bfd_elf_generic_reloc, /* special_function */ - "R_ARM_TLS_TPOFF32", /* name */ - TRUE, /* partial_inplace */ - 0xffffffff, /* src_mask */ - 0xffffffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + 0, /* rightshift */ + 2, /* size (0 = byte, 1 = short, 2 = long) */ + 32, /* bitsize */ + FALSE, /* pc_relative */ + 0, /* bitpos */ + complain_overflow_bitfield,/* complain_on_overflow */ + bfd_elf_generic_reloc, /* special_function */ + "R_ARM_TLS_TPOFF32", /* name */ + TRUE, /* partial_inplace */ + 0xffffffff, /* src_mask */ + 0xffffffff, /* dst_mask */ + FALSE), /* pcrel_offset */ /* Relocs used in ARM Linux */ HOWTO (R_ARM_COPY, /* type */ - 0, /* rightshift */ - 2, /* size (0 = byte, 1 = short, 2 = long) */ - 32, /* bitsize */ - FALSE, /* pc_relative */ - 0, /* bitpos */ - complain_overflow_bitfield,/* complain_on_overflow */ - bfd_elf_generic_reloc, /* special_function */ - "R_ARM_COPY", /* name */ - TRUE, /* partial_inplace */ - 0xffffffff, /* src_mask */ - 0xffffffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + 0, /* rightshift */ + 2, /* size (0 = byte, 1 = short, 2 = long) */ + 32, /* bitsize */ + FALSE, /* pc_relative */ + 0, /* bitpos */ + complain_overflow_bitfield,/* complain_on_overflow */ + bfd_elf_generic_reloc, /* special_function */ + "R_ARM_COPY", /* name */ + TRUE, /* partial_inplace */ + 0xffffffff, /* src_mask */ + 0xffffffff, /* dst_mask */ + FALSE), /* pcrel_offset */ HOWTO (R_ARM_GLOB_DAT, /* type */ - 0, /* rightshift */ - 2, /* size (0 = byte, 1 = short, 2 = long) */ - 32, /* bitsize */ - FALSE, /* pc_relative */ - 0, /* bitpos */ - complain_overflow_bitfield,/* complain_on_overflow */ - bfd_elf_generic_reloc, /* special_function */ - "R_ARM_GLOB_DAT", /* name */ - TRUE, /* partial_inplace */ - 0xffffffff, /* src_mask */ - 0xffffffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + 0, /* rightshift */ + 2, /* size (0 = byte, 1 = short, 2 = long) */ + 32, /* bitsize */ + FALSE, /* pc_relative */ + 0, /* bitpos */ + complain_overflow_bitfield,/* complain_on_overflow */ + bfd_elf_generic_reloc, /* special_function */ + "R_ARM_GLOB_DAT", /* name */ + TRUE, /* partial_inplace */ + 0xffffffff, /* src_mask */ + 0xffffffff, /* dst_mask */ + FALSE), /* pcrel_offset */ HOWTO (R_ARM_JUMP_SLOT, /* type */ - 0, /* rightshift */ - 2, /* size (0 = byte, 1 = short, 2 = long) */ - 32, /* bitsize */ - FALSE, /* pc_relative */ - 0, /* bitpos */ - complain_overflow_bitfield,/* complain_on_overflow */ - bfd_elf_generic_reloc, /* special_function */ - "R_ARM_JUMP_SLOT", /* name */ - TRUE, /* partial_inplace */ - 0xffffffff, /* src_mask */ - 0xffffffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + 0, /* rightshift */ + 2, /* size (0 = byte, 1 = short, 2 = long) */ + 32, /* bitsize */ + FALSE, /* pc_relative */ + 0, /* bitpos */ + complain_overflow_bitfield,/* complain_on_overflow */ + bfd_elf_generic_reloc, /* special_function */ + "R_ARM_JUMP_SLOT", /* name */ + TRUE, /* partial_inplace */ + 0xffffffff, /* src_mask */ + 0xffffffff, /* dst_mask */ + FALSE), /* pcrel_offset */ HOWTO (R_ARM_RELATIVE, /* type */ - 0, /* rightshift */ - 2, /* size (0 = byte, 1 = short, 2 = long) */ - 32, /* bitsize */ - FALSE, /* pc_relative */ - 0, /* bitpos */ - complain_overflow_bitfield,/* complain_on_overflow */ - bfd_elf_generic_reloc, /* special_function */ - "R_ARM_RELATIVE", /* name */ - TRUE, /* partial_inplace */ - 0xffffffff, /* src_mask */ - 0xffffffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + 0, /* rightshift */ + 2, /* size (0 = byte, 1 = short, 2 = long) */ + 32, /* bitsize */ + FALSE, /* pc_relative */ + 0, /* bitpos */ + complain_overflow_bitfield,/* complain_on_overflow */ + bfd_elf_generic_reloc, /* special_function */ + "R_ARM_RELATIVE", /* name */ + TRUE, /* partial_inplace */ + 0xffffffff, /* src_mask */ + 0xffffffff, /* dst_mask */ + FALSE), /* pcrel_offset */ HOWTO (R_ARM_GOTOFF32, /* type */ - 0, /* rightshift */ - 2, /* size (0 = byte, 1 = short, 2 = long) */ - 32, /* bitsize */ - FALSE, /* pc_relative */ - 0, /* bitpos */ - complain_overflow_bitfield,/* complain_on_overflow */ - bfd_elf_generic_reloc, /* special_function */ - "R_ARM_GOTOFF32", /* name */ - TRUE, /* partial_inplace */ - 0xffffffff, /* src_mask */ - 0xffffffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + 0, /* rightshift */ + 2, /* size (0 = byte, 1 = short, 2 = long) */ + 32, /* bitsize */ + FALSE, /* pc_relative */ + 0, /* bitpos */ + complain_overflow_bitfield,/* complain_on_overflow */ + bfd_elf_generic_reloc, /* special_function */ + "R_ARM_GOTOFF32", /* name */ + TRUE, /* partial_inplace */ + 0xffffffff, /* src_mask */ + 0xffffffff, /* dst_mask */ + FALSE), /* pcrel_offset */ HOWTO (R_ARM_GOTPC, /* type */ - 0, /* rightshift */ - 2, /* size (0 = byte, 1 = short, 2 = long) */ - 32, /* bitsize */ - TRUE, /* pc_relative */ - 0, /* bitpos */ - complain_overflow_bitfield,/* complain_on_overflow */ - bfd_elf_generic_reloc, /* special_function */ - "R_ARM_GOTPC", /* name */ - TRUE, /* partial_inplace */ - 0xffffffff, /* src_mask */ - 0xffffffff, /* dst_mask */ - TRUE), /* pcrel_offset */ + 0, /* rightshift */ + 2, /* size (0 = byte, 1 = short, 2 = long) */ + 32, /* bitsize */ + TRUE, /* pc_relative */ + 0, /* bitpos */ + complain_overflow_bitfield,/* complain_on_overflow */ + bfd_elf_generic_reloc, /* special_function */ + "R_ARM_GOTPC", /* name */ + TRUE, /* partial_inplace */ + 0xffffffff, /* src_mask */ + 0xffffffff, /* dst_mask */ + TRUE), /* pcrel_offset */ HOWTO (R_ARM_GOT32, /* type */ - 0, /* rightshift */ - 2, /* size (0 = byte, 1 = short, 2 = long) */ - 32, /* bitsize */ - FALSE, /* pc_relative */ - 0, /* bitpos */ - complain_overflow_bitfield,/* complain_on_overflow */ - bfd_elf_generic_reloc, /* special_function */ - "R_ARM_GOT32", /* name */ - TRUE, /* partial_inplace */ - 0xffffffff, /* src_mask */ - 0xffffffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + 0, /* rightshift */ + 2, /* size (0 = byte, 1 = short, 2 = long) */ + 32, /* bitsize */ + FALSE, /* pc_relative */ + 0, /* bitpos */ + complain_overflow_bitfield,/* complain_on_overflow */ + bfd_elf_generic_reloc, /* special_function */ + "R_ARM_GOT32", /* name */ + TRUE, /* partial_inplace */ + 0xffffffff, /* src_mask */ + 0xffffffff, /* dst_mask */ + FALSE), /* pcrel_offset */ HOWTO (R_ARM_PLT32, /* type */ - 2, /* rightshift */ - 2, /* size (0 = byte, 1 = short, 2 = long) */ - 24, /* bitsize */ - TRUE, /* pc_relative */ - 0, /* bitpos */ - complain_overflow_bitfield,/* complain_on_overflow */ - bfd_elf_generic_reloc, /* special_function */ - "R_ARM_PLT32", /* name */ - FALSE, /* partial_inplace */ - 0x00ffffff, /* src_mask */ - 0x00ffffff, /* dst_mask */ - TRUE), /* pcrel_offset */ hooks/post-receive -- Repository for Project Archer.