aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-10-25 bfd/Nathan Sidwell6-0/+18
* elf32-tic6x.c: Add attribution. gas/ * config/tc-tic6x.c: Add attribution. opcodes/ * tic6x-dis.c: Add attribution.
2010-10-25 * obj.h (struct format_ops): Add adjust_symtab.Alan Modra7-8/+27
* config/obj-multi.h (obj_adjust_symtab): Define. * config/obj-aout.c (aout_format_ops): Init new field. * config/obj-coff.c (coff_format_ops): Likewise. * config/obj-ecoff.c (ecoff_format_ops): Likewise. * config/obj-elf.c (elf_format_ops): Likewise.
2010-10-25Add a new testcase for PR gas/12049.H.J. Lu4-2/+96
2010-10-25 H.J. Lu <hongjiu.lu@intel.com> PR gas/12049 * gas/i386/i386.exp: Run relax-1 and relax-2 for all 32bit targets. Run x86-64-relax-1. * gas/i386/x86-64-relax-1.d: New. * gas/i386/x86-64-relax-1.s: Likewise.
2010-10-25 * elf32-arm.c (find_stub_size_and_template): Avoid uninitializedAlan Modra2-7/+11
var warning at -O3.
2010-10-25 * opncls.c (bfd_alloc, bfd_zalloc): Don't mark internal.Alan Modra5-12/+15
* libbfd-in.h (bfd_alloc, bfd_zalloc): Don't declare here. * libbfd.h: Regenerate * bfd-in2.h: Regenerate.
2010-10-25 * plugin.c (plugin_get_ir_dummy_bfd): Set bfd_use_reserved_id.Alan Modra2-5/+12
Formatting.
2010-10-25 * opncls.c (_bfd_id_counter): Rename to bfd_id_counter.Alan Modra3-5/+28
(bfd_reserved_id_counter, bfd_use_reserved_id): New vars. (_bfd_new_bfd): Use negative id when bfd_use_reserved_id. (bfd_create): Doc fix. * bfd-in2.h: Regenerate.
2010-10-25 PR gas/12049Alan Modra2-0/+13
* write.c (relax_frag): Don't allow forward branches to temporarily becomde backward branches.
2010-10-25*** empty log message ***gdbadmin1-1/+1
2010-10-24daily updateAlan Modra1-1/+1
2010-10-24 * gas/mips/mips.exp: Simplify enabling of MIPS16 testing.Maciej W. Rozycki2-4/+5
2010-10-24 * gas/mips/at-1.d: Handle ECOFF relocations.Maciej W. Rozycki6-144/+152
* gas/mips/eret-1.d: Handle ECOFF. * gas/mips/eret-2.d: Likewise. * gas/mips/eret-3.d: Likewise. * gas/mips/mips.exp: Only run "aent" for ELF.
2010-10-24 * gas/mips/ld.s: Adjust to let SD, L.D, S.D, LDC1 and SDC1Maciej W. Rozycki59-97/+8749
macros to be tested, according to the "tsd", "tl_d", "ts_d", "tldc1" and "tsdc1" symbols. * gas/mips/sd.d: New test. * gas/mips/ecoff@sd.d: Likewise, ECOFF version. * gas/mips/mips1@ecoff@sd.d: Likewise, MIPS I/ECOFF version. * gas/mips/r3000@ecoff@sd.d: Likewise, R3000/ECOFF version. * gas/mips/r3900@ecoff@sd.d: Likewise, R3900/ECOFF version. * gas/mips/mips2@ecoff@sd.d: Likewise, MIPS II/ECOFF version. * gas/mips/mips32@ecoff@sd.d: Likewise, MIPS32/ECOFF version. * gas/mips/mips32r2@ecoff@sd.d: Likewise, MIPS32r2/ECOFF version. * gas/mips/sd-forward.d: New test. * gas/mips/ecoff@sd-forward.d: Likewise, ECOFF version. * gas/mips/mips1@ecoff@sd-forward.d: Likewise, MIPS I/ECOFF version. * gas/mips/r3000@ecoff@sd-forward.d: Likewise, R3000/ECOFF version. * gas/mips/r3900@ecoff@sd-forward.d: Likewise, R3900/ECOFF version. * gas/mips/mips2@ecoff@sd-forward.d: Likewise, MIPS II/ECOFF version. * gas/mips/mips32@ecoff@sd-forward.d: Likewise, MIPS32/ECOFF version. * gas/mips/mips32r2@ecoff@sd-forward.d: Likewise, MIPS32r2/ECOFF version. * gas/mips/l_d.d: New test. * gas/mips/mips1@l_d.d: Likewise, MIPS I version. * gas/mips/r3000@l_d.d: Likewise, R3000 version. * gas/mips/r3900@l_d.d: Likewise, R3900 version. * gas/mips/l_d-forward.d: New test. * gas/mips/mips1@l_d-forward.d: Likewise, MIPS I version. * gas/mips/r3000@l_d-forward.d: Likewise, R3000 version. * gas/mips/r3900@l_d-forward.d: Likewise, R3900 version. * gas/mips/s_d.d: New test. * gas/mips/mips1@s_d.d: Likewise, MIPS I version. * gas/mips/r3000@s_d.d: Likewise, R3000 version. * gas/mips/r3900@s_d.d: Likewise, R3900 version. * gas/mips/s_d-forward.d: New test. * gas/mips/mips1@s_d-forward.d: Likewise, MIPS I version. * gas/mips/r3000@s_d-forward.d: Likewise, R3000 version. * gas/mips/r3900@s_d-forward.d: Likewise, R3900 version. * gas/mips/ldc1.d: New test. * gas/mips/ldc1-forward.d: Likewise. * gas/mips/sdc1.d: Likewise. * gas/mips/sdc1-forward.d: Likewise. * gas/mips/sd-n32.d: Likewise. * gas/mips/sd-n64.d: Likewise. * gas/mips/sd-f-n32.d: Likewise. * gas/mips/sd-f-n64.d: Likewise. * gas/mips/l_d-n32.d: Likewise. * gas/mips/l_d-n64.d: Likewise. * gas/mips/l_d-f-n32.d: Likewise. * gas/mips/l_d-f-n64.d: Likewise. * gas/mips/s_d-n32.d: Likewise. * gas/mips/s_d-n64.d: Likewise. * gas/mips/s_d-f-n32.d: Likewise. * gas/mips/s_d-f-n64.d: Likewise. * gas/mips/ldc1-n32.d: Likewise. * gas/mips/ldc1-n64.d: Likewise. * gas/mips/ldc1-f-n32.d: Likewise. * gas/mips/ldc1-f-n64.d: Likewise. * gas/mips/sdc1-n32.d: Likewise. * gas/mips/sdc1-n64.d: Likewise. * gas/mips/sdc1-f-n32.d: Likewise. * gas/mips/sdc1-f-n64.d: Likewise. * gas/mips/mips.exp: Run the new tests.
2010-10-24 * gas/mips/ld.s: Adjust to let data objects be onlyMaciej W. Rozycki13-0/+665
defined/declared (as appropriate) at the end of assembly, based on the presence or not of the "forward" symbol. * gas/mips/ld-forward.d: New test. * gas/mips/mips1@ld-forward.d: Likewise. MIPS I version. * gas/mips/r3000@ld-forward.d: Likewise, R3000 version. * gas/mips/ecoff@ld-forward.d: Likewise, ECOFF version. * gas/mips/r3900@ecoff@ld-forward.d: Likewise, R3900/ECOFF version. * gas/mips/mips2@ecoff@ld-forward.d: Likewise, MIPS II/ECOFF version. * gas/mips/mips32@ecoff@ld-forward.d: Likewise, MIPS32/ECOFF version. * gas/mips/mips32r2@ecoff@ld-forward.d: Likewise, MIPS32r2/ECOFF version. * gas/mips/ld-n32-forward.d: New test. * gas/mips/ld-n64-forward.d: Likewise. * gas/mips/mips.exp: Run the new tests.
2010-10-24 * gas/mips/ld-n32.d: New test.Maciej W. Rozycki4-0/+1816
* gas/mips/ld-n64.d: Likewise. * gas/mips/mips.exp: Run the new tests.
2010-10-24 * gas/mips/ld.d: Rename to...Maciej W. Rozycki10-15/+439
* gas/mips/mips1@ld.d: ... this. * gas/mips/ld-ilocks.d: Rename to... * gas/mips/ld.d: ... this. * gas/mips/r3000@ld.d: New test, R3000 version. * gas/mips/ecoff@ld.d: Likewise, ECOFF version. * gas/mips/r3900@ecoff@ld.d: Likewise, R3900/ECOFF version. * gas/mips/mips2@ecoff@ld.d: Likewise, MIPS II/ECOFF version. * gas/mips/mips32@ecoff@ld.d: Likewise, MIPS32/ECOFF version. * gas/mips/mips32r2@ecoff@ld.d: Likewise, MIPS32r2/ECOFF version. * gas/mips/mips.exp: Remove "ld-ilocks" and run "ld" over all architectures matching "mips1".
2010-10-24 * gas/mips/mips.exp (run_dump_test_arch): Check for the presenceMaciej W. Rozycki2-3/+29
of a file-format-specific test too. (run_dump_test_arches): Pull elf, ecoff and aout variables for use by the above.
2010-10-24 * gas/mips/ld.s: Remove "l.d", "s.d" and "sd" instructions.Maciej W. Rozycki4-136/+6
* gas/mips/ld.d: Adjust accordingly. * gas/mips/ld-ilocks.d: Likewise
2010-10-24 * gas/mips/ld.s: Remove ".set mips1".Maciej W. Rozycki5-11/+15
* gas/mips/ld.d: Remove "-march=r4000" and "-mmips:4000" from gas/objdump options. * gas/mips/ld-ilocks.d: Add "-32" to gas options. * gas/mips/mips.exp: Run the two cases with run_dump_test_arches.
2010-10-24 * gas/mips/ld.s: Remove MIPS III bits.Maciej W. Rozycki6-662/+9
* gas/mips/ld.d: Adjust accordingly. * gas/mips/ld-ilocks.d: Likewise. * gas/mips/ld-ilocks-addr32.d: Remove file. * gas/mips/mips.exp: Adjust accordingly.
2010-10-24 * gas/mips/ld.d: Spell out reloc names.Maciej W. Rozycki4-750/+756
* gas/mips/ld-ilocks.d: Likewise. * gas/mips/ld-ilocks-addr32.d: Likewise.
2010-10-24*** empty log message ***gdbadmin1-1/+1
2010-10-23daily updateAlan Modra1-1/+1
2010-10-232010-10-23 Mark Mitchell <mark@codesourcery.com>Mark Mitchell22-45/+103
* config/obj-elf.c (elf_adjust_symtab): New. Move group section processing here from elf_frob_file. Ensure that group signature symbols have the name of the group. (elf_frob_file): Move group section processing to elf_adjust_symtab. * config/obj-elf.h (elf_adjust_symtab): Declare. (obj_adjust_symtab): Define. * config/tc-arm.c (arm_adjust_symtab): Call elf_adjust_symtab. 2010-10-23 Mark Mitchell <mark@codesourcery.com> * gas/elf/elf.exp: Add group0c test. * gas/elf/group0c.d: New. * gas/elf/group0a.d: Expect ".group" for the name of group sections. * gas/elf/group0b.d: Likewise. * gas/elf/group1a.d: Likewise. * gas/elf/group1b.d: Likewise. * gas/elf/groupautoa.d: Likewise. * gas/elf/groupautob.d: Likewise. * gas/elf/section4.d: Likewise. * gas/ia64/group-1.d: Likewise. Adjust hard-coded constants. 2010-10-22 Mark Mitchell <mark@codesourcery.com> * binutils-all/group-5.d: Expect ".group" for the name of group sections. * binutils-all/strip-2.d: Likewise. 2010-10-23 Mark Mitchell <mark@codesourcery.com> * ld-elf/group10.d: Expect ".group" for the name of group sections. * ld-elf/group2.d: Likewise. * ld-elf/group7.d: Likewise.
2010-10-23merge from gccDJ Delorie2-5/+7
2010-10-23*** empty log message ***gdbadmin1-1/+1
2010-10-22daily updateAlan Modra1-1/+1
2010-10-22 ld:Rainer Orth13-7/+119
* emulparams/elf32_sparc_sol2.sh (OUTPUT_FORMAT): Set to elf32-sparc-sol2. * emulparams/elf64_sparc_sol2.sh (OUTPUT_FORMAT): Set to elf64-sparc-sol2. gas: * config/tc-sparc.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define as elf32-sparc-sol2. (ELF64_TARGET_FORMAT): Define as elf64-sparc-sol2. bfd: * elfxx-sparc.c (tpoff): Define bed, static_tls_size. Consider static_tls_alignment. * elf32-sparc.c (TARGET_BIG_SYM): Redefine to bfd_elf32_sparc_sol2_vec. (TARGET_BIG_NAME): Redefine to elf32-sparc-sol2. (elf32_bed): Redefine to elf32_sparc_sol2_bed. (elf_backend_static_tls_alignment): Redefine to 8. Include elf32-target.h. (elf_backend_static_tls_alignment): Undef again for VxWorks. * elf64-sparc.c (TARGET_BIG_SYM): Redefine to bfd_elf64_sparc_sol2_vec. (TARGET_BIG_NAME): Redefine to elf64-sparc-sol2. (ELF_OSABI): Undef. (elf64_bed): Redefine to elf64_sparc_sol2_bed. (elf_backend_static_tls_alignment): Redefine to 16. Include elf64-target.h. * config.bfd (sparc-*-solaris2.[0-6]): Split from sparc-*-elf*. Set targ_defvec to bfd_elf32_sparc_sol2_vec. [BFD64] (sparc-*-solaris2*): Set targ_defvec to bfd_elf32_sparc_sol2_vec. Replace bfd_elf64_sparc_vec by bfd_elf64_sparc_sol2_vec in targ_selvecs. * configure.in: Handle bfd_elf32_sparc_sol2_vec, bfd_elf64_sparc_sol2_vec. * configure: Regenerate. * targets.c (bfd_elf32_sparc_sol2_vec): Declare. (bfd_elf64_sparc_sol2_vec): Declare. (_bfd_target_vector): Add bfd_elf32_sparc_sol2_vec, bfd_elf64_sparc_sol2_vec.
2010-10-22 * gas/all/fwdexp.d: Also look for f8ffffff.Nick Clifton6-1/+16
* gas/arm/msr-reg-thumb.d: Skip for non-ELF based targets. * gas/arm/vldr.d: Likewise. * gas/arm/thumb2_ldmstm.d: Allow for extra NOPs at the end of the disassembly. * gas/cfi/cfi.exp (cfi-arm-1): Only run for ELF based ARM targets.
2010-10-22*** empty log message ***gdbadmin1-1/+1
2010-10-21 * Makefile.am (CLEANFILES): Add stamp-lm32. Sort.Alan Modra3-6/+13
* Makefile.in: Regenerate.
2010-10-21 * Makefile.in (install): Remove dependency of install-only andJie Zhang5-3/+83
recursively invoke make for install-only. * data-directory/Makefile.in: Add FLAGS_TO_PASS variable. (install): Pass FLAGS_TO_PASS when recursively make install-only. gdbserver/ * Makefile.in: Add FLAGS_TO_PASS variable. (install): Remove dependency of install-only and recursively invoke make for install-only.
2010-10-21 * ldwrite.c (build_link_order <lang_data_statement_enum>): Don'tAlan Modra2-44/+60
output when section has no contents. (build_link_order <lang_reloc_statement_enum>): Likewise.
2010-10-21daily updateAlan Modra1-1/+1
2010-10-21bfd:Joseph Myers67-106/+175
* elf32-tic6x.c (elf32_tic6x_merge_arch_attributes): Update for attribute renaming. (elf_backend_obj_attrs_section): Change to ".c6xabi.attributes". binutils: * readelf.c (display_tic6x_attribute): Update for attribute renaming. gas: * config/tc-tic6x.c (tic6x_arch_attribute, tic6x_arches, md_assemble, tic6x_set_attributes): Update for attribute renaming. * doc/c-tic6x.texi: Update for attribute renaming. gas/testsuite: * gas/tic6x/attr-arch-directive-1.d, gas/tic6x/attr-arch-directive-2.d, gas/tic6x/attr-arch-directive-3.d, gas/tic6x/attr-arch-directive-4.d, gas/tic6x/attr-arch-directive-4.s, gas/tic6x/attr-arch-directive-5.d, gas/tic6x/attr-arch-directive-5.s, gas/tic6x/attr-arch-opts-c62x.d, gas/tic6x/attr-arch-opts-c64x+.d, gas/tic6x/attr-arch-opts-c64x.d, gas/tic6x/attr-arch-opts-c674x.d, gas/tic6x/attr-arch-opts-c67x+.d, gas/tic6x/attr-arch-opts-c67x.d, gas/tic6x/attr-arch-opts-none-1.d, gas/tic6x/attr-arch-opts-none-2.d, gas/tic6x/attr-arch-opts-override-1.d, gas/tic6x/attr-arch-opts-override-2.d: Update for attribute renaming and renumbering. include/elf: * tic6x-attrs.h (Tag_C6XABI_Tag_CPU_arch): Change to Tag_ISA, value 4. * tic6x.h (Values for Tag_C6XABI_Tag_CPU_arch): Rename for attribute renaming. ld: * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Use .c6xabi.attributes, not __TI_build_attributes. ld/testsuite: * ld-tic6x/attr-arch-c62x-c62x.d, ld-tic6x/attr-arch-c62x-c64x+.d, ld-tic6x/attr-arch-c62x-c64x.d, ld-tic6x/attr-arch-c62x-c674x.d, ld-tic6x/attr-arch-c62x-c67x+.d, ld-tic6x/attr-arch-c62x-c67x.d, ld-tic6x/attr-arch-c64x+-c62x.d, ld-tic6x/attr-arch-c64x+-c64x+.d, ld-tic6x/attr-arch-c64x+-c64x.d, ld-tic6x/attr-arch-c64x+-c674x.d, ld-tic6x/attr-arch-c64x+-c67x+.d, ld-tic6x/attr-arch-c64x+-c67x.d, ld-tic6x/attr-arch-c64x-c62x.d, ld-tic6x/attr-arch-c64x-c64x+.d, ld-tic6x/attr-arch-c64x-c64x.d, ld-tic6x/attr-arch-c64x-c674x.d, ld-tic6x/attr-arch-c64x-c67x+.d, ld-tic6x/attr-arch-c64x-c67x.d, ld-tic6x/attr-arch-c674x-c62x.d, ld-tic6x/attr-arch-c674x-c64x+.d, ld-tic6x/attr-arch-c674x-c64x.d, ld-tic6x/attr-arch-c674x-c674x.d, ld-tic6x/attr-arch-c674x-c67x+.d, ld-tic6x/attr-arch-c674x-c67x.d, ld-tic6x/attr-arch-c67x+-c62x.d, ld-tic6x/attr-arch-c67x+-c64x+.d, ld-tic6x/attr-arch-c67x+-c64x.d, ld-tic6x/attr-arch-c67x+-c674x.d, ld-tic6x/attr-arch-c67x+-c67x+.d, ld-tic6x/attr-arch-c67x+-c67x.d, ld-tic6x/attr-arch-c67x-c62x.d, ld-tic6x/attr-arch-c67x-c64x+.d, ld-tic6x/attr-arch-c67x-c64x.d, ld-tic6x/attr-arch-c67x-c674x.d, ld-tic6x/attr-arch-c67x-c67x+.d, ld-tic6x/attr-arch-c67x-c67x.d: Update for attribute renaming.
2010-10-21 * elf-bfd.h (struct elf_backend_data): New memberRainer Orth6-4/+56
static_tls_alignment. * elfxx-target.h (elf_backend_static_tls_alignment): Provide default. (elfNN_bed): Initialize static_tls_alignment. * elflink.c (bfd_elf_final_link): Don't round end of TLS section if static TLS has special alignment requirements. * elf32-i386.c (elf_i386_tpoff): Define bed, static_tls_size. Consider static_tls_alignment. (elf_backend_static_tls_alignment): Redefine for Solaris 2. Undef again for VxWorks. * elf64-x86-64.c (elf64_x86_64_tpoff): Define bed, static_tls_size. Consider static_tls_alignment. (elf_backend_static_tls_alignment): Redefine for Solaris 2. Undef again for Intel L1OM.
2010-10-21*** empty log message ***gdbadmin1-1/+1
2010-10-202010-10-20 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+8
* gdb.threads/fork-child-threads.exp: Don't run on remote target.
2010-10-20daily updateAlan Modra1-1/+1
2010-10-20 * gdbint.texinfo (Misc Guidelines): Renamed from Coding.Doug Evans2-216/+247
All references updated. Correct sections marked as subsections. (Coding Standards): New chapter. Move the coding standard related subsections here. Add section on Python coding standards.
2010-10-20cvs add smartp.cc smartp.expSami Wagiaalla2-0/+240
Original changelog: Support overloading of 'operator->'. [...] 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com> * gdb.cp/smartp.exp: New test. * gdb.cp/smartp.cc : New test.
2010-10-20 * plugin.c (get_symbols): Check symbol type correctly.Dave Korn2-1/+5
2010-10-20 * Makefile.def (target_modules): Set lib_path to src/.libs forIan Lance Taylor4-4/+11
libstdc++-v3 module. * Makefile.tpl: Fix typo in TARGET_LIB_PATH comment. * Makefile.in: Rebuild.
2010-10-202010-10-20 Doug Kwan <dougkwan@google.com>Doug Kwan3-1/+16
* arm.cc (Arm_relobj::do_read_symbols): Warn about ARM EXIDX sections without SHF_LINK_ORDER flags. * layout.cc (Layout::choose_output_section): Do not filter SHF_LINK_ORDER flag in a relocatable link.
2010-10-20 * ld-plugin/plugin.exp: Mark tests UNSUPPORTED, not UNRESOLVED, ifDave Korn2-2/+9
no suitable target compiler is available.
2010-10-202010-10-20 Hui Zhu <teawater@gmail.com>Hui Zhu2-2/+42
* tracepoint.c (tfile_get_traceframe_address): Call extract_signed_integer. (tfile_trace_find): Call extract_signed_integer and extract_unsigned_integer. Change data_size to unsigned int. (tfile_fetch_registers): Call extract_unsigned_integer. (tfile_xfer_partial): Ditto. (tfile_get_trace_state_variable_value): Call extract_signed_integer and extract_unsigned_integer.
2010-10-20 * remote.c (remote_get_threadlist): If we got emptyVladimir Prus2-1/+7
response, bail out immediately, and don't emit any warnings.
2010-10-20*** empty log message ***gdbadmin1-1/+1
2010-10-19daily updateAlan Modra1-1/+1
2010-10-19 * arm-tdep.c (thumb_get_next_pc_raw): Handle Thumb-16 encodingUlrich Weigand2-0/+18
for "mov pc, REG" as well. (thumb_instruction_changes_pc): Likewise.