aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2005-03-012005-03-01 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>Ramana Radhakrishnan4-1/+23
PR gas/708 * config/tc-arc.c(md_assemble):Initialize suffix for extension suffixes also. * testsuite/gas/arc/extensions.s:New file * testsuite/gas/arc/extensions.d:New file
2005-03-01merge from gccDJ Delorie5-0/+95
2005-03-01 * config/obj-coff.c (fixup_segment): Delete sy_mri_common assertion.Alan Modra2-1/+2
2005-03-01 * gas/m68k/mcf-emac.d: Allow for 64-bit addresses.Alan Modra5-4/+11
* gas/m68k/mcf-mac.d: Likewise. * gas/m68k/mcf-mov3q.d: Likewise. * gas/m68k/mode5.d: Likewise.
2005-03-01merge from gccDJ Delorie2-5/+10
2005-03-01 * as.h (assert): Warning fix.Alan Modra7-13/+21
* expr.c (expr): Correct assertion. * read.c (s_comm_internal): Remove assertion. * write.c (relax_segment): Enable vma assertion only for BFD_ASSEMBLER. (fixup_segment): Remove assertion. * config/tc-dlx.c (machine_ip): Remove untrue assertions. (md_apply_fix3): Likewise. * config/tc-i370.c (md_begin): Correct assertion. (i370_macro): Warning fix for assertion.
2005-03-01 * config/tc-m68k.c (md_assemble): Don't use sizeof host short.Alan Modra2-1/+2
2005-03-01 * targets.h: Typo fix.Alan Modra3-2/+5
* bfd-in2.h: Regenerate.
2005-03-01 * configure.in (AC_C_BIGENDIAN): Invoke.Alan Modra10-123/+389
* configure: Regenerate. * write.c (write_object_file <!BFD_ASSEMBLER>): Don't use sizeof host variable to set string header size. * config/obj-aout.c (obj_header_append): Don't use host structs. (obj_symbol_to_chars): Likewise. (obj_emit_strings): Likewise. Use the passed in output pointer. * config/obj-aout.h (H_GET_FILE_SIZE): Include H_GET_LINENO_SIZE. * config/obj-bout.c (obj_emit_relocations): Use md_reloc_size, not sizeof host struct. (obj_header_append, obj_symbol_to_chars): Don't use host structs. (obj_emit_strings): Likewise. * config/obj-bout.h (EXEC_BYTES_SIZE): Define. (N_TXTOFF, H_GET_FILE_SIZE, H_GET_HEADER_SIZE): Use instead of sizeof host struct. (H_SET_SYMBOL_TABLE_SIZE): Hard code sym size rather than using sizeof host struct. (host_number_to_chars): Define. * config/obj-hp300.c (hp300_header_append): Don't use sizeof host internal struct to set header sizes. * config/tc-i960.c (md_number_to_field): Warning fix. (md_ri_to_chars): Use host byte order. (get_cdisp, md_apply_fix3): Warning fix.
2005-03-01 * bout.c (b_out_write_object_contents): Don't use sizeof on hostAlan Modra2-7/+13
structs to size on-disk structures. (b_out_set_section_contents): Size the external struct, not the internal one for on-disk size. (b_out_sizeof_headers): Likewise.
2005-03-01*** empty log message ***gdbadmin1-1/+1
2005-02-28 * elf64-ppc.c (ppc64_elf_size_stubs): Override defined dot-symAlan Modra2-2/+6
entry points with the func descriptor as well as undefweak.
2005-02-28daily updateAlan Modra1-1/+1
2005-02-282005-02-28 Paul Brook <paul@codesourcery.com>Paul Brook1-2/+2
* doc/c-arc.texi: Add missing @code.
2005-02-28Update documentation about ARC's extension instructions.Nick Clifton2-11/+142
2005-02-28 * dwarf2loc.c (loclist_read_variable): Set optimized_outDaniel Jacobowitz12-77/+119
instead of reporting an error. * valprint.c (value_check_printable): New function. (common_val_print): New function. Use value_check_printable. (value_print): Use value_check_printable. * value.h (common_val_print): Add prototype. * c-valprint.c (c_val_print): Use common_val_print. * cp-valprint.c (cp_print_value_fields): Likewise. (cp_print_hpacc_virtual_table_entries): Likewise. * f-valprint.c (f_val_print): Likewise. * jv-valprint.c (java_value_print, java_print_value_fields): Likewise. * scm-valprint.c (scm_value_print): Likewise. * stack.c (print_frame_args): Likewise. * varobj.c (c_value_of_variable): Likewise. * p-valprint.c (pascal_val_print, pascal_value_print): Likewise. (pascal_object_print_value_fields): Likewise. Update call to pascal_object_print_static_field. (pascal_object_print_static_field): Remove TYPE argument. Use common_val_print.
2005-02-28(pe_ILF_build_a_bfd): Do not assume that an @ will be present whenNick Clifton2-5/+13
IMPORT_NAME_UNDOECRATE is used.
2005-02-282005-02-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-15/+50
PR 757 * elf-bfd.h (_bfd_elf_merge_symbol): Add a pointer to unsigned int. * elf32-sh-symbian.c (sh_symbian_relocate_section): Pass NULL to _bfd_elf_merge_symbol. * elflink.c (_bfd_elf_merge_symbol): Use the pointer to unsigned int to return the alignment of the old common symbol in the dynamic object. (_bfd_elf_add_default_symbol): Pass NULL to _bfd_elf_merge_symbol. (elf_link_add_object_symbols): Pass &old_alignment to _bfd_elf_merge_symbol. Get the alignment of the new common symbol in the dynamic object.
2005-02-28 * readelf.c (get_file_type, get_machine_name, get_osabi_name,Jakub Jelinek2-68/+90
get_segment_type, get_section_type_name, get_elf_class, get_data_encoding, get_group_flags, dynamic_section_mips_val, get_symbol_binding, get_symbol_type, get_TAG_name, get_FORM_name, get_AT_name, process_mips_specific, process_gnu_liblist, get_note_type, get_netbsd_elfcore_note_type): Use snprintf instead of sprintf where needed. (get_dynamic_type): Likewise. Increase buff to 64 bytes. (get_elf_section_flags): Increase buff to 33 bytes. Avoid using strcat. (get_dynamic_flags): Renamed to... (print_dynamic_flags): ... this. Print the flags to stdout instead of returning them as string. (process_dynamic_section): Adjust caller.