binutils-gdb.git
14 years agogas/
Bernd Schmidt [Mon, 27 Sep 2010 15:52:40 +0000 (15:52 +0000)]
gas/
* config/tc-tic6x.c (tic6x_fix_adjustable): New function.
* config/tc-tic6x.h (tic6x_fix_adjustable): Declare.
(tc_fix_adjustable): New macro.

gas/testsuite/
* gas/tic6x/got-reloc.s: New test.
* gas/tic6x/got-reloc.d: New test.

14 years ago2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Andreas Krebbel [Mon, 27 Sep 2010 13:36:48 +0000 (13:36 +0000)]
2010-09-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* s390-mkopc.c (enum s390_opcde_cpu_val): Add S390_OPCODE_Z196.
(main): Recognize the new CPU string.
* s390-opc.c: Add new instruction formats and masks.
* s390-opc.txt: Add new z196 instructions.

2010-09-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* opcode/s390.h: Add S390_OPCODE_Z196 to enum s390_opcode_cpu_val.

2010-09-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/tc-s390.c: (md_parse_option): New option -march=z196.
* doc/c-s390.texi: Document new option.

2010-09-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gas/s390/s390.exp: Run the zarch-z196 test.
* gas/s390/zarch-z196.d: Add new instructions.
* gas/s390/zarch-z196.s: Likewise.
* gas/s390/zarch-z9-109.d: Likewise.
* gas/s390/zarch-z9-109.s: Likewise.

14 years ago2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Andreas Krebbel [Mon, 27 Sep 2010 13:33:00 +0000 (13:33 +0000)]
2010-09-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* s390-dis.c (print_insn_s390): Pick instruction with most
specific mask.
* s390-opc.c: Add unused bits to the insn mask.
* s390-opc.txt: Reorder some instructions to prefer more recent
versions.

2010-09-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gas/s390/esa-g5.d: Adjust serveral instructions.
* gas/s390/esa-reloc.d: Likewise.
* gas/s390/esa-z990.d: Likewise.
* gas/s390/zarch-reloc.d: Likewise.
* gas/s390/zarch-z10.d: Likewise.
* gas/s390/zarch-z9-ec.d: Likewise.
* gas/s390/zarch-z900.d: Likewise.

2010-09-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* ld-s390/tlsbin.dd: bcr 0,%r7 -> nopr %r7.
* ld-s390/tlsbin_64.dd: Likewise.
* ld-s390/tlspic.dd: Likewise.
* ld-s390/tlspic_64.dd: Likewise.

14 years ago2010-09-27 Tejas Belagod <tejas.belagod@arm.com>
Matthew Gretton-Dann [Mon, 27 Sep 2010 09:47:05 +0000 (09:47 +0000)]
2010-09-27  Tejas Belagod  <tejas.belagod@arm.com>

* gas/config/tc-arm.c (do_neon_ldr_str): Deprecate ARM-mode PC-relative
VSTR, issue an error in THUMB mode.
* opcodes/arm_dis.c (print_insn_coprocessor): Apply off-by-alignment
correction to unaligned PCs while printing comment.
* gas/testsuite/gas/arm/vldr.s: New test for pc-relative VLDR disassembly comment.
* gas/testsuite/gas/arm/vldr.d: Likewise.
* gas/testsuite/gas/arm/vstr-bad.s: New test for PC-relative VSTR.
* gas/testsuite/gas/arm/vstr-thumb-bad.l: Likewise.
* gas/testsuite/gas/arm/vstr-thumb-bad.d: Likewise.
* gas/testsuite/gas/arm/vstr-arm-bad.l: Likewise.
* gas/testsuite/gas/arm/vstr-arm-bad.d: Likewise.

