aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-04-15Delete unused variables.Kevin Buettner1-10/+0
2005-04-15 * remote.c (remote_get_thread_local_address): Throw a moreKevin Buettner2-1/+16
meaningful exception when remote target doesn't have support for the qGetTLSAddr packet.
2005-04-15Add remote TLS support.Kevin Buettner2-0/+93
2005-04-15* config/tc-mips.c (normalize_constant_expr): Fix formatting.Maciej W. Rozycki2-1/+5
2005-04-15 * remote.c (add_packet_config_cmd): Delete unused variables.Kevin Buettner2-6/+5
2005-04-15Eliminate calls to deprecated_show_value_hack(). This also eliminates theKevin Buettner2-11/+15
printing of redundant information.
2005-04-15 (MIPS): Improve documentation of heuristic-fence-post. DocumentEli Zaretskii2-3/+209
"set/show mips abi", "set/show mips saved-gpreg-size", "set/show mips stack-arg-size", "set/show mips mask-address", "set/show mips remote-mips64-transfers-32bit-regs", "set/show debug mips". (ARM): Document ARM-specific commands. (AVR): New section. Document "info io_registers". (CRIS): New section. Document "set/show cris-version" and "set/show cris-dwarf2-cfi". (HPPA): New section. Document "set/show debug hppa" and "maint print unwind". (Netrino): New subsection. Document "set/show debug nto-debug". (Super-H): New section. Document the "regs" command.
2005-04-15 * bfd/bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype.Julian Brown7-11/+78
* bfd/bfd-in2.h: Regenerate. * bfd/elf32-arm.c (elf32_arm_link_hash_table): New field, 'use_blx'. (elf32_arm_link_hash_table_create): Initialise fix_v4bx, use_blx. (bfd_elf32_arm_set_target_relocs): Handle use_blx. (elf32_arm_final_link_relocate): Use Thumb BLX for R_ARM_THM_PC22 relocations if requested to. (allocate_dynrelocs): Don't count size of omitted Thumb stubs based on use_blx rather than symbian_p. (elf32_arm_finish_dynamic_symbol): Don't output Thumb PLT stubs if use_blx is in effect. (elf32_arm_symbian_link_hash_table_create): Enable use_blx by default for SymbianOS. * ld/ld.texinfo: Document --use-blx. * ld/emultempl/armelf.em (use_blx): New variable. (arm_elf_create_output_section_statements): Communicate value of use_blx to bfd. (PARSE_AND_LIST_PROLOGUE): Add OPTION_USE_BLX. (PARSE_AND_LIST_OPTIONS): Add --use-blx option. (PARSE_AND_LIST_ARGS_CASES): Add OPTION_USE_BLX case.
2005-04-15Issue an error message when attmepting to copy an empty input file.Nick Clifton2-0/+6
2005-04-15 * gdb.texinfo (ARM): Document ARM-specific commands.Eli Zaretskii2-1/+59
2005-04-15 *gdb.texinfo (Debugging Output): Document "set/show debug lin-lwp".Eli Zaretskii2-1/+16
2005-04-15 * gdb.texinfo (Hurd Native): New subsection, documentsEli Zaretskii2-0/+180
Hurd-specific commands.
2005-04-15Use fprintf_vma to print vma values.Nick Clifton2-22/+11
2005-04-15gas/Jan Beulich6-0/+51
2005-04-15 Jan Beulich <jbeulich@novell.com> * config/obj-elf.c (obj_elf_struct): New. (elf_pseudo_table). Use it for .offset and .struct. gas/testsuite/ 2005-04-15 Jan Beulich <jbeulich@novell.com> * gas/elf/struct.[sd]: New. * gas/elf/elf.exp: Run new test.
2005-04-15 * configure.ac: Add explicit sh64 case.Corinna Vinschen8-2669/+7364
* configure: Regenerate. * sh64/configure.ac: New file. * sh64/configure.in: Remove. * sh64/configure: Regenerate. * sh64/defs-media.h (sem_fields): Add missing sfmt_ldhil member. * sh64/sim-if.c (sim_open): Use struct bfd instead of struct _bfd. (sim_create_inferior): Ditto.
2005-04-15 * MAINTAINERS: Change sh64-elf state to non-broken.Corinna Vinschen8-866/+506
* Makefile.in: Fix dependencies for sh64-tdep.o. * configure.tgt: Add sh64-*-elf case. * sh-tdep.c (sh_gdbarch_init): Reactivate bfd_mach_sh5 case. * sh64-tdep.c: Rework to replace all deprecated mechanisms with modern methods. * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o. * config/sh/sh64.mt: Resurrect.
2005-04-15 * gas/all/assign.s: New.Alan Modra4-0/+20
* gas/all/assign.d: New. * gas/all/gas.exp: Run it.
2005-04-15 * ld-d10v/default_layout.d: Update for unused section removal.Alan Modra2-5/+5
2005-04-15Include Sterling Augustine as author of previous change.Bob Wilson1-0/+1
2005-04-15 * config/tc-xtensa.c (get_aligned_diff): Handle target_size largerBob Wilson2-0/+8
than the section alignment.
2005-04-15 PR ld/815Alan Modra2-1/+10
* elflink.c (elf_smash_syms): Clear undef.next if it's not being used as a list pointer.
2005-04-152005-04-15 Kei Sakamoto <sakamoto.kei@renesas.com>Kazuhiro Inaoka2-0/+31
* regformats/reg-m32r.dat: New file.
2005-04-152005-04-15 Ke Sakamoto <sakamoto.kei@renesas.com>Kazuhiro Inaoka4-1/+115
* Makefile.in: Add linux-m32r-low.o, reg-m32r.c and reg-m32r.o. * configure.srv: Add m32r*-*-linux*. * linux-m32r-low.c: New file.
2005-04-15*** empty log message ***gdbadmin1-1/+1
2005-04-15daily updateAlan Modra1-1/+1
2005-04-14 * config/tc-xtensa.h (struct xtensa_frag_type): Add lit_frchain field.Bob Wilson3-18/+32
* config/tc-xtensa.c (xg_translate_sysreg_op, xtensa_translate_old_userregs_ops, xtensa_find_unaligned_branch_targets, xtensa_find_unaligned_loops, xtensa_fix_close_loop_end_frags, relax_frag_add_nop): Support 64-bit host. (xtensa_mark_literal_pool_location, xtensa_move_literals): Use tc_frag_data lit_frchain and lit_seg fields instead of fr_var.
2005-04-14* gencode.c (tab): Avoid inserting code before variables all declared.Jonathan Larmour2-4/+8
2005-04-14 * lib/gdb.exp (gdb_compile): Handle shlib=.Daniel Jacobowitz2-0/+92
(gdb_compile_shlib): New function.
2005-04-14* configure.tgt: Add support for OpenBSD/sparc ELF.Mark Kettenis2-1/+10
2005-04-14 * arm-tdep.c (fp_model_strings): Add terminating NULL.Daniel Jacobowitz7-153/+239
(arm_abi_strings, arm_abi_global, arm_abi_string): New variables. (arm_extract_return_value, arm_store_return_value): Don't use arm_get_fp_model. (arm_get_fp_model, arm_set_fp): Delete. (arm_update_current_architecture): New function. (set_fp_model_sfunc): Call arm_update_current_architecture. (show_fp_model): Update output messages. (arm_set_abi, arm_show_abi): New functions. (arm_elf_osabi_sniffer): Only handle ELFOSABI_ARM. (arm_gdbarch_init): Infer the object's ABI separately from its OSABI. Search for a matching architecture. Honor the global ABI and FPU settings. Set floating point format based on the architecture. (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): Delete. (_initialize_arm_tdep): Don't call gdbarch_register_osabi. Create "arm set abi" command. * arm-tdep.h (arm_get_fp_model): Delete prototype. (enum arm_abi_kind): New type. (struct gdbarch_tdep): Add arm_abi field. * arm-linux-tdep.c (arm_linux_init_abi): Only override tdep->fp_model if it is ARM_FLOAT_AUTO. * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Likewise. (arm_netbsd_elf_init_abi): Likewise. * defs.h (enum gdb_osabi): Delete ARM-specific OSABIs. * osabi.c (gdb_osabi_name): Likewise.
2005-04-14* configure.tgt: Set emulation for mips-*-openbsd*.Mark Kettenis4-2/+14
Remove broken mips-dec-openbsd* config. * configure.in: Set default ABI for mips64-*-openbsd*. * configure: Regenerate.
2005-04-14* config/tc-mips.c (macro) [ldd_std]: Don't attempt the GPMaciej W. Rozycki2-1/+7
optimization for constant addresses.
2005-04-14 * corefile.c (core_init): Call bfd_get_synthetic_symtab.Alan Modra2-1/+25
2005-04-14* po/fi.po: New translation: Finnish.Nick Clifton4-2/+820
* configure.in (ALL_LINGUAS): Add fi. * configure: Regenerate.
2005-04-14* as.c (main): Move parse_args before symbol_begin and frag_init so that theNick Clifton4-9/+19
hash table size can be set before it is used. * hash.c: Use an unsigned long type for the size of the hash tables. * hash.h (set_gas_hash_table_size): Update the prototype.
2005-04-14bfd/Alan Modra40-659/+685
* Makefile.am (NO_WERROR): Define. * warning.m4: New file * acinclude.m4: Include warning.m4. * configure.in: Invoke AM_BINUTILS_WARNINGS. * Makefile.in: Regenerate. * configure: Regenerate. bfd/doc/ * Makefile.in: Regenerate. binutils/ * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error. * configure.in: Include ../bfd/warning.m4 contents. * Makefile.in: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate. gas/ * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error. * acinclude.m4: Include ../bfd/warning.m4. * configure.in: Invoke AM_BINUTILS_WARNINGS. * Makefile.in: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate. gprof/ * Makefile.am (NO_WERROR): Define. * acinclude.m4: Include ../bfd/warning.m4. * configure.in: Invoke AM_BINUTILS_WARNINGS. * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * configure: Regenerate. ld/ * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error. * configure.in: Include ../bfd/warning.m4 contents. * Makefile.in: Regenerate. * configure: Regenerate. opcodes/ * Makefile.am (NO_WERROR): Define. * configure.in: Invoke AM_BINUTILS_WARNINGS. * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * configure: Regenerate.
2005-04-14 * merge.c (sec_merge_emit): Tidy. Check for bfd_zmalloc errors.Alan Modra2-11/+27
Write trailing padding.
2005-04-14merge from gccDJ Delorie5-4/+24
2005-04-14 * merge.c (merge_strings): Round up section size for alignment.Alan Modra2-0/+9
2005-04-14daily updateAlan Modra1-1/+1
2005-04-14*** empty log message ***gdbadmin1-1/+1
2005-04-132005-04-14 David S. Miller <davem@davemloft.net>Jakub Jelinek18-849/+3005
bfd/ Add TLS support for 64-bit Sparc ELF. * elf64-sparc.c (sparc64_elf_dyn_relocs, sparc64_elf_link_hash_entry, sparc64_elf_obj_tdata): New structs. (GOT_UNKNOWN, GOT_NORMAL, GOT_TLD_GD, GOT_TLD_IE, sparc64_elf_hash_entry, sparc64_elf_tdata, sparc64_elf_local_got_tls_type): New defines. (sparc64_elf_mkobject): New function. (sparc64_elf_link_hash_table): Add members for dynamic linker sections PLT, RELPLT, DYNBSS, and RELBSS. Add tls_ldm_got uion to track TLS GOT references. Add sym_sec to cache mappings from local sym to section. (link_hash_newfunc): New function. (sparc64_elf_bfd_link_hash_table_create): Rename to sparc64_elf_link_hash_table_create for consistency. Pass link_hash_newfunc to _bfd_elf_link_hash_table_init. (sparc64_elf_create_dynamic_sections): Initialize new section members of sparc64_elf_link_hash_table. Only init srelbss if not-shared. (sparc64_elf_copy_indirect_symbol, sparc64_elf_tls_transition): New functions. (SPARC_NOP): Define. (sparc64_elf_build_plt, sparc64_elf_plt_entry_offset, sparc64_elf_plt_ptr_offset): Delete. (sparc64_plt_entry_build): New function to build PLT entries gradually instread of all at once at the end of linking. (sparc64_elf_check_relocs): Delete dynobj, sgot, and srelgot local vars. Get them from sparc64_elf_hash_table instead. Check early on if r_symndx is in bounds. Handle TLS transitions. Account for TLS GOT references and DF_STATIC_TLS, as needed. For TLS relocs, record the tls_type in either sparc64_elf_local_got_tls_type or sparc64_elf_hash_entry as appropriate. For R_SPARC_TLS_{GD,LDM}_CALL, emit a reference to the __tls_get_addr symbol. For PLT relocs, track references via h->plt.refcount. When R_SPARC_{PC10,PC22,PC_HH22,PC_HM10, PC_LM22} and h not-NULL, set h->non_got_ref. For global data symbol references, count the number of relocations needed for that symbol. For default switch case, don't error, this lets the TLS relocs not explicitly handled by this function get accepted. (sparc64_elf_gc_mark_hook, sparc64_gc_sweep_hook): New functions. (sparc64_elf_adjust_dynamic_symbol): Remove dynobj local var, get it from sparc64_elf_hash_table. Store the real PLT offset in h->plt.offset, and build PLT entries one at a time. Also get .dynbss section pointer from htab. (allocate_dynrelocs, readonly_dynrelocs, sparc64_omit_section_dynsym): New functions. (sparc64_elf_omit_section_dynsym): Use these new functions as helpers. (dtpoff_base, tpoff): New functions. (sparc64_elf_relocate_section): Kill dynobj, sgot, and splt locals, get them from sparc64_elf_hash_table. Handle TLS relocations and refcounting in main relocation loop. (sparc64_elf_finish_dynamic_symbol): Use sparc64_elf_link_hash_table. Build PLT entries as we see them. Handle TLS GOT relocations. (sparc64_elf_finish_dynamic_sections): Get sgot and dynobj from sparc64_elf_hash_table. Initialize only PLT header not all entries since we not build PLT entries one by one. (elf_backend_copy_indirect_symbol, bfd_elf64_mkobject, elf_backend_gc_mark_hook, elf_backend_gc_sweep_hook, elf_backend_can_gc_sections, elf_backend_can_refcount): Define. ld/testsuite/ * ld-selective/sel-dump.exp: Do not exclude sparc64-*. * ld-selective/selective.exp: Likewise. * ld-sparc/sparc.exp: Add {32,64}-bit prefix to test names so we know which one is failing. Run sparc64 TLS tests on multi-arch sparc platforms. * ld-sparc/tls64.sd, ld-sparc/tlssunbin64.dd, ld-sparc/tlssunbin64.rd, ld/testsuite/ld-sparc/tlssunbin64.sd, ld-sparc/tlssunbin64.td, ld-sparc/tlssunnopic64.dd, ld-sparc/tlssunnopic64.rd, ld-sparc/tlssunnopic64.sd, ld-sparc/tlssunpic64.dd, ld-sparc/tlssunpic64.rd, ld-sparc/tlssunpic64.sd, ld-sparc/tlssunpic64.td): Update now that sparc64 ELF does support TLS.
2005-04-13gas/:Maciej W. Rozycki14-193/+1844
* config/tc-mips.c (IS_ZEXT_32BIT_NUM): New macro. (normalize_address_expr): New function to sign-extend address offsets that fit into 32 bits in 32-bit mode. (macro_build_ldst_constoffset): Use normalize_address_expr() instead of a handcoded sequence. (load_register): Likewise. Report oversized numbers in a useful way. (macro) [ld_st, ldd_std]: Reject all oversized offsets, not only for constant addresses. Report oversized numbers in a useful way. (mips_ip): Use normalize_address_expr() for addresses. gas/testsuite/: * gas/mips/ldstla-32.s: Exclude offsets that are now meant to fail and include more instructions/offsets that are meant to succeed. Use $4 instead $3 to avoid register dependencies. * gas/mips/ldstla-32.d: Update accordingly. * gas/mips/ldstla-32-shared.d: Likewise. * gas/mips/ldstla-32-mips3.d: New test based on the above, except for mips3. * gas/mips/ldstla-32-mips3-shared.d: Similarly, for PIC. * gas/mips/ldstla-32-mips3.s: Source for the new tests. * gas/mips/ldstla-32-1.s: New test for offsets that are meant to fail. * gas/mips/ldstla-32-mips3-1.s: Likewise, for mips3. * gas/mips/ldstla-32-1.l: Stderr output for the new test. * gas/mips/ldstla-32-mips3-1.l: Likewise. * gas/mips/mips.exp: Run the new tests.
2005-04-13Move entries in ChangeLog-9103 to appropriate */ChangeLog-9103.H.J. Lu6-74/+83
2005-04-13Move entries to appropriate ChangeLog files.H.J. Lu3-77/+73
2005-04-13bfd/H.J. Lu5-0/+32
2005-04-13 Daniel Jacobowitz <dan@codesourcery.com> * elflink.c (elf_link_input_bfd): Update check for removed sections. ld/testsuite/ 2005-04-13 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/empty.d: New file. * ld-elf/empty.s: Likewise.
2005-04-13merge from gccDJ Delorie1-2/+2
2005-04-13merge from gccDJ Delorie2-8/+13
2005-04-13*** empty log message ***gdbadmin1-1/+1
2005-04-13daily updateAlan Modra1-1/+1