aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-03-05Regenerate .pot filesAlan Modra12-4454/+5262
2005-03-05 * ld-alpha/tlsbin.dd: Update to suit changed section layout andAlan Modra9-125/+126
removed section symbols. * ld-alpha/tlsbin.rd: Likewise. * ld-alpha/tlsbin.sd: Likewise. * ld-alpha/tlsbinr.dd: Likewise. * ld-alpha/tlsbinr.rd: Likewise. * ld-alpha/tlspic.dd: Likewise. * ld-alpha/tlspic.rd: Likewise. * ld-alpha/tlspic.sd: Likewise.
2005-03-05 * ld-powerpc/tlsexe.g: Update.Alan Modra5-146/+151
* ld-powerpc/tlsexe.r: Update. * ld-powerpc/tlsexetoc.g: Update. * ld-powerpc/tlsexetoc.r: Update.
2005-03-05 * elf64-ppc.c (update_plt_info): Don't mark new ABI call symsAlan Modra2-7/+14
with is_func. (func_desc_adjust): Force dot-syms local in executables as well as shared libs.
2005-03-05Fix botched checkin.Mark Kettenis1-2/+0
2005-03-05* mips64obsd-tdep.c (mips64obsd_init_abi): Don't setMark Kettenis1-2/+0
software_single_step.
2005-03-05* mips64obsd-tdep.c (mips64obsd_init_abi): Don't setMark Kettenis1-0/+7
software_single_step. * acconfig.h: Remove #undef.
2005-03-052005-03-04 Michael Snyder <msnyder@redhat.com>Michael Snyder4-37/+599
* mn10300-prologue.c: New file. Prologue analysis. * mn10300-tdep.c: Move REGNUM values to mn10300-tdep.h. (mn10300_frame_unwind_cache): Don't call trad_frame_set_id until after analyze_prologue, and don't call trad_frame_set_base at all (let analyze_prologue do it).
2005-03-052005-03-04 Michael Snyder <msnyder@redhat.com>Michael Snyder3-0/+17
* trad-frame.c (trad_frame_set_reg_value): New function. * trad-frame.h (trad_frame_set_reg_value): Export.
2005-03-05 bfd/ChangeLogThiemo Seufer12-12/+129
* elfxx-mips.c (mips_elf_calculate_relocation): Handle special '__gnu_local_gp' symbol used by gas -mno-shared. gas/ChangeLog * config/tc-mips.c (macro_build_lui): Use '__gnu_local_gp' instead of '_gp' for -mno-shared optimization. (s_cpload): Ditto. (s_abicalls): Document it in the comment. (md_show_usage): Document the -mno-shared option. gas/testsuite/ChangeLog * gas/mips/elf-rel23b.d: Use '__gnu_local_gp' instead of '_gp' for -mno-shared optimization. * gas/mips/elf-rel25a.d: Ditto. ld/testsuite/ChangeLog * ld-mips-elf/multi-got-no-shared-1.s, ld-mips-elf/multi-got-no-shared-2.s, ld-mips-elf/multi-got-no-shared.d: New tests. * ld-mips-elf/mips-elf.exp: Run them.
2005-03-05*** empty log message ***gdbadmin1-1/+1
2005-03-04daily updateAlan Modra1-1/+1
2005-03-04 * Makefile.in (stamp-h): Set CONFIG_HEADERS explicitly.Daniel Jacobowitz2-1/+5
2005-03-04 * Makefile.in (remote.o): Update dependencies.Daniel Jacobowitz3-1/+7
* remote.c: Include "observer.h".
2005-03-04 * target.c (target_read_memory_partial): Always initializeDaniel Jacobowitz2-5/+47
ERR. (target_write_memory_partial): Likewise.
2005-03-042004-03-03 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam3-0/+18
* lib/compiler.c: Add test for IBM's xlc compiler. * lib/compiler.cc: Likewise.
2005-03-04Fix unexpected failrues for arm toolchainsNick Clifton5-18/+28
2005-03-04 * config/tc-mips.c (mips_set_options): Add sym32 field.Richard Sandiford13-756/+2282
(mips_opts): Initialize it. (HAVE_32BIT_ADDRESSES): Set to true if pointers are 32 bits wide. (HAVE_64BIT_ADDRESSES): Redefine as !HAVE_32BIT_ADDRESSES. (HAVE_32BIT_SYMBOLS, HAVE_64BIT_SYMBOLS): New macros. (load_address): Use HAVE_64BIT_SYMBOLS instead of HAVE_64BIT_ADDRESSES when deciding whether to use a symbolic %highest/%higher expansion. (macro): Likewise. Remove o64/n32 linux hack. Always use ADDRESS_ADD*_INSN for address addition in the expansion of "dla" and "la". Handle constants separately from symbolic expressions in the "ld_st:" case, using 64-bit arithmetic if HAVE_64BIT_ADDRESSES and using load_register to load the high part of the address. (OPTION_MSYM32, OPTION_NO_MSYM32): New macros. (OPTION_ELF_BASE): Bump by 2. (md_longopts): Add entries for -msym32 and -mno-sym32. (md_parse_option): Handle them. (usage): Document them. (s_mipsset): Handle ".set sym32" and ".set nosym32". (s_cpload, s_cpsetup): Use HAVE_64BIT_SYMBOLS instead of HAVE_64BIT_ADDRESSES to detect 64-bit values of "_gp". * doc/c-mips.texi: Document ".set sym32", ".set nosym32", -msym32 and -mno-sym32.
2005-03-04*** empty log message ***gdbadmin1-1/+1
2005-03-03daily updateAlan Modra1-1/+1
2005-03-032005-03-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+10
* elf-bfd.h (elf_backend_data): Add "const char *" to elf_backend_section_from_phdr. * elf.c (bfd_section_from_phdr): Pass "proc" to the elf_backend_section_from_phdr hook.
2005-03-03 * config/tc-mips.c (load_address): Implement GP optimizationThiemo Seufer2-42/+88
for 64bit address space non-PIC. Fix formatting. (macro): Likewise. Simplify code. (md_parse_option): Don't bail out if -G 0 is set for PIC code. (mips_after_parse_args): Simplify code.
2005-03-03(and.s): Expect this test to fail for the tic4x-coff target because it usesNick Clifton2-0/+9
the '&' character as a line separator.
2005-03-03Remove redundant code enclosed by #ifdef RELAX_PAREN_GROUPING....#endif.Nick Clifton2-6/+4
2005-03-03* gas/sh/basic.exp: Add an sh-hms version of the pcrel test.Nick Clifton5-2/+38
* gas/sh/pcrel-hms.d: New file. Adjusted form of pcrel-coff.d for the sh-hms target. * gas/sh/arch/arch.exp: Expect the same failures for sh-hms port as for the sh-coff port.
2005-03-03 * inferiors.c (change_inferior_id, add_thread, find_inferior_id):Daniel Jacobowitz8-57/+84
Take unsigned long arguments for PIDs. * linux-low.c (add_process, linux_attach_lwp, linux_attach) (linux_thread_alive, linux_wait_for_event, kill_lwp, send_sigstop) (wait_for_sigstop, linux_resume_one_process) (regsets_fetch_inferior_registers, linux_send_signal) (linux_read_auxv): Likewise. Update the types of variables holding PIDs. Update format string specifiers. * linux-low.h (struct process_info, linux_attach_lwp): Likewise. * remote-utils.c (prepare_resume_reply): Likewise. * server.c (cont_thread, general_thread, step_thread) (thread_from_wait, old_thread_from_wait, signal_pid): Change type to unsigned long. (handle_query): Update format specifiers. (handle_v_cont, main): Use strtoul for thread IDs. * server.h (struct inferior_list_entry): Use unsigned long for ID. (add_thread, find_inferior_id, change_inferior_id, cont_thread) (general_thread, step_thread, thread_from_wait) (old_thread_from_wait): Update. * target.h (struct thread_resume): Use unsigned long for THREAD. (struct target_ops): Use unsigned long for arguments to attach and thread_alive.
2005-03-03 * remote.c (remote_open_1): Call observer_notify_inferior_created.Daniel Jacobowitz2-1/+7
2005-03-032005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>Ramana Radhakrishnan2-29/+54
* opcodes/arc-dis.c:Add enum a4_decoding_class. (dsmOneArcInst): Use the enum values for the decoding class Remove redundant case in the switch for decodingClass value 11
2005-03-03 * arm-tdep.c (arm_make_stub_cache, arm_stub_this_id)Daniel Jacobowitz2-0/+57
(arm_stub_unwind, arm_stub_unwind_sniffer): New. (arm_gdbarch_init): Add arm_stub_unwind_sniffer.
2005-03-03Also expect the msp430 port to fail the strings test because it definesNick Clifton2-1/+5
ONLY_STANDARD_ESCAPES.
2005-03-03 * gas/mips/mips.exp: Move tls tests to main $elf block.Richard Sandiford2-5/+7
2005-03-03* gas/arm/arch6zk.s: Add three nop instructions in order to pad the .textNick Clifton3-0/+15
section out to a 32-byte boundary as will automatically be done by the arm-aout target. * gas/arm/arch6zk.d: Add expected nop disassemblies.
2005-03-03(tc_gen_reloc): Handle the case where the reloc is the difference of twoNick Clifton2-11/+22
symbols defined in the same section.
2005-03-03(line_comment_chars): Include the # character as otherwise this breaksNick Clifton2-1/+6
#APP/#NO_APP processing.
2005-03-03Remove listing lines that are no longer emitted and fix up expected binaryNick Clifton4-21/+19
encoding.
2005-03-032005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>Ramana Radhakrishnan5-0/+24
* gas/arc/extensions.s: Add tests for extcoreregister * gas/arc/extensions.d: Likewise. * gas/arc/warn.s: Warnings for readonly core registers accessed . * gas/arc/warn.d:Likewise. * testsuite/gas/arc/arc.exp:Run extensions testcase.
2005-03-03update copyright datesAlan Modra23-23/+28
2005-03-03update copyright datesAlan Modra47-50/+59
2005-03-03update copyright datesAlan Modra210-227/+269
2005-03-03update copyright datesAlan Modra89-103/+111
2005-03-03 * gas/mips/noat-1.d: Add -mips1 to assembler options.Richard Sandiford2-1/+5
2005-03-032005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>Ramana Radhakrishnan3-0/+10
* gas/arc/ld.s:Add checks for short immediates with ld * gas/arc/ld.d:Likewise.
2005-03-032005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>Ramana Radhakrishnan2-9/+6
* config/tc-arc.c(md_assemble): Remove dead code for handling immediate indexing with ld and st.
2005-03-03update copyright datesAlan Modra71-81/+91
2005-03-03formatting, tack emacs control vars at endAlan Modra5-231/+259
2005-03-03*** empty log message ***gdbadmin1-1/+1
2005-03-02daily updateAlan Modra1-1/+1
2005-03-02 * config/tc-mips.c (percent_op): Add %tlsgd, %tlsldm, %dtprel_hi,Daniel Jacobowitz2-0/+32
%dtprel_lo, %tprel_hi, %tprel_lo, and %gottprel. (parse_relocation): Check for a word break after a relocation operator. (md_apply_fix3): Handle TLS relocations, and mark thread-local symbols.
2005-03-02 * elfxx-mips.c (struct mips_got_entry): Add tls_type.Daniel Jacobowitz8-74/+1698
(struct mips_got_info): Add tls_gotno, tls_assigned_gotno, and tls_ldm_offset. (struct mips_elf_got_per_bfd_arg): Add global_count. (struct mips_elf_count_tls_arg): New. (struct mips_elf_hash_sort_data): Update comment for min_got_dynindx. (struct mips_elf_link_hash_entry): Add tls_type and tls_got_offset. (GOT_NORMAL, GOT_TLS_GD, GOT_TLS_LDM, GOT_TLS_IE) (GOT_TLS_OFFSET_DONE, GOT_TLS_DONE): Define. (TLS_RELOC_P): Define. (TP_OFFSET, DTP_OFFSET): Define. (dtprel_base, tprel_base): New functions. (mips_elf_link_hash_newfunc): Initialize tls_type. (mips_elf_got_entry_hash, mips_elf_got_entry_eq) (mips_elf_multi_got_entry_hash, mips_elf_multi_got_entry_eq): Handle TLS entries. (mips_tls_got_relocs, mips_elf_count_local_tls_relocs) (mips_elf_count_global_tls_entries, mips_elf_count_global_tls_relocs) (mips_elf_output_dynamic_relocation, mips_elf_initialize_tls_slots) (mips_tls_got_index): New functions. (mips_elf_local_got_index): Add new R_SYMNDX, H, and R_TYPE arguments. Pass them to mips_elf_create_local_got_entry. Use mips_tls_got_index. (mips_elf_global_got_index): Add new R_TYPE and INFO arguments. Handle TLS entries. (mips_elf_got_page, mips_elf_got16_entry): Update calls to mips_elf_create_local_got_entry. (mips_elf_create_local_got_entry): Add new R_SYMNDX, H, and R_TYPE arguments. Handle TLS entries. (mips_elf_sort_hash_table_f): Add non-TLS assertions. (mips_elf_record_local_got_symbol): Add new TLS_FLAG argument. Handle TLS entries. (mips_elf_record_global_got_symbol): Likewise. (mips_elf_make_got_per_bfd): Initialize new mips_got_info members. Count TLS entries. (mips_elf_merge_gots): Handle TLS entries when merging. (mips_elf_initialize_tls_index): New function. (mips_elf_set_global_got_offset): Handle TLS entries. (mips_elf_adjust_gp): Handle TLS. (mips_elf_multi_got): Remove redundant call to mips_elf_resolve_final_got_entries. Initialize global_count. Correct a comment. Initialize new TLS members of mips_got_info. Assign TLS GOT indexes for new GOTs. (mips_elf_create_got_section): Initialize new TLS members of mips_got_info. (mips_elf_calculate_relocation): Handle TLS relocs. (_bfd_mips_elf_check_relocs): Likewise. Update calls to changed functions. (_bfd_mips_elf_always_size_sections): Handle TLS. (_bfd_mips_elf_size_dynamic_sections): Likewise. (_bfd_mips_elf_finish_dynamic_symbol): Likewise. Update calls to changed functions. (_bfd_mips_elf_copy_indirect_symbol): Copy tls_type. (_bfd_mips_elf_hide_symbol): Handle TLS. * elfn32-mips.c (elf_mips_howto_table_rel, elf_mips_howto_table_rela) (mips_reloc_map): Add TLS relocs. * elf32-mips.c (elf_mips_howto_table_rel, mips_reloc_map): Likewise. * elf64-mips.c (mips_elf64_howto_table_rel) (mips_elf64_howto_table_rela, mips_reloc_map): Likewise. * reloc.c: Define new MIPS TLS relocations. * libbfd.h, bfd-in2.h: Regenerated.
2005-03-02 * ld-mips-elf/tlsbin-o32.s, ld-mips-elf/mips-dyn.ld,Daniel Jacobowitz29-1/+1641
ld-mips-elf/tlslib-o32.got, ld-mips-elf/tlslib-o32.d, ld-mips-elf/tlslib-o32.s, ld-mips-elf/mips-lib.ld, ld-mips-elf/tlsbin-o32.got, ld-mips-elf/tlsdyn-o32.d, ld-mips-elf/tlsdyn-o32.got, ld-mips-elf/tlsbin-o32.d, ld-mips-elf/tlsdyn-o32.s, ld-mips-elf/tls-multi-got-1.got, ld-mips-elf/tls-multi-got-1-1.s, ld-mips-elf/tls-multi-got-1.d, ld-mips-elf/tls-multi-got-1.r, ld-mips-elf/tls-multi-got-1-2.s, ld-mips-elf/tlslib-o32-ver.got, ld-mips-elf/tlslib.ver, ld-mips-elf/tlslib-o32-hidden.got, ld-mips-elf/tlslib-hidden.ver, ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-3.got, ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.s, ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-1.got, ld-mips-elf/tlsdyn-o32-2.got: New files. * ld-mips-elf/mips-elf.exp: Run the new tests.