14 years ago*** empty log message ***
gdbadmin [Mon, 27 Sep 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Mon, 27 Sep 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Sun, 26 Sep 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Sun, 26 Sep 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Sat, 25 Sep 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Sat, 25 Sep 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years agogdb/
Jan Kratochvil [Fri, 24 Sep 2010 18:35:28 +0000 (18:35 +0000)]
gdb/
Fix lost siginfo_t for inferior calls.
* infrun.c
(struct inferior_thread_state) <siginfo_gdbarch, siginfo_data>: New.
(save_inferior_thread_state): New variables regcache, gdbarch and
siginfo_data.  Initialize SIGINFO_DATA if gdbarch_get_siginfo_type_p.
Move INF_STATE allocation later, pre-clear it.  Initialize REGISTERS
using REGCACHE.
(restore_inferior_thread_state): New variables regcache and gdbarch.
Restore SIGINFO_DATA for matching GDBARCH.  Restore REGISTERS using
REGCACHE.  Free also SIGINFO_DATA.

gdb/testsuite/
Fix lost siginfo_t for inferior calls.
* gdb.base/siginfo-infcall.exp: New file.
* gdb.base/siginfo-infcall.c: New file.

14 years ago * dwarf2read.c (dw2_expand_symtabs_matching): Add missing
Tom Tromey [Fri, 24 Sep 2010 16:11:46 +0000 (16:11 +0000)]
* dwarf2read.c (dw2_expand_symtabs_matching): Add missing
MAYBE_SWAPs.
(dw2_map_symbol_names): Likewise.

14 years agoFix find_oload_champ_namespace_loop memory leak.
Sami Wagiaalla [Fri, 24 Sep 2010 14:47:53 +0000 (14:47 +0000)]
Fix find_oload_champ_namespace_loop memory leak.

2010-09-24  Sami Wagiaalla  <swagiaal@redhat.com>

* valops.c (find_oload_champ_namespace_loop): replace incorrect
discard_cleanups do_cleanups.

14 years ago PR gdb/11842
Pedro Alves [Fri, 24 Sep 2010 13:44:01 +0000 (13:44 +0000)]
PR gdb/11842

gdb/
* amd64-linux-nat.c (compat_siginfo_from_siginfo)
(siginfo_from_compat_siginfo): Also copy si_pid and si_uid when
si_code is < 0.  Check for si_code == SI_TIMER before checking for
si_code < 0.

gdb/gdbserver/
* linux-x86-low.c (compat_siginfo_from_siginfo)
(siginfo_from_compat_siginfo): Also copy si_pid and si_uid when
si_code is < 0.  Check for si_code == SI_TIMER before checking for
si_code < 0.

14 years ago gdb/
Pedro Alves [Fri, 24 Sep 2010 13:41:43 +0000 (13:41 +0000)]
gdb/
* amd64-linux-nat.c (compat_siginfo_from_siginfo)
(siginfo_from_compat_siginfo): Also copy si_pid and si_uid when
si_code is < 0.  Check for si_code == SI_TIMER before checking for
si_code < 0.

gdb/gdbserver/
* linux-x86-low.c (compat_siginfo_from_siginfo)
(siginfo_from_compat_siginfo): Also copy si_pid and si_uid when
si_code is < 0.  Check for si_code == SI_TIMER before checking for
si_code < 0.

14 years ago2010-09-24 Thomas Schwinge <thomas@codesourcery.com>
Thomas Schwinge [Fri, 24 Sep 2010 12:14:26 +0000 (12:14 +0000)]
2010-09-24  Thomas Schwinge  <thomas@codesourcery.com>

* elf32-arm.c, elf32-cris.c, elf32-hppa.c, elf32-i370.c, elf32-m32r.c,
elf32-m68k.c, elf32-microblaze.c, elf32-ppc.c, elf32-score.c,
elf32-score7.c, elf32-sh.c, elf32-vax.c, elf32-xtensa.c, elf64-alpha.c,
elf64-hppa.c, elf64-mips.c, elf64-ppc.c, elf64-sparc.c, elfcode.h,
elflink.c, elfxx-ia64.c, elfxx-mips.c: Use STN_UNDEF when referring to
the zero symbol index.

14 years ago2010-09-24 Thomas Schwinge <thomas@codesourcery.com>
Thomas Schwinge [Fri, 24 Sep 2010 11:59:19 +0000 (11:59 +0000)]
2010-09-24  Thomas Schwinge  <thomas@codesourcery.com>

* elflink.c (bfd_elf_reloc_symbol_deleted_p): Compare the symbol index
to STN_UNDEF, not SHN_UNDEF.

14 years ago * objfiles.h (ALL_OBJSECTIONS): Handle breaks in the inner loop.
Pedro Alves [Fri, 24 Sep 2010 11:15:55 +0000 (11:15 +0000)]
* objfiles.h (ALL_OBJSECTIONS): Handle breaks in the inner loop.

14 years agoRemove GOTOFF in ld-i386/nogot1.s.
H.J. Lu [Fri, 24 Sep 2010 06:09:31 +0000 (06:09 +0000)]
Remove GOTOFF in ld-i386/nogot1.s.

2010-09-23  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11812
* ld-i386/nogot1.s: Don't use GOTOFF.

14 years ago * rx.c (decode_opcode): Add cycle information for RXO_smovu.
Kevin Buettner [Fri, 24 Sep 2010 05:18:23 +0000 (05:18 +0000)]
* rx.c (decode_opcode): Add cycle information for RXO_smovu.

14 years agoFix typo in ChangeLog entry.
Kevin Buettner [Fri, 24 Sep 2010 04:45:08 +0000 (04:45 +0000)]
Fix typo in ChangeLog entry.

14 years ago * scripttempl/armcoff.sc: Revert 2010-09-22 change.
Dave Korn [Fri, 24 Sep 2010 04:41:12 +0000 (04:41 +0000)]
* scripttempl/armcoff.sc: Revert 2010-09-22 change.

14 years ago*** empty log message ***
gdbadmin [Fri, 24 Sep 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Fri, 24 Sep 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago * cpu.h (reset_decoder): Declare.
Kevin Buettner [Thu, 23 Sep 2010 23:42:53 +0000 (23:42 +0000)]
* cpu.h (reset_decoder): Declare.
* load.c (rx_load): Call `reset_decoder'.
* rx.c (reset_decoder): New function.

14 years ago * rx.c (decode_opcode): Declare `rx' as unsigned.
Kevin Buettner [Thu, 23 Sep 2010 23:26:42 +0000 (23:26 +0000)]
* rx.c (decode_opcode): Declare `rx' as unsigned.

14 years ago * fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.
Kevin Buettner [Thu, 23 Sep 2010 23:05:28 +0000 (23:05 +0000)]
* fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.

14 years agobfd/
Bernd Schmidt [Thu, 23 Sep 2010 16:16:38 +0000 (16:16 +0000)]
bfd/
* elf32-tic6x.c (elf32_tic6x_fake_sections): New function.
(elf_backend_fake_sections): Define.

ld/testsuite/
* ld-tic6x/pcrel-reloc-local-r-rel-rela.d: New test.

14 years ago * bfd/bfd-in2.h (BFD_RELOC_ARM_HVC): New enum value.
Matthew Gretton-Dann [Thu, 23 Sep 2010 15:52:19 +0000 (15:52 +0000)]
* bfd/bfd-in2.h (BFD_RELOC_ARM_HVC): New enum value.
* gas/config/tc-arm.c (arm_ext_virt): New variable.
(arm_reg_type): Add REG_TYPE_RNB for banked registers.
(reg_entry): Allow registers to be larger than a byte.
(reg_alias): Fix type warning.
(parse_operands): Parse banked registers when appropriate.
(do_mrs): Add support for Virtualization Extensions.
(do_hvc): New function.
(do_t_mrs): Add support for Virtualization Extensions.
(do_t_msr): Likewise.
(do_t_hvc): New function.
(SPLRBANK): New define.
(reg_names): Add banked registers.
(insns): Add support for Virtualization Extensions.
(md_apply_fixup): Likewise.
(arm_cpus): -mcpu=cortex-a15 implies the Virtualization Extensions.
(arm_extensions): Add 'virt' extension.
(aeabi_set_public_attributes): Add support for Virtualization
Extensions.
* gas/doc/c-arm.texi: Document 'virt' extension.
* gas/testsuite/gas/arm/armv7-a+virt.d: New test.
* gas/testsuite/gas/arm/armv7-a+virt.s: Likewise.
* gas/testsuite/gas/arm/attr-march-all.d: Update for Virtualization Extensions.
* gas/testsuite/gas/arm/attr-march-armv7-a+sec+virt.d: New test.
* gas/testsuite/gas/arm/attr-march-armv7-a+virt.d: Likewise.
* include/opcode/arm.h (ARM_EXT_VIRT): New define.
(ARM_ARCH_V7A_IDIV_MP_SEC): Rename...
(ARM_ARCH_V7A_IDIV_MP_SEC_VIRT): ...to this and include Virtualization
Extensions.
* opcodes/arm-dis.c (arm_opcodes): Add Virtualiztion Extensions support.
(thumb32_opcodes): Likewise.
(banked_regname): New function.
(print_insn_arm): Add Virtualization Extensions support.
(print_insn_thumb32): Likewise.

14 years ago * gas/config/tc-arm.c (arm_ext_adiv): New variable.
Matthew Gretton-Dann [Thu, 23 Sep 2010 15:37:45 +0000 (15:37 +0000)]
* gas/config/tc-arm.c (arm_ext_adiv): New variable.
(do_div): New function.
(insns): Accept UDIV and SDIV in ARM state.
(arm_cpus): The cortex-a15 option has all current v7-A extensions.
(arm_extensions): Add 'idiv' extension.
(aeabi_set_public_attributes): Update Tag_DIV_use values for the
Integer Divide extension.
* gas/doc/c-arm.texi: Document the idiv extension.
* gas/testsuite/gas/arm/armv7-a+idiv.d: New test.
* gas/testsuite/gas/arm/armv7-a+idiv.s: Likewise.
* gas/testsuite/gas/arm/attr-march-all.d: Update for Integer divide extension.
* gas/testsuite/gas/arm/attr-march-armv7-a+idiv.d: New test.
* include/opcode/arm.h (ARM_AEXT_ADIV): New define.
(ARM_ARCH_V7A_IDIV_MP_SEC): Likewise.
* opcodes/arm-dis.c (arm_opcodes): Support disassembly of UDIV and SDIV in
ARM state.

14 years ago * config/tc-arm.c (arm_ext_v6m): New variable.
Matthew Gretton-Dann [Thu, 23 Sep 2010 15:31:34 +0000 (15:31 +0000)]
* config/tc-arm.c (arm_ext_v6m): New variable.
(arm_ext_m): Add support for OS extension.
(arm_ext_os): New variable.
(do_t_swi): In v6-M ensure we have the OS extension.
(arm_cpus): The cortex-m1 and cortex-m0 options have the OS
extension by default.
(arm_archs): Add armv6s-m.
(arm_extensions): Add 'os' extension.
(cpu_arch_ver): Add support for v6S-M.
* gas/doc/c-arm.texi: Document the OS Extension, and v6-m and v6s-m
architecture options.
* gas/testsuite/gas/arm/archv6s-m-bad.d: New test.
* gas/testsuite/gas/arm/archv6s-m-bad.l: Likewise.
* gas/testsuite/gas/arm/archv6s-m.d: Likewise.
* gas/testsuite/gas/arm/archv6s-m.s: Likewise.
* gas/testsuite/gas/arm/attr-march-armv6-m+os.d: Likewise.
* gas/testsuite/gas/arm/attr-march-armv6s-m.d: Likewise.
* include/opcode/arm.h (ARM_EXT_OS): New define.
(ARM_AEXT_V6SM): Likewise.
(ARM_ARCH_V6SM): Likewise.

14 years ago * gas/config/tc-arm.c (arm_ext_v6z): Remove.
Matthew Gretton-Dann [Thu, 23 Sep 2010 15:26:24 +0000 (15:26 +0000)]
* gas/config/tc-arm.c (arm_ext_v6z): Remove.
(arm_ext_sec): New variable.
(do_t_smc): In Thumb state SMC requires v7-A.
(insns): Make SMC depend on Security Extensions.
(arm_cpus): All -mcpu=cortex-a* options have the Security Extensions.
(arm_extensions): Add 'sec' extension.
(cpu_arch_ver): Reorder.
(aeabi_set_public_attributes): Emit Tag_Virtualization_use as
appropriate.
* gas/doc/c-arm.texi: Document Security Extensions.
* gas/testsuite/gas/arm/attr-march-all.d: Update for Security Extensions..
* gas/testsuite/gas/arm/attr-march-armv6k+sec.d: New test.
* gas/testsuite/gas/arm/attr-march-armv6z.d: Update for Security Extensions.
* gas/testsuite/gas/arm/attr-march-armv6zk.d: Likewise.
* gas/testsuite/gas/arm/attr-march-armv6zkt2.d: Likewise.
* gas/testsuite/gas/arm/attr-march-armv6zt2.d: Likewise.
* gas/testsuite/gas/arm/attr-march-armv7-a+sec.d: New test.
* gas/testsuite/gas/arm/attr-mcpu.d: Update for Security Extensions.
* gas/testsuite/gas/arm/thumb32.d: Likewise.
* gas/testsuite/gas/arm/thumb32.s: Likewise.
* include/opcode/arm.h (ARM_EXT_V6Z): Remove.
(ARM_EXT_SEC): New define.
(ARM_AEXT_V6Z): Use Security Extensions.
(ARM_AEXT_V6ZK): Likeiwse.
(ARM_AEXT_V6ZT2): Likewise.
(ARM_AEXT_V6ZKT2): Likewise.
(ARM_AEXT_V7_ARM): Base v7 does not have Security Extensions.
(ARM_ARCH_V7A_SEC): New define.
(ARM_ARCH_V7A_MP): Rename...
(ARM_ARCH_V7A_MP_SEC): ...to this and add Security Extensions.
* ld/testsuite/ld-arm/attr-merge-6.attr: Update for Security Extensions.
* ld/testsuite/ld-arm/attr-merge-7.attr: Likewise.
* opcodes/arm-dis.c (arm_opcodes): SMC implies Security Extensions.
(thumb32_opcodes): Likewise.

14 years ago * gas/config/tc-arm.c (arm_ext_mp): Add.
Matthew Gretton-Dann [Thu, 23 Sep 2010 15:18:19 +0000 (15:18 +0000)]
* gas/config/tc-arm.c (arm_ext_mp): Add.
(do_pld): Update comment.
(insns): Add support for pldw.
(arm_cpus): Update cortex-a5, cortex-a9, and cortex-a15 to support
MP extension.
(arm_extensions): Add 'mp' extension.
(aeabi_set_public_attributes): Emit correct build attribute when
MP extension is enabled.
* gas/doc/c-arm.texi: Update for MP extensions.
* gas/testsuite/gas/arm/arch7a-mp.d: Add.
* gas/testsuite/gas/arm/arch7ar-mp.s: Likewise.
* gas/testsuite/gas/arm/arch7r-mp.d: Likewise.
* gas/testsuite/gas/arm/armv2-mp-bad.d: Likewise.
* gas/testsuite/gas/arm/armv2-mp-bad.l: Likewise.
* gas/testsuite/gas/arm/attr-march-all.d: Update for MP extension.
* gas/testsuite/gas/arm/attr-march-armv7-a+mp.d: Add.
* gas/testsuite/gas/arm/attr-march-armv7-r+mp.d: Likewise.
* include/opcode/arm.h (ARM_EXT_MP): Add.
(ARM_ARCH_V7A_MP): Likewise.
* opcodes/arm-dis.c (arm_opcodes): Add support for pldw.
(thumb32_opcodes): Likewise.

14 years ago * gas/config/tc-arm.c (md_pseduo_table): Add .arch_extension directive.
Matthew Gretton-Dann [Thu, 23 Sep 2010 15:11:56 +0000 (15:11 +0000)]
* gas/config/tc-arm.c (md_pseduo_table): Add .arch_extension directive.
(arm_option_extension_value_table): Add.
(arm_extensions): Change type.
(arm_option_cpu_table): Rename...
(arm_option_fpu_table): ...to this.
(arm_fpus): Change type.
(arm_parse_extension): Enforce alphabetical order.  Allow
extensions to be removed.
(arm_parse_arch): Allow extensions to be specified with -march.
(s_arm_arch_extension): Add.
(s_arm_fpu): Update for type changes.
* gas/doc/c-arm.texi: Document changes to infrastructure.

14 years ago * ld-elf/elf.exp: Don't run --gc-sections tls var test on v850.
Alan Modra [Thu, 23 Sep 2010 12:24:41 +0000 (12:24 +0000)]
* ld-elf/elf.exp: Don't run --gc-sections tls var test on v850.
* ld-elf/group2.d: xfail xstormy.
* ld-elf/group4.d: Likewise.
* ld-elf/group5.d: Likewise.
* ld-elf/group6.d: Likewise.
* ld-elf/init-fini-arrays.d: xfail cr16 and crx.
* ld-elf/orphan2.d: xfail xstormy.
* ld-elf/sec64k.exp: Don't run on targets using generic linker.
Allow a larger range for ld -r expected bar_1 section.  Don't run
final link test on a number of targets.  Select avr6 for avr targets.
* ld-elfcomm/elfcomm.exp: Don't attempt on hpux.

14 years ago * gas/all/gas.exp: Update "forward" and "redef3" xfails.
Alan Modra [Thu, 23 Sep 2010 12:15:55 +0000 (12:15 +0000)]
* gas/all/gas.exp: Update "forward" and "redef3" xfails.
* gas/m68k/all.exp: Don't xfail pcrel on uclinux.
* gas/sh/arch/arch.exp: Don't pass dashes to send_log.

14 years ago * config/tc-mn10300.c (tc_gen_reloc): Replace absolute symbols
Alan Modra [Thu, 23 Sep 2010 12:11:31 +0000 (12:11 +0000)]
* config/tc-mn10300.c (tc_gen_reloc): Replace absolute symbols
with the absolute section symbol.

14 years ago * binutils-all/ar.exp: Don't run unique_symbol on msp or hpux.
Alan Modra [Thu, 23 Sep 2010 12:04:37 +0000 (12:04 +0000)]
* binutils-all/ar.exp: Don't run unique_symbol on msp or hpux.
* binutils-all/copy-2.d: Update not-target list.
* binutils-all/note-1.d: Don't run on h8300.
* binutils-all/objcopy.exp: Don't run strip-10 on msp or hpux.
(objcopy_test): Remove h8300-rtems from xfails.

14 years ago * ld-d10v/reloc-007.d: Don't error.
Alan Modra [Thu, 23 Sep 2010 11:55:47 +0000 (11:55 +0000)]
* ld-d10v/reloc-007.d: Don't error.
* ld-d10v/reloc-008.d: Likewise.
* ld-d10v/reloc-015.d: Likewise.
* ld-d10v/reloc-016.d: Likewise.
* ld-d10v/reloc-012.ld: Use a sane offset.

14 years ago * cpu-d10v.c: Make bits_per_address 18 for all arch_info entries.
Alan Modra [Thu, 23 Sep 2010 11:55:01 +0000 (11:55 +0000)]
* cpu-d10v.c: Make bits_per_address 18 for all arch_info entries.

14 years agold/
Alan Modra [Thu, 23 Sep 2010 11:40:06 +0000 (11:40 +0000)]
ld/
* ldlang.c (lang_add_section): Don't copy SEC_RELOC from input
to output section on a final link.
bfd/
* elf.c (_bfd_elf_init_private_section_data): Allow for SEC_RELOC
difference between input and output section.

14 years ago * gas/mips/jal.d: Remove duplicate pattern.
Maciej W. Rozycki [Thu, 23 Sep 2010 00:11:22 +0000 (00:11 +0000)]
* gas/mips/jal.d: Remove duplicate pattern.

14 years ago*** empty log message ***
gdbadmin [Thu, 23 Sep 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Thu, 23 Sep 2010 00:00:04 +0000 (00:00 +0000)]
daily update

14 years ago[Ada] Do not compute task ptid when debugging core file
Joel Brobecker [Wed, 22 Sep 2010 22:50:54 +0000 (22:50 +0000)]
[Ada] Do not compute task ptid when debugging core file

After thread support over core files was added for GNU/Linux was added,
we started noticing the following type of crash when trying to perform
task switches (this is a bit accademic, since task switching is not
supported when debugging core files - this is what our testcase was
verifying).

(please check out the comment inside ada-tasks.c:task_command for
more details on this topic)

The reason for the crash comes from the fact that the GNU/Linux thread
layer now gets pushed on the target stack, causing the associated
to_get_ada_task_ptid target method to be activated.  This routine
makes the assumption that, for all threads, the private area is not
NULL.  This is incorrect in the case of core files, as the core layer
creates some threads with no private data.

But, taking a step back, we don't need to try to compute the task ptid,
as we'll never be using it anyways (we only use it for task switching).
So the fix is to avoid the ptid computation altogether when debugging
a core file.

gdb/ChangeLog:

        * ada-tasks.c (read_atcb): Do not compute the task ptid when
        debugging a core file.

14 years agoopcodes: blackfin: fix decoding of 32bit addresses on 64bit systems
Mike Frysinger [Wed, 22 Sep 2010 21:55:17 +0000 (21:55 +0000)]
opcodes: blackfin: fix decoding of 32bit addresses on 64bit systems

The Blackfin ISA is very exact with regards to address truncation when
under/over flowing its 32bit range.  On a 32bit system, things work the
same and so addresses are decoded properly.  On a 64bit system though,
the decoded addresses may include the bits that are supposed to have
been truncated.  So force a 32bit truncation after the address has been
calculated.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoopcodes: blackfin: fix decoding of all register move insns
Mike Frysinger [Wed, 22 Sep 2010 21:54:33 +0000 (21:54 +0000)]
opcodes: blackfin: fix decoding of all register move insns

Many register move insns were not being decoded properly, so rewrite
the whole function to be a bit more manageable in terms of valid
combinations.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoopcodes: blackfin: fix decoding of many invalid insns
Mike Frysinger [Wed, 22 Sep 2010 21:53:46 +0000 (21:53 +0000)]
opcodes: blackfin: fix decoding of many invalid insns

The Blackfin disassembler was originally based on the premise of parsing
valid opcodes all the time, so some of the opcode checking can be a bit
fuzzy.  This is exemplified in decoding of parallel insns where many
times things are decoded as invalid when in reality, they may not be
used in parallel combinations.  So add parallel checking to most insn
decoding routines so we see ILLEGAL and not just whatever insn happens
to be close to a valid mnemonic, as well as some additional sub-opcode
checks.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoopcodes: blackfin: mark push/pop insns with a P6/P7 range as illegal
Mike Frysinger [Wed, 22 Sep 2010 21:53:14 +0000 (21:53 +0000)]
opcodes: blackfin: mark push/pop insns with a P6/P7 range as illegal

The push/pop multiple insn has a 3 bit field for the P register range,
but only values of 0...5 are valid (P0 - P5).  There is no such P6 or
P7 register, so mark these insns as illegal.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoopcodes: blackfin: fix decoding of vector shift insn w/saturation
Mike Frysinger [Wed, 22 Sep 2010 21:41:39 +0000 (21:41 +0000)]
opcodes: blackfin: fix decoding of vector shift insn w/saturation

The saturation bit was missed when decoding a vector shift insn
leading to the output looking the same as the non-saturating insn.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoopcodes: blackfin: decode all ASTAT bits
Mike Frysinger [Wed, 22 Sep 2010 21:39:08 +0000 (21:39 +0000)]
opcodes: blackfin: decode all ASTAT bits

All ASTAT bits work in the hardware even though they aren't part of the
official Blackfin ISA.  So decode every ASTAT field to make the output
a bit nicer when working with hand generated opcodes.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoopcodes: blackfin: decode insns with invalid register as illegal
Mike Frysinger [Wed, 22 Sep 2010 21:38:20 +0000 (21:38 +0000)]
opcodes: blackfin: decode insns with invalid register as illegal

Sometimes the encoding in the opcode is a 4 bit field which defines a
register number.  However, register numbers are only 0-7, so make sure
we call illegal for when the opcode register number is greater than 8.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoMAINTAINERS: add myself for Blackfin parts
Mike Frysinger [Wed, 22 Sep 2010 21:36:09 +0000 (21:36 +0000)]
MAINTAINERS: add myself for Blackfin parts

I know a thing or two about Blackfin parts, and if I can't find the
answer, I can usually locate someone who does.  Especially since Jie
and Bernd no longer work for ADI :(.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agogas: blackfin: fix typo in BYTEOP16P comment
Mike Frysinger [Wed, 22 Sep 2010 21:34:10 +0000 (21:34 +0000)]
gas: blackfin: fix typo in BYTEOP16P comment

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agogas: blackfin: reject multiple store insns in parallel insns
Mike Frysinger [Wed, 22 Sep 2010 21:31:18 +0000 (21:31 +0000)]
gas: blackfin: reject multiple store insns in parallel insns

Check for & reject attempts to use multiple store insns in a single
parallel insn combination.  These are illegal per the Blackfin ISA.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agogas: blackfin: add missing register move insns
Mike Frysinger [Wed, 22 Sep 2010 21:30:35 +0000 (21:30 +0000)]
gas: blackfin: add missing register move insns

The Blackfin ISA supports moving just about anything to/from EMUDAT, so
make sure the assembler accepts these insns too.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agogas: blackfin: clarify some errors with register usage in insns
Mike Frysinger [Wed, 22 Sep 2010 21:29:41 +0000 (21:29 +0000)]
gas: blackfin: clarify some errors with register usage in insns

Using "Register mismatch" everywhere can be a bit vague, so clarify
why exactly we're barfing on these unsupported insns.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agogas: blackfin: fix DBG/DBGCMPLX insn encoding
Mike Frysinger [Wed, 22 Sep 2010 21:26:13 +0000 (21:26 +0000)]
gas: blackfin: fix DBG/DBGCMPLX insn encoding

Some extended registers when given to the DBG/DBGCMPLX pseudo insns are
not encoded properly.  So fix them, fix the display of them when being
disassembled, and add testcases.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agogas: blackfin: handle multibyte symbols
Mike Frysinger [Wed, 22 Sep 2010 21:08:31 +0000 (21:08 +0000)]
gas: blackfin: handle multibyte symbols

Accept any 8bit char with the high bit set so as to support multibyte
characters.  Also use the locale safe regular expressions to match
chars/digits.  This brings the Blackfin assembler inline with the
behavior of other assemblers.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoopcodes/gas: blackfin: handle more ASTAT flags
Mike Frysinger [Wed, 22 Sep 2010 21:05:03 +0000 (21:05 +0000)]
opcodes/gas: blackfin: handle more ASTAT flags

Support a few more ASTAT bits with the standard insns that operate on
ASTAT bits directly.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoopcodes/gas: blackfin: support OUTC debug insn
Mike Frysinger [Wed, 22 Sep 2010 20:59:00 +0000 (20:59 +0000)]
opcodes/gas: blackfin: support OUTC debug insn

The disassembler has partial (but incomplete/broken) support already for
the pseudo debug insn OUTC, so let's fix it up and finish it.  And now
that the disassembler can handle it, make sure our assembler can output
it too.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoopcodes: blackfin: fix decoding of LSHIFT insns
Mike Frysinger [Wed, 22 Sep 2010 20:37:25 +0000 (20:37 +0000)]
opcodes: blackfin: fix decoding of LSHIFT insns

The Blackfin ISA does not have a "SHIFT" insn, it has either LSHIFT,
ASHIFT, or BXORSHIFT.  So be specific when disassembling.

As fall out of this change, we need to update some assembler tests.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoopcodes: blackfin: constify formatting related structures
Mike Frysinger [Wed, 22 Sep 2010 20:32:40 +0000 (20:32 +0000)]
opcodes: blackfin: constify formatting related structures

No need for these local structures related to formatting of output to
be writable, so constify the whole shebang.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agogas: blackfin: support ABORT debug insn
Mike Frysinger [Wed, 22 Sep 2010 20:21:32 +0000 (20:21 +0000)]
gas: blackfin: support ABORT debug insn

There is a pseudo debug insn named ABORT that is commonly used in
simulation, so support it in the assembler too.  The disassembler
already supports it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agogas: blackfin: add support for BF51x-0.2 processors
Mike Frysinger [Wed, 22 Sep 2010 20:19:53 +0000 (20:19 +0000)]
gas: blackfin: add support for BF51x-0.2 processors

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agogas: blackfin: add support for BF592 processors
Mike Frysinger [Wed, 22 Sep 2010 20:17:51 +0000 (20:17 +0000)]
gas: blackfin: add support for BF592 processors

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoFix order of ChangeLog entries.
Joel Brobecker [Wed, 22 Sep 2010 20:08:04 +0000 (20:08 +0000)]
Fix order of ChangeLog entries.

(entry added at wrong location by patch).

14 years agopreserve columnar alignment.
Joel Brobecker [Wed, 22 Sep 2010 20:06:58 +0000 (20:06 +0000)]
preserve columnar alignment.

gdb/testsuite/ChangeLog:

        * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.

14 years agogdb/
Jan Kratochvil [Wed, 22 Sep 2010 20:00:53 +0000 (20:00 +0000)]
gdb/
Code cleanup.
* objfiles.c (allocate_objfile) <objfile->name != NULL>: Remove.
(free_objfile) <objfile->name != NULL>: Remove the conditional around
xfree.
* objfiles.h (struct objfile) <name>: New comment it is never NULL.
* python/py-auto-load.c (auto_load_new_objfile) <!objfile->name>:
Remove.
* python/py-objfile.c (objfpy_get_filename) <obj->objfile->name>
Remove the conditional.
* python/py-progspace.c (pspy_get_filename) <objfile->name>: Likewise.

14 years agogdb/
Jan Kratochvil [Wed, 22 Sep 2010 19:59:15 +0000 (19:59 +0000)]
gdb/
* main.c: Include objfiles.h.
(captured_main): New variable objfile.  Call
load_auto_scripts_for_objfile for ALL_OBJFILES.

14 years agogdb/
Jan Kratochvil [Wed, 22 Sep 2010 19:22:44 +0000 (19:22 +0000)]
gdb/
* dwarf2read.c (die_needs_namespace) <DW_TAG_variable>: Add also
DW_TAG_constant.

gdb/testsuite/
* gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
New test.
* gdb.fortran/module.f90 (mod1) <var_const>: New constant.

14 years agogas: blackfin: allow end-of-line comments via #
Mike Frysinger [Wed, 22 Sep 2010 19:17:19 +0000 (19:17 +0000)]
gas: blackfin: allow end-of-line comments via #

We don't use the # character in the Blackfin assembly language, so let it
start end-of-line comments like most other assemblers.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years ago[testsuite] dw2-const.S: fix type reference size on 64bit platforms.
Joel Brobecker [Wed, 22 Sep 2010 19:13:40 +0000 (19:13 +0000)]
[testsuite] dw2-const.S: fix type reference size on 64bit platforms.

The testcase was failing on various 64bit platforms, because the
debugging info said that the target type for a const type is a
4-byte reference.  In the asm file, I used a .long directive, but
the size of .long is of course dependent on the platform.  This
replaces this .long by a .4byte directive.

gdb/testsuite/ChangeLog:

        * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
        type of our const type.

14 years agoDWARF: Add support for DW_TAG_constant DIEs
Joel Brobecker [Wed, 22 Sep 2010 16:15:34 +0000 (16:15 +0000)]
DWARF: Add support for DW_TAG_constant DIEs

gdb/ChangeLog:

        * dwarf2read.c (scan_partial_symbols): Add handling of
        DW_TAG_constant DIEs.
        (add_partial_symbol, load_partial_dies, new_symbol): Likewise.

gdb/testsuite/ChangeLog:

        * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.

14 years agoAllow disabling of gdbserver build (--enable-gdbserver=yes/no/auto).
Joel Brobecker [Wed, 22 Sep 2010 16:15:01 +0000 (16:15 +0000)]
Allow disabling of gdbserver build (--enable-gdbserver=yes/no/auto).

This patch adds a new --enable-gdbserver=yes/no/auto command-line switch
in gdb/configure.  The primary purpose is to allow a user to disable the
build & install of gdbserver when not desired.  It also allows the user
to request gdbserver in which case the configure script will abort if
automatic building of gdbserver is not supported for that configuration.

The default keeps things as is: We automatically build gdbserver if
building for a native configuration and if gdbserver is supported for
that configuration.

gdb/ChangeLog:

        * configure.ac: Add support for --enable-gdbserver.
        * configure: Regenerate.

At AdaCore, this is mostly intended for ia64-linux, where we currently
do not want to distribute gdbserver.  This will be useful in the context
of I417-033, where we are now using "make install" to determine what
needs to be packaged inside the GNAT Pro package.

14 years ago * gdb.texinfo (Values From Inferior): Mention Value.__init__.
Tom Tromey [Wed, 22 Sep 2010 15:51:43 +0000 (15:51 +0000)]
* gdb.texinfo (Values From Inferior): Mention Value.__init__.

14 years agoFix PR 12028: "GDB crashes on a double free during overload resolution "
Sami Wagiaalla [Wed, 22 Sep 2010 15:48:59 +0000 (15:48 +0000)]
Fix PR 12028: "GDB crashes on a double free during overload resolution "

2010-09-22  Sami Wagiaalla  <swagiaal@redhat.com>

PR C++/12028
* valops.c (find_oload_champ_namespace_loop): removed incorrect
'old_cleanups' reassignment.

2010-09-22  Sami Wagiaalla  <swagiaal@redhat.com>

* gdb.cp/pr12028.cc: New.
* gdb.cp/pr12028.exp: New.

14 years ago2010-09-22 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Wed, 22 Sep 2010 14:20:24 +0000 (14:20 +0000)]
2010-09-22  Kai Tietz  <kai.tietz@onevision.com>

        * ldlang.c (lang_add_section): Allow for debugging
        section to be marked as noload but to keep content.
        (IGNORE_SECTION): Likewise.
        (lang_check_section_addresses): Likewise.
        * ldwrite.c (build_link_order): Likewise.

14 years ago2010-09-22 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Wed, 22 Sep 2010 14:19:35 +0000 (14:19 +0000)]
2010-09-22  Kai Tietz  <kai.tietz@onevision.com>

        * coffcode.h (sec_to_styp_flags): Adjust debug
        sections to be conform to pe-coff specification
        and avoid marking them as excluded.
        (styp_to_sec_flags): Doing reverse mapping.

14 years ago gdb.texinfo (Values From Inferior): Clarify that
Eli Zaretskii [Wed, 22 Sep 2010 09:13:31 +0000 (09:13 +0000)]
 gdb.texinfo (Values From Inferior): Clarify that
 value.dynamic_type works only in C++ programs with RTTI.

14 years ago2010-09-22 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Wed, 22 Sep 2010 08:03:42 +0000 (08:03 +0000)]
2010-09-22  Kai Tietz  <kai.tietz@onevision.com>

        * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add
        idata to orphan set.
        * emultempl/pep.em: Likewise.
        * scripttempl/armcoff.sc: Separate idata
        and add __IAT_start__ and __IAT_end__ labels.
        * scripttempl/pe.sc: Likewise.
        * scripttempl/pep.sc: Likewise.

14 years ago2010-09-22 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Wed, 22 Sep 2010 08:01:56 +0000 (08:01 +0000)]
2010-09-22  Kai Tietz  <kai.tietz@onevision.com>

        * peXXigen.c (_bfd_XXi_final_link_postscript):
        Add handling for setting IAT directory entry.

14 years ago*** empty log message ***
gdbadmin [Wed, 22 Sep 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Wed, 22 Sep 2010 00:00:06 +0000 (00:00 +0000)]
daily update

14 years agoopcodes: blackfin: strip trailing whitespace
Mike Frysinger [Tue, 21 Sep 2010 06:04:21 +0000 (06:04 +0000)]
opcodes: blackfin: strip trailing whitespace

14 years ago*** empty log message ***
gdbadmin [Tue, 21 Sep 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Tue, 21 Sep 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago * emulparams/elf32_sparc.sh: Set NOP to 0x01000000
David S. Miller [Mon, 20 Sep 2010 18:41:15 +0000 (18:41 +0000)]
* emulparams/elf32_sparc.sh: Set NOP to 0x01000000

14 years ago * gas/config/tc-arm.c (arm_cpus): Correct canonical names for Cortex CPUs.
Matthew Gretton-Dann [Mon, 20 Sep 2010 16:33:24 +0000 (16:33 +0000)]
* gas/config/tc-arm.c (arm_cpus): Correct canonical names for Cortex CPUs.
* gas/testsuite/gas/arm/attr-cpu-directive.d: Update test for change in canonical
CPU name.
* gas/testsuite/gas/arm/attr-mcpu.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-6.attr: Update tests for change in canonical
CPU name.
* ld/testsuite/ld-arm/attr-merge-7.attr: Likewise.
* ld/testsuite/ld-arm/attr-merge-2.attr: Likewise.
* ld/testsuite/ld-arm/attr-merge-arch-2.attr: Likewise.

14 years ago * ld/testsuite/ld-arm/script-type.ld: Update to generate symbols in a section.
Matthew Gretton-Dann [Mon, 20 Sep 2010 16:26:53 +0000 (16:26 +0000)]
* ld/testsuite/ld-arm/script-type.ld: Update to generate symbols in a section.

14 years agoUse bfd_elf_generic_reloc for alpha-elf.
Richard Henderson [Mon, 20 Sep 2010 16:09:03 +0000 (16:09 +0000)]
Use bfd_elf_generic_reloc for alpha-elf.

14 years ago * gas/elf/elf.exp: Disable symtab test for alpha.
Richard Henderson [Mon, 20 Sep 2010 16:07:27 +0000 (16:07 +0000)]
* gas/elf/elf.exp: Disable symtab test for alpha.

14 years ago*** empty log message ***
gdbadmin [Mon, 20 Sep 2010 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Mon, 20 Sep 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years agobfd/
Richard Sandiford [Sun, 19 Sep 2010 10:52:17 +0000 (10:52 +0000)]
bfd/
* elfxx-mips.c (mips_elf_link_hash_entry): Add got_only_for_calls.
(mips_elf_link_hash_newfunc): Initialize it.
(mips_elf_record_global_got_symbol): Add a for_call parameter.
(mips_elf_count_got_symbols): Check SYMBOL_CALLS_LOCAL rather
than SYMBOL_REFERENCES_LOCAL if the GOT entry is only used for calls.
Try to remove .got entries in favour of .got.plt entries on VxWorks.
(_bfd_mips_elf_check_relocs): Do not try to avoid allocating
a global GOT entry for VxWorks calls.  Update uses of
mips_elf_record_global_got_symbol.
(allocate_dynrelocs): Set got_only_for_calls to false if the GOT
entry is used for dynamic relocations.

14 years agobfd/
Richard Sandiford [Sun, 19 Sep 2010 10:26:28 +0000 (10:26 +0000)]
bfd/
* elfxx-mips.c (mips_got_entry): Adjust commentary.
(mips_elf_create_local_got_entry): If given a symbol, check that it
has been assigned to the local part of the GOT.
(mips_elf_count_got_symbols): Take the bfd_link_info as argument
instead of the master GOT.  Put all locally-binding symbols in
the local area.
(mips_elf_make_got_per_bfd): Use global_got_area to decide whether
a symbol lives in the local or global area.
(mips_elf_local_relocation_p): Remove check_forced argument and
retain only the !check_forced behavior.
(mips_elf_calculate_relocation): Adjust call accordingly.
Use global_got_area to decide whether an output relocation
should be local or global.  Explicitly decay R_MIPS_GOT_PAGE
into R_MIPS_GOT_DISP where appropriate.  Fix selection of
local vs. global semantics for R_MIPS*_26.  Remove redundant
reevaluation of what is stored in was_local_p.
(mips_elf_create_dynamic_relocation): Use global_got_area to decide
whether the relocation should be against a global or local symbol.
(mips_elf_lay_out_got): Update the GOT traversal after the above
change to mips_elf_count_got_symbols.
(mips_elf_adjust_addend): Adjust call to mips_elf_local_relocation_p.
(_bfd_mips_elf_relocate_section): Likewise.
(_bfd_mips_elf_finish_dynamic_symbol): Use global_got_area to decide
whether the symbol has a global got entry.
(_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.

ld/testsuite/
* ld-mips-elf/elf-rel-got-n32.d: Swap two local GOT entries
and remove some duplication between the global and local GOT
entries.  Adjust GP offsets accordingly.
* ld-mips-elf/elf-rel-got-n64-linux.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n32.d: Reorder GOT entries and update
GP offsets accordingly.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
* ld-mips-elf/mips16-pic-1.gd: Move all global GOT entries to
the local GOT.
* ld-mips-elf/mips16-pic-1.dd: Update GP offsets accordingly.
* ld-mips-elf/multi-got-no-shared.d: Adjust GP setup for
smaller GOT sizes.

14 years agobfd/
Richard Sandiford [Sun, 19 Sep 2010 10:07:30 +0000 (10:07 +0000)]
bfd/
* elfxx-mips.c (allocate_dynrelocs): Don't add relocation symbols
to the global GOT on VxWorks.

14 years agobfd/
Richard Sandiford [Sun, 19 Sep 2010 10:03:28 +0000 (10:03 +0000)]
bfd/
* elfxx-mips.c (_bfd_mips_elf_check_relocs): On VxWorks,
exclude __GOTT_BASE__ and __GOTT_INDEX__ from the warning
about HI/LO relocations in shared objects.

14 years ago*** empty log message ***
gdbadmin [Sun, 19 Sep 2010 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Sun, 19 Sep 2010 00:00:06 +0000 (00:00 +0000)]
daily update