aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2005-03-02 * gas/mips/tls-o32.d, gas/mips/tls-o32.s, gas/mips/tls-ill.l,Daniel Jacobowitz6-0/+171
gas/mips/tls-ill.s: New files. * gas/mips/mips.exp: Run TLS tests.
2005-03-02 * mips.h: Define MIPS TLS relocations.Daniel Jacobowitz2-2/+22
2005-03-02 * linux-nat.c (linux_supports_tracevforkdone, child_follow_fork):Daniel Jacobowitz2-3/+13
Use LWP IDs.
2005-03-02 * gas/ppc/astest.d: Adjust for relocs reduced to section sym.Alan Modra9-95/+130
* gas/ppc/astest2.d: Likewise. * gas/ppc/astest2_64.d: Likewise. * ppc/astest64.d: Likewise. * ppc/booke.d: Likewise. * ppc/power4.d: Likewise. * ppc/test1elf32.d: Likewise. * ppc/test1elf64.d: Likewise.
2005-03-02 * config/tc-ppc.c (ppc_fix_adjustable <ELF>): Remove bogus checks.Alan Modra2-8/+7
2005-03-02bfd/Jan Beulich13-10/+33
2005-03-02 Jan Beulich <jbeulich@novell.com> * Makefile.am: Add dependency of cache.o on libiberty.h. * cache.c: Include libiberty.h. (bfd_open_file): Use unlink_if_ordinary instead of unlink. binutils/ 2005-03-02 Jan Beulich <jbeulich@novell.com> * ar.c (remove_output): Use unlink_if_ordinary instead of unlink. * objcopy.c (copy_file): Likewise. (strip_main): Likewise. gas/ 2005-03-02 Jan Beulich <jbeulich@novell.com> * as.c (main): Use unlink_if_ordinary instead of unlink. * messages.c (as_fatal): Likewise. ld/ 2005-03-02 Jan Beulich <jbeulich@novell.com> * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink. * pe-dll.c (pe_dll_generate_implib): Likewise.
2005-03-02gas/Jan Beulich10-5/+143
2005-03-02 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (build_modrm_byte): Add lock prefix for cr8...15 accesses. (parse_register): Allow cr8...15 in all modes. gas/testsuite/ 2005-03-02 Jan Beulich <jbeulich@novell.com> * gas/i386/cr-err.[ls]: New. * gas/i386/crx.[ds]: New. * gas/i386/i386.exp: Run new tests. opcodes/ 2005-03-02 Jan Beulich <jbeulich@novell.com> * i386-dis.c (print_insn): Suppress lock prefix printing for cr8...15 accesses. (OP_C): Consider lock prefix in non-64-bit modes.
2005-03-02gas/Jan Beulich5-1/+63
2005-03-02 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (intel_e11): If not followed by T_PTR, treat T_BYTE etc. like normal symbol references (T_ID). gas/testsuite/ 2005-03-02 Jan Beulich <jbeulich@novell.com> * gas/i386/intelok.d: Add -r to objdump options. Adjust expectations. * gas/i386/intelok.s: Add checks for various special memory operands.
2005-03-02 * elf.c (bfd_section_from_shdr <default case>): CallZack Weinberg3-11/+16
elf_backend_section_from_shdr hook unconditionally, and return what it returns. (bfd_section_from_phdr): Similarly, for elf_backend_section_from_phdr. * elfxx-target.h (elf_backend_section_from_shdr) (elf_backend_section_from_phdr): Default to _bfd_elf_make_section_from_shdr and _bfd_elf_make_section_from_phdr respectively.
2005-03-02 * symbols.c (fb_label_name): Fix silly thinko in last change.Alan Modra2-4/+6
2005-03-02*** empty log message ***gdbadmin1-1/+1
2005-03-01daily updateAlan Modra1-1/+1
2005-03-01 * expr.c (integer_constant): Remove TARGET_WORD_SIZE hack.Alan Modra3-7/+5
* config/tc-m68k.h (TARGET_WORD_SIZE): Delete.
2005-03-01PR libgcj/20160Alexandre Oliva2-0/+64
* ltmain.sh: Avoid creating archives with components that have duplicate basenames.
2005-03-01 * symbols.c (fb_label_name): Allow an augend of 2 for mmix.Alan Modra3-7/+19
also fix last changelog entry.
2005-03-01Revert previous deltaNick Clifton3-7/+2
2005-03-01ld-d10v/default_layout.d: Adjust expected offsets to allow for section ↵Nick Clifton3-4/+18
alignment. ld-discard/extern.d: Adjust expected warning to take into account the fact that the linker's name might be included and that the reloc might have been adjusted to be against the section symbol.
2005-03-01* ld-cris/warn3.d: Only run this version of the test for cris-aout targets.Nick Clifton3-2/+9
* ld-cris/warn4.d: Only run this version of the test for cris-elf targets.
2005-03-01Fix undefined local label test for COFF based ARM portsNick Clifton4-1/+15
2005-03-01objdump.c: Fix coding for DISASSEMBLER_NEEDS_RELOC:Nick Clifton5-17/+95
(struct objdump_disasm_info): Add 'reloc' field. (disassemble_bytes): Fix check for when an insn has a reloc associated with it. Improve comment explaining why the use of octets is wrong. Set the 'reloc' field in objdump_disasm_info structure. (objdump_print_addr): Use new 'reloc' field to lookup the correct address for the symbol associated with the current instruction's relocation. (disassemble_info): Initialise 'reloc' field. gas/arm/inst.d: Allow for ARM ports which decode the reloc associated with branches and so show the exact symbolic destination address rather than an offset from the start of the section. gas/arm/pic.d: Likewise.