From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14015 invoked by alias); 4 May 2011 20:47:44 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 13955 invoked by uid 9105); 4 May 2011 20:47:42 -0000 Date: Wed, 04 May 2011 20:47:00 -0000 Message-ID: <20110504204742.13939.qmail@sourceware.org> From: muller@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] master: Merge remote-tracking branch 'gdb/master' X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: da90f7a7481c546ed7f6bf3ff4481e1302c8bfc3 X-Git-Newrev: b11dc55ba87159d7404f5e11c9e34bea812ce13c X-SW-Source: 2011-q2/txt/msg00033.txt.bz2 List-Id: The branch, master has been updated via b11dc55ba87159d7404f5e11c9e34bea812ce13c (commit) via 233f6db9119d3852d0550dc4080dc68934345dc0 (commit) via 2b4bdd8696da9d818a71b839686de2a2904b82bf (commit) via b6c38600715751c2bc9a60659f901fbba27c6f73 (commit) via 3a99a7db8e6068772102ed2d5818a8b46ab6de3e (commit) via b6dfa69515e72a82cf0cb74f70da9cbf3d489d2e (commit) via 05642c64a1206af4fed1dcff88c50f61d7657b13 (commit) via 3734354451a8c9050b1d5e62dd4d215a6ef9a385 (commit) via 7800072fa9138db303def1546007e6013378e3ab (commit) via b16f42cdb2f0c28fe2735849a44d0e06a7cbe1a6 (commit) via da5a9b57268764fe81be52c0a747a07be226abce (commit) via fa395667a13178f15db18814669f58f841bd6f75 (commit) via 6532d3db17861734118559b6aa1d7690700f2732 (commit) via b7747afd1472606c9190fc80ed32dfdb199db44a (commit) via d7927b0eff090cd268145cac5591a6972fd585a0 (commit) via 5ede405eb3bb73a836644ec9b18f67ee8e2bf712 (commit) via e077f5fc21d5aee12653bccefe602c72f6244986 (commit) via eb320173daf9c9d25cafbb99b98da18358190a7a (commit) via 16c78188bbbcdd7859afcba657b6d516ac0dc72f (commit) via 58ed5f6a8ea709908b966a21af8b19d3c3b44877 (commit) via 8682a2e7fc6a00137ccd3261b8f2f64f85d7c6f8 (commit) via b5fc04f82affb2c6f45f9b72b599f31b5f865109 (commit) via 2631df3ef77ad1a0dfd1fe4cad4e8f9815d6b84d (commit) via b222b492342f7e954f6697ea495e788cad8d7e64 (commit) via b6762f0b66cbb92bdec7ce381f401c07a019bfd8 (commit) via e46a5990b2ebf1a707d0c8af7fe42775d1daa9cd (commit) via 6dedabb79b8c5326fb38bd6650ba2e56435e799b (commit) via 9624c5b5f8087c2b72d73e5413069500162f5dfd (commit) via ddaaf54193ce0479236ea7d6b69f66e7c1590b9d (commit) via ad452a5bde3aa983d823a233d1ad5d2cfa6abefb (commit) via d1e5bb5655c110287bc35e33999273f96f817051 (commit) from da90f7a7481c546ed7f6bf3ff4481e1302c8bfc3 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit b11dc55ba87159d7404f5e11c9e34bea812ce13c Merge: eb32017 233f6db Author: Pierre Muller Date: Wed May 4 22:46:54 2011 +0200 Merge remote-tracking branch 'gdb/master' commit 233f6db9119d3852d0550dc4080dc68934345dc0 Author: Doug Evans Date: Wed May 4 20:20:12 2011 +0000 * linux-low.c (linux_join): Skip process lookup. * spu-low.c (spu_join): Ditto. * server.c (join_inferiors_callback): Delete. (process_serial_event): For 'D' packet (detach) call join_inferior directly. commit 2b4bdd8696da9d818a71b839686de2a2904b82bf Author: Joseph Myers Date: Wed May 4 19:28:11 2011 +0000 gdb: * configure.host (xscale*): Don't handle target. * configure.tgt (thumb*-*-* | strongarm*-*-* | xscale-*-*): Don't handle targets. gdb/gdbserver: * README: Don't mention xscale*-*-linux*. * configure.srv (xscale*-*-linux*): Don't handle target. gdb/testsuite: * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target. * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle targets. * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't handle targets. sim: * configure.tgt (thumb*-*-* | strongarm*-*-* | xscale-*-*): Don't handle targets. * configure: Regenerate. sim/testsuite: * configure: Regenerate. * sim/arm/allinsn.exp (xscale*-*-*): Don't handle target. * sim/arm/misc.exp (thumb*-*-*, xscale*-*-*): Don't handle targets. * sim/arm/iwmmxt/iwmmxt.exp: Test for arm*-*-* instead of xscale*-*-*. * sim/arm/thumb/allthumb.exp (thumb*-*-*): Don't handle target. * sim/arm/xscale/xscale.exp: Test for arm*-*-* instead of xscale*-*-*. commit b6c38600715751c2bc9a60659f901fbba27c6f73 Author: Jan Kratochvil Date: Wed May 4 14:46:17 2011 +0000 gdb/testsuite/ * gdb.base/completion.exp (complete help info wat): Rename to ... (complete 'help info wat'): ... here. Remove all `-re ".*' and `-re "^.*' redundant regexes. (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash. commit 3a99a7db8e6068772102ed2d5818a8b46ab6de3e Author: Pedro Alves Date: Wed May 4 14:40:42 2011 +0000 2011-05-04 Pedro Alves * gdb.base/completion.exp: Use gdb_test_multiple instead of gdb_test and explicit $gdb_prompt/timeout matches. commit b6dfa69515e72a82cf0cb74f70da9cbf3d489d2e Author: Tristan Gingold Date: Wed May 4 11:05:13 2011 +0000 include/coff 2011-05-04 Tristan Gingold * rs6000.h (union external_auxent): Add x_ftype field. * rs6k64.h: (struct external_auxent): Remap x_file field. bfd/ 2011-04-28 Tristan Gingold * coff-rs6000.c (_bfd_xcoff_swap_aux_in): Adjust for x_file. (bfd_xcoff_swap_aux_out): Ditto. * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Ditto. (bfd_xcoff64_swap_aux_out): Ditto. commit 05642c64a1206af4fed1dcff88c50f61d7657b13 Author: Joseph Myers Date: Wed May 4 09:51:31 2011 +0000 * configure.ac: Separate libgloss_dir settings from general case over targets. * configure: Regenerate. commit 3734354451a8c9050b1d5e62dd4d215a6ef9a385 Author: Tristan Gingold Date: Wed May 4 06:53:38 2011 +0000 2011-05-04 Tristan Gingold * rs6000.h (struct external_exceptab): New struct. (EXCEPTSZ): New macro. * rs6k64.h: (struct external_exceptab): New struct. (EXCEPTSZ): New macro. commit 7800072fa9138db303def1546007e6013378e3ab Author: qiyao Date: Wed May 4 06:40:27 2011 +0000 2011-05-04 Yao Qi * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__ and __thumb2__. commit b16f42cdb2f0c28fe2735849a44d0e06a7cbe1a6 Author: qiyao Date: Wed May 4 06:28:41 2011 +0000 2011-05-04 Yao Qi * gdb_wait.h: remove WAITTYPE and WCOREDUMP. commit da5a9b57268764fe81be52c0a747a07be226abce Author: Alan Modra Date: Wed May 4 00:31:38 2011 +0000 PR ld/12727 * elf64-ppc.c (ppc_build_one_stub ): Clear was_undefined on dot-symbols. commit fa395667a13178f15db18814669f58f841bd6f75 Author: gdbadmin Date: Wed May 4 00:00:32 2011 +0000 *** empty log message *** commit 6532d3db17861734118559b6aa1d7690700f2732 Author: Alan Modra Date: Wed May 4 00:00:08 2011 +0000 daily update commit b7747afd1472606c9190fc80ed32dfdb199db44a Author: mpolacek Date: Tue May 3 18:01:59 2011 +0000 Fix races in gdb.base/pr10179.exp. commit d7927b0eff090cd268145cac5591a6972fd585a0 Author: Joel Brobecker Date: Tue May 3 16:22:34 2011 +0000 Revert "elfread.c (elf_symtab_read): Stop memory leak" It turns out that this change is not correct, and it causes a crash on sparc-solaris while trying to load ld.so. This is because the memory is actually still referenced after elf_symtab_read completes. gdb/ChangeLog: * elfread.c (elf_symtab_read): Revert the previous change that tried to stop a memory leak. commit 5ede405eb3bb73a836644ec9b18f67ee8e2bf712 Author: Joel Brobecker Date: Tue May 3 15:18:10 2011 +0000 Fix uses of litteral `GDB' in `In Memoriam' appendix. @value{GDBN} should be used in place of GDB, so this patch fixes it. gdb/doc/ChangeLog: * gdb.texinfo (In Memoriam): Replace litteral uses of `GDB' with `@value{GDBN}'. commit e077f5fc21d5aee12653bccefe602c72f6244986 Author: Joel Brobecker Date: Tue May 3 15:09:00 2011 +0000 new `In Memoriam' appendix in GDB Manual This change removes the dedication of the manual to Fred Fish. It also creates a new `In Memoriam' appendix, where Fred Fish and Michael Snyder are mentioned. gdb/doc/ChangeLog: * gdb.texinfo (titlepage): Remove dedication. (In Memoriam): New appendix. commit eb320173daf9c9d25cafbb99b98da18358190a7a Merge: da90f7a 16c7818 Author: Pierre Muller Date: Tue May 3 15:06:50 2011 +0200 Merge remote-tracking branch 'gdb/master' commit 16c78188bbbcdd7859afcba657b6d516ac0dc72f Author: Paul Brook Date: Tue May 3 11:17:18 2011 +0000 2011-05-03 Paul Brook bfd/ * elf32-tic6x.c (elf32_tic6x_howto_table, elf32_tic6x_howto_table_rel, (elf32_tic6x_gc_sweep_hook, elf32_tic6x_relocate_section, elf32_tic6x_check_relocs): Add R_C6000_EHTYPE. gas/ * config/tc-tic6x.c (s_ehtype): New function. (md_pseudo_table): Add "ehtype". (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE. * doc/c-tic6x.texi: Document .ehtype directive. ld/testsuite/ * ld-tic6x/ehtype-reloc-1-rel.d: New test. * ld-tic6x/ehtype-reloc-1.d: New test. * ld-tic6x/ehtype-reloc-1.s: New test. commit 58ed5f6a8ea709908b966a21af8b19d3c3b44877 Author: Tristan Gingold Date: Tue May 3 09:21:05 2011 +0000 2011-05-03 Tristan Gingold * rs6000.h (struct external_ldsym): Use E_SYMNMLEN instead of SYMNMLEN. commit 8682a2e7fc6a00137ccd3261b8f2f64f85d7c6f8 Author: Pierre Muller Date: Tue May 3 08:46:04 2011 +0000 * nto-tdep.c (nto_target): Replace deprecated call to cygwin_conv_to_posix_path functions by cygwin_conv_path calls. commit b5fc04f82affb2c6f45f9b72b599f31b5f865109 Author: Jan Kratochvil Date: Tue May 3 07:29:14 2011 +0000 gdb/ Fix false GCC warning. * breakpoint.c (do_enable_breakpoint): Initialize orig_enable_state. commit 2631df3ef77ad1a0dfd1fe4cad4e8f9815d6b84d Author: Thiago Jung Bauermann Date: Tue May 3 05:02:48 2011 +0000 * breakpoint.c (update_watchpoint): Move code to change the enable state of breakpoint from here ... (do_enable_breakpoint): ... to here. commit b222b492342f7e954f6697ea495e788cad8d7e64 Author: Alan Modra Date: Tue May 3 00:00:06 2011 +0000 daily update commit b6762f0b66cbb92bdec7ce381f401c07a019bfd8 Author: gdbadmin Date: Tue May 3 00:00:03 2011 +0000 *** empty log message *** commit e46a5990b2ebf1a707d0c8af7fe42775d1daa9cd Author: Pedro Alves Date: Mon May 2 17:52:28 2011 +0000 2011-05-02 Pedro Alves PR testsuite/12649 Fix races. * gdb.base/completion.exp: Remove all sleep calls. Remove unnecessary regexs. Don't explicitly expect anything after the prompt. Eat the prompt if necessary. commit 6dedabb79b8c5326fb38bd6650ba2e56435e799b Author: emachado Date: Mon May 2 17:07:10 2011 +0000 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to accept to show the caller line again as well as the line after. commit 9624c5b5f8087c2b72d73e5413069500162f5dfd Author: Paul Pluzhnikov Date: Mon May 2 00:21:28 2011 +0000 Properly TABify ChangeLog; take 2 commit ddaaf54193ce0479236ea7d6b69f66e7c1590b9d Author: Paul Pluzhnikov Date: Mon May 2 00:18:41 2011 +0000 Properly TABify ChangeLog commit ad452a5bde3aa983d823a233d1ad5d2cfa6abefb Author: gdbadmin Date: Mon May 2 00:00:33 2011 +0000 *** empty log message *** commit d1e5bb5655c110287bc35e33999273f96f817051 Author: Alan Modra Date: Mon May 2 00:00:05 2011 +0000 daily update ----------------------------------------------------------------------- Summary of changes: ChangeLog | 6 + bfd/ChangeLog | 21 + bfd/coff-rs6000.c | 15 +- bfd/coff64-rs6000.c | 14 +- bfd/elf32-tic6x.c | 31 +- bfd/elf64-ppc.c | 2 + bfd/version.h | 2 +- configure | 51 ++- configure.ac | 51 ++- gdb/ChangeLog | 160 ++++--- gdb/breakpoint.c | 14 +- gdb/configure.host | 1 - gdb/configure.tgt | 2 +- gdb/doc/ChangeLog | 10 + gdb/doc/gdb.texinfo | 26 +- gdb/elfread.c | 3 - gdb/gdb_wait.h | 6 - gdb/gdbserver/ChangeLog | 13 + gdb/gdbserver/README | 1 - gdb/gdbserver/configure.srv | 5 - gdb/gdbserver/linux-low.c | 5 - gdb/gdbserver/server.c | 14 +- gdb/gdbserver/spu-low.c | 5 - gdb/nto-tdep.c | 4 +- gdb/testsuite/ChangeLog | 45 ++ gdb/testsuite/gdb.arch/arm-disp-step.S | 12 +- gdb/testsuite/gdb.base/a2-run.exp | 6 +- gdb/testsuite/gdb.base/completion.exp | 857 ++++++++++++------------------ gdb/testsuite/gdb.base/float.exp | 4 +- gdb/testsuite/gdb.base/long_long.exp | 4 +- gdb/testsuite/gdb.base/pr10179.exp | 4 +- gdb/testsuite/gdb.opt/inline-cmds.exp | 25 +- gdb/version.in | 2 +- include/coff/ChangeLog | 17 + include/coff/rs6000.h | 31 +- include/coff/rs6k64.h | 32 +- sim/ChangeLog | 6 + sim/configure | 2 +- sim/configure.tgt | 2 +- sim/testsuite/ChangeLog | 12 + sim/testsuite/configure | 5 +- sim/testsuite/sim/arm/allinsn.exp | 2 +- sim/testsuite/sim/arm/iwmmxt/iwmmxt.exp | 2 +- sim/testsuite/sim/arm/misc.exp | 2 +- sim/testsuite/sim/arm/thumb/allthumb.exp | 3 +- sim/testsuite/sim/arm/xscale/xscale.exp | 2 +- 46 files changed, 803 insertions(+), 736 deletions(-) First 500 lines of diff: diff --git a/ChangeLog b/ChangeLog index d63c273..c61b8d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-05-04 Joseph Myers + + * configure.ac: Separate libgloss_dir settings from general case + over targets. + * configure: Regenerate. + 2011-04-28 Joseph Myers * configure.ac (*-*-dragonfly*, *-*-freebsd*, *-*-netbsd*, diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4d155cd..7af29f0 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,24 @@ +2011-04-28 Tristan Gingold + + * coff-rs6000.c (_bfd_xcoff_swap_aux_in): Adjust for x_file. + (bfd_xcoff_swap_aux_out): Ditto. + * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Ditto. + (bfd_xcoff64_swap_aux_out): Ditto. + +2011-05-04 Alan Modra + + PR ld/12727 + * elf64-ppc.c (ppc_build_one_stub ): Clear + was_undefined on dot-symbols. + +2011-05-03 Paul Brook + + + * elf32-tic6x.c (elf32_tic6x_howto_table, + elf32_tic6x_howto_table_rel, (elf32_tic6x_gc_sweep_hook, + elf32_tic6x_relocate_section, elf32_tic6x_check_relocs): + Add R_C6000_EHTYPE. + 2011-05-01 Alan Modra PR ld/12718 diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c index 41bec09..21da658 100644 --- a/bfd/coff-rs6000.c +++ b/bfd/coff-rs6000.c @@ -463,23 +463,23 @@ _bfd_xcoff_swap_aux_in (bfd *abfd, PTR ext1, int type, int in_class, switch (in_class) { case C_FILE: - if (ext->x_file.x_fname[0] == 0) + if (ext->x_file.x_n.x_fname[0] == 0) { in->x_file.x_n.x_zeroes = 0; in->x_file.x_n.x_offset = - H_GET_32 (abfd, ext->x_file.x_n.x_offset); + H_GET_32 (abfd, ext->x_file.x_n.x_n.x_offset); } else { if (numaux > 1) { if (indx == 0) - memcpy (in->x_file.x_fname, ext->x_file.x_fname, + memcpy (in->x_file.x_fname, ext->x_file.x_n.x_fname, numaux * sizeof (AUXENT)); } else { - memcpy (in->x_file.x_fname, ext->x_file.x_fname, FILNMLEN); + memcpy (in->x_file.x_fname, ext->x_file.x_n.x_fname, FILNMLEN); } } goto end; @@ -578,12 +578,13 @@ _bfd_xcoff_swap_aux_out (bfd *abfd, PTR inp, int type, int in_class, case C_FILE: if (in->x_file.x_fname[0] == 0) { - H_PUT_32 (abfd, 0, ext->x_file.x_n.x_zeroes); - H_PUT_32 (abfd, in->x_file.x_n.x_offset, ext->x_file.x_n.x_offset); + H_PUT_32 (abfd, 0, ext->x_file.x_n.x_n.x_zeroes); + H_PUT_32 (abfd, in->x_file.x_n.x_offset, + ext->x_file.x_n.x_n.x_offset); } else { - memcpy (ext->x_file.x_fname, in->x_file.x_fname, FILNMLEN); + memcpy (ext->x_file.x_n.x_fname, in->x_file.x_fname, FILNMLEN); } goto end; diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c index cb2f1cc..1887bb9 100644 --- a/bfd/coff64-rs6000.c +++ b/bfd/coff64-rs6000.c @@ -353,14 +353,15 @@ _bfd_xcoff64_swap_aux_in (bfd *abfd, void *ext1, int type, int in_class, switch (in_class) { case C_FILE: - if (ext->x_file.x_n.x_zeroes[0] == 0) + if (ext->x_file.x_n.x_n.x_zeroes[0] == 0) { in->x_file.x_n.x_zeroes = 0; - in->x_file.x_n.x_offset = H_GET_32 (abfd, ext->x_file.x_n.x_offset); + in->x_file.x_n.x_offset = + H_GET_32 (abfd, ext->x_file.x_n.x_n.x_offset); } else { - memcpy (in->x_file.x_fname, ext->x_file.x_fname, FILNMLEN); + memcpy (in->x_file.x_fname, ext->x_file.x_n.x_fname, FILNMLEN); } goto end; @@ -444,12 +445,13 @@ _bfd_xcoff64_swap_aux_out (bfd *abfd, void *inp, int type, int in_class, case C_FILE: if (in->x_file.x_n.x_zeroes == 0) { - H_PUT_32 (abfd, 0, ext->x_file.x_n.x_zeroes); - H_PUT_32 (abfd, in->x_file.x_n.x_offset, ext->x_file.x_n.x_offset); + H_PUT_32 (abfd, 0, ext->x_file.x_n.x_n.x_zeroes); + H_PUT_32 (abfd, in->x_file.x_n.x_offset, + ext->x_file.x_n.x_n.x_offset); } else { - memcpy (ext->x_file.x_fname, in->x_file.x_fname, FILNMLEN); + memcpy (ext->x_file.x_n.x_fname, in->x_file.x_fname, FILNMLEN); } H_PUT_8 (abfd, _AUX_FILE, ext->x_auxtype.x_auxtype); goto end; diff --git a/bfd/elf32-tic6x.c b/bfd/elf32-tic6x.c index b898aab..8b5f5cb 100644 --- a/bfd/elf32-tic6x.c +++ b/bfd/elf32-tic6x.c @@ -468,7 +468,19 @@ static reloc_howto_type elf32_tic6x_howto_table[] = 0, /* src_mask */ 0xffffffff, /* dst_mask */ FALSE), /* pcrel_offset */ - EMPTY_HOWTO (28), + HOWTO (R_C6000_EHTYPE, /* type */ + 0, /* rightshift */ + 2, /* size (0 = byte, 1 = short, 2 = long) */ + 32, /* bitsize */ + FALSE, /* pc_relative */ + 0, /* bitpos */ + complain_overflow_dont,/* complain_on_overflow */ + bfd_elf_generic_reloc, /* special_function */ + "R_C6000_EHTYPE", /* name */ + FALSE, /* partial_inplace */ + 0, /* src_mask */ + 0xffffffff, /* dst_mask */ + FALSE), /* pcrel_offset */ EMPTY_HOWTO (29), EMPTY_HOWTO (30), EMPTY_HOWTO (31), @@ -1040,7 +1052,19 @@ static reloc_howto_type elf32_tic6x_howto_table_rel[] = 0, /* src_mask */ 0xffffffff, /* dst_mask */ FALSE), /* pcrel_offset */ - EMPTY_HOWTO (28), + HOWTO (R_C6000_EHTYPE, /* type */ + 0, /* rightshift */ + 2, /* size (0 = byte, 1 = short, 2 = long) */ + 32, /* bitsize */ + FALSE, /* pc_relative */ + 0, /* bitpos */ + complain_overflow_dont,/* complain_on_overflow */ + bfd_elf_generic_reloc, /* special_function */ + "R_C6000_EHTYPE", /* name */ + FALSE, /* partial_inplace */ + 0, /* src_mask */ + 0xffffffff, /* dst_mask */ + FALSE), /* pcrel_offset */ EMPTY_HOWTO (29), EMPTY_HOWTO (30), EMPTY_HOWTO (31), @@ -1853,6 +1877,7 @@ elf32_tic6x_gc_sweep_hook (bfd *abfd, case R_C6000_SBR_GOT_U15_W: case R_C6000_SBR_GOT_L16_W: case R_C6000_SBR_GOT_H16_W: + case R_C6000_EHTYPE: if (h != NULL) { if (h->got.refcount > 0) @@ -2323,6 +2348,7 @@ elf32_tic6x_relocate_section (bfd *output_bfd, case R_C6000_SBR_GOT_U15_W: case R_C6000_SBR_GOT_L16_W: case R_C6000_SBR_GOT_H16_W: + case R_C6000_EHTYPE: /* Relocation is to the entry for this symbol in the global offset table. */ if (htab->elf.sgot == NULL) @@ -2646,6 +2672,7 @@ elf32_tic6x_check_relocs (bfd *abfd, struct bfd_link_info *info, case R_C6000_SBR_GOT_U15_W: case R_C6000_SBR_GOT_L16_W: case R_C6000_SBR_GOT_H16_W: + case R_C6000_EHTYPE: /* This symbol requires a global offset table entry. */ if (h != NULL) { diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 13ae9a2..543a727 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -9789,6 +9789,8 @@ ppc_build_one_stub (struct bfd_hash_entry *gen_entry, void *in_arg) these checks could now disappear. */ if (fh->elf.root.type == bfd_link_hash_undefined) fh->elf.root.type = bfd_link_hash_undefweak; + /* Stop undo_symbol_twiddle changing it back to undefined. */ + fh->was_undefined = 0; } /* Now build the stub. */ diff --git a/bfd/version.h b/bfd/version.h index 23b2798..c4a330d 100644 --- a/bfd/version.h +++ b/bfd/version.h @@ -1,4 +1,4 @@ -#define BFD_VERSION_DATE 20110501 +#define BFD_VERSION_DATE 20110504 #define BFD_VERSION @bfd_version@ #define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@ #define REPORT_BUGS_TO @report_bugs_to@ diff --git a/configure b/configure index 1b2e3a7..11bfd0b 100755 --- a/configure +++ b/configure @@ -3265,6 +3265,39 @@ esac libgloss_dir="$target_cpu" case "${target}" in + sh*-*-pe|mips*-*-pe|*arm-wince-pe) + libgloss_dir=wince + ;; + arm*-*-*) + libgloss_dir=arm + ;; + cris-*-* | crisv32-*-*) + libgloss_dir=cris + ;; + hppa*-*-*) + libgloss_dir=pa + ;; + i[3456789]86-*-*) + libgloss_dir=i386 + ;; + m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*) + libgloss_dir=m68hc11 + ;; + m68*-*-* | fido-*-*) + libgloss_dir=m68k + ;; + mips*-*-*) + libgloss_dir=mips + ;; + powerpc*-*-*) + libgloss_dir=rs6000 + ;; + sparc*-*-*) + libgloss_dir=sparc + ;; +esac + +case "${target}" in *-*-chorusos) noconfigdirs="$noconfigdirs target-newlib target-libgloss" ;; @@ -3344,25 +3377,20 @@ case "${target}" in sh*-*-pe|mips*-*-pe|*arm-wince-pe) noconfigdirs="$noconfigdirs tcl tk itcl libgui sim" noconfigdirs="$noconfigdirs target-newlib" - libgloss_dir=wince ;; arc-*-*) noconfigdirs="$noconfigdirs target-libgloss" ;; arm-*-coff) - libgloss_dir=arm ;; arm-*-elf* | arm*-*-eabi* ) - libgloss_dir=arm ;; arm*-*-linux-gnueabi) case ${with_newlib} in no) noconfigdirs="$noconfigdirs target-newlib target-libgloss" esac - libgloss_dir=arm ;; arm*-*-symbianelf*) - libgloss_dir=arm ;; arm-*-pe*) noconfigdirs="$noconfigdirs target-libgloss" @@ -3388,7 +3416,6 @@ case "${target}" in *-*-linux*) noconfigdirs="$noconfigdirs target-newlib target-libgloss";; esac - libgloss_dir=cris ;; d10v-*-*) noconfigdirs="$noconfigdirs target-libgloss" @@ -3425,7 +3452,6 @@ case "${target}" in noconfigdirs="$noconfigdirs ld" ;; hppa*-*-pro*) - libgloss_dir=pa ;; hppa*-*-*) noconfigdirs="$noconfigdirs ld" @@ -3446,7 +3472,6 @@ case "${target}" in noconfigdirs="$noconfigdirs readline libgui itcl gdb ld" ;; i[3456789]86-*-coff | i[3456789]86-*-elf) - libgloss_dir=i386 ;; i[3456789]86-*-linux*) # This section makes it possible to build newlib natively on linux. @@ -3508,12 +3533,10 @@ case "${target}" in m32r-*-*) ;; m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*) - libgloss_dir=m68hc11 ;; m68k-*-elf*) ;; m68*-*-* | fido-*-*) - libgloss_dir=m68k ;; mmix-*-*) noconfigdirs="$noconfigdirs gdb" @@ -3534,16 +3557,13 @@ case "${target}" in # This is temporary until we can link against shared libraries powerpcle-*-solaris*) noconfigdirs="$noconfigdirs gdb sim tcl tk itcl" - libgloss_dir=rs6000 ;; powerpc-*-beos*) noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss" ;; powerpc-*-eabi) - libgloss_dir=rs6000 ;; powerpc-*-eabi* | powerpcle-*-eabi* | powerpc-*-rtems* ) - libgloss_dir=rs6000 ;; rs6000-*-lynxos*) noconfigdirs="$noconfigdirs target-newlib gprof" @@ -3564,7 +3584,6 @@ case "${target}" in if test x$with_newlib = xyes; then noconfigdirs="$noconfigdirs gprof" fi - libgloss_dir=mips ;; mips*-*-irix5*) noconfigdirs="$noconfigdirs gprof target-libgloss" @@ -3580,7 +3599,6 @@ case "${target}" in ;; mips*-*-*) noconfigdirs="$noconfigdirs gprof" - libgloss_dir=mips ;; sh-*-* | sh64-*-*) case "${target}" in @@ -3591,15 +3609,12 @@ case "${target}" in esac ;; sparclet-*-aout* | sparc86x-*-*) - libgloss_dir=sparc ;; sparc-*-elf*) ;; sparc64-*-elf*) - libgloss_dir=sparc ;; sparclite-*-*) - libgloss_dir=sparc ;; sparc-*-sunos4*) if test x${is_cross_compiler} != xno ; then diff --git a/configure.ac b/configure.ac index a536c5e..c41abf3 100644 --- a/configure.ac +++ b/configure.ac @@ -712,6 +712,39 @@ esac libgloss_dir="$target_cpu" case "${target}" in + sh*-*-pe|mips*-*-pe|*arm-wince-pe) + libgloss_dir=wince + ;; + arm*-*-*) + libgloss_dir=arm + ;; + cris-*-* | crisv32-*-*) + libgloss_dir=cris + ;; + hppa*-*-*) + libgloss_dir=pa + ;; + i[[3456789]]86-*-*) + libgloss_dir=i386 + ;; + m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*) + libgloss_dir=m68hc11 + ;; + m68*-*-* | fido-*-*) + libgloss_dir=m68k + ;; + mips*-*-*) + libgloss_dir=mips + ;; + powerpc*-*-*) + libgloss_dir=rs6000 + ;; + sparc*-*-*) + libgloss_dir=sparc + ;; +esac + +case "${target}" in *-*-chorusos) noconfigdirs="$noconfigdirs target-newlib target-libgloss" ;; @@ -791,25 +824,20 @@ case "${target}" in sh*-*-pe|mips*-*-pe|*arm-wince-pe) noconfigdirs="$noconfigdirs tcl tk itcl libgui sim" noconfigdirs="$noconfigdirs target-newlib" - libgloss_dir=wince ;; arc-*-*) noconfigdirs="$noconfigdirs target-libgloss" ;; arm-*-coff) - libgloss_dir=arm ;; arm-*-elf* | arm*-*-eabi* ) - libgloss_dir=arm ;; arm*-*-linux-gnueabi) case ${with_newlib} in no) noconfigdirs="$noconfigdirs target-newlib target-libgloss" esac - libgloss_dir=arm ;; arm*-*-symbianelf*) - libgloss_dir=arm ;; arm-*-pe*) noconfigdirs="$noconfigdirs target-libgloss" @@ -835,7 +863,6 @@ case "${target}" in *-*-linux*) noconfigdirs="$noconfigdirs target-newlib target-libgloss";; esac - libgloss_dir=cris ;; d10v-*-*) noconfigdirs="$noconfigdirs target-libgloss" @@ -872,7 +899,6 @@ case "${target}" in noconfigdirs="$noconfigdirs ld" ;; hppa*-*-pro*) - libgloss_dir=pa ;; hppa*-*-*) noconfigdirs="$noconfigdirs ld" @@ -893,7 +919,6 @@ case "${target}" in noconfigdirs="$noconfigdirs readline libgui itcl gdb ld" ;; i[[3456789]]86-*-coff | i[[3456789]]86-*-elf) - libgloss_dir=i386 ;; i[[3456789]]86-*-linux*) # This section makes it possible to build newlib natively on linux. @@ -955,12 +980,10 @@ case "${target}" in m32r-*-*) ;; m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*) - libgloss_dir=m68hc11 ;; m68k-*-elf*) ;; m68*-*-* | fido-*-*) - libgloss_dir=m68k ;; mmix-*-*) noconfigdirs="$noconfigdirs gdb" @@ -981,16 +1004,13 @@ case "${target}" in # This is temporary until we can link against shared libraries powerpcle-*-solaris*) noconfigdirs="$noconfigdirs gdb sim tcl tk itcl" - libgloss_dir=rs6000 ;; powerpc-*-beos*) noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss" ;; powerpc-*-eabi) - libgloss_dir=rs6000 ;; hooks/post-receive -- Repository for Project Archer.