Jim Blandy
3e6bb910c3
From Ulrich Weigand:
...
* utils.c (query): Do not use a va_list variable multiple times.
2004-03-30 15:44:16 +00:00
Nick Clifton
0949843db2
Add (linker) support for CR16C processor
2004-03-30 14:04:32 +00:00
Jakub Jelinek
baaff79e16
* elf.c (map_sections_to_segments): Fix handling of .tbss.
2004-03-30 09:58:28 +00:00
Jakub Jelinek
adacfc8184
* binutils-all/objcopy.exp: Accept main as a data symbol as well.
2004-03-30 09:54:15 +00:00
Nick Clifton
0a159ef8da
Updated Swedish translation
2004-03-30 09:48:30 +00:00
Nick Clifton
f4453dfa0a
Fix bug parsing shigh(0xffff8000)
2004-03-30 09:29:19 +00:00
Nick Clifton
7cc69913c2
make use of meabi_flags be ELF specific
2004-03-30 08:53:05 +00:00
Alan Modra
6dbf3ba0fa
daily update
2004-03-30 00:00:07 +00:00
gdbadmin
cacaa2c161
*** empty log message ***
2004-03-30 00:00:06 +00:00
Richard Sandiford
11d66e667f
Fix date in last delta.
2004-03-29 22:01:45 +00:00
Richard Sandiford
a584aa6330
* sim/mips/hilo-hazard-[123].s: New files.
...
* sim/mips/basic.exp (run_hilo_test): New procedure.
(models): Only list models that are included in the configuration.
(submodels): New variable, set to submodels of the above.
(mips64vr-*-elf, mips64vrel-*-elf): New configuration stanza.
Run hilo-hazard-[123].s.
2004-03-29 21:58:01 +00:00
Richard Sandiford
0e1b7197a4
* sim-main.h (MIPS_MACH_HAS_MT_HILO_HAZARD)
...
(MIPS_MACH_HAS_MULT_HILO_HAZARD, MIPS_MACH_HAS_DIV_HILO_HAZARD): New.
* mips.igen (check_mt_hilo, check_mult_hilo, check_div_hilo): Provide
separate implementations for mipsIV and mipsV. Use new macros to
determine whether the restrictions apply.
2004-03-29 21:56:02 +00:00
Stan Shebs
9b0de91afe
* mpw-config.in, mpw-make.sed: Remove MPW support files, no longer
...
used.
2004-03-29 18:09:09 +00:00
Daniel Jacobowitz
a2f23071c9
* Makefile.in (linux_nat_h): Update dependencies.
...
* configure.in: Check for <gnu/libc-version.h>.
* configure: Regenerate.
* config.in: Regenerate.
* linux-nat.h: Include "target.h". Add waitstatus field to
struct lwp_info.
* lin-lwp.c (add_lwp): Initialize waitstatus.kind.
(lin_lwp_attach_lwp): Don't attach to LWPs we have already attached
to.
(lin_lwp_handle_extended): New function. Handle clone events.
(wait_lwp): Use lin_lwp_handle_extended. Update comment about
thread exit events.
(child_wait): Handle clone events.
(lin_lwp_wait: Use lin_lwp_handle_extended and handle clone events.
* linux-nat.c (linux_enable_event_reporting): Turn on
PTRACE_O_TRACECLONE.
(linux_handle_extended_wait): Handle clone events.
* thread-db.c: Include <gnu/libc-version.h>.
(struct private_thread_info): Add dying flag.
(enable_thread_event_reporting): Enable TD_DEATH for glibc 2.2 and
higher.
(attach_thread): Update comments. Handle dying threads.
(detach_thread): Set the dying flag.
(check_event): Always call attach_thread.
2004-03-29 18:07:14 +00:00
Daniel Jacobowitz
8d5f9dcb37
* mips-tdep.c (mips_pdr_data): New.
...
(non_heuristic_proc_desc): Use objfile_data and set_objfile_data.
(_initialize_mips_tdep): Initialize mips_pdr_data.
2004-03-29 17:58:05 +00:00
David Carlton
9d58e29db2
Add entry that I left out of 2004-03-15 ChangeLog:
...
(read_namespace): Set die->type.
2004-03-29 16:52:33 +00:00
Corinna Vinschen
66337bb10d
* minsyms.c (install_minimal_symbols): Move dropping leading
...
char from linkage name from here...
(prim_record_minimal_symbol_and_info): ...to here. Simplify
test for "__gnu_compiled*" symbols.
2004-03-29 11:26:04 +00:00
Jim Blandy
e802b91571
* rs6000-tdep.c (skip_prologue): Recognize moves from argument
...
registers to temp register r0 and byte stores as prologue
instructions.
2004-03-29 03:41:56 +00:00
Alan Modra
72c8f5e391
daily update
2004-03-29 00:00:05 +00:00
gdbadmin
58891dfafe
*** empty log message ***
2004-03-29 00:00:02 +00:00
Andrew Cagney
72b5645881
2004-03-28 Andrew Cagney <cagney@redhat.com>
...
* PROBLEMS (Stack backtraces): Rewrite. Remove reference to
arm*-*-*.
2004-03-28 19:56:41 +00:00
Stephane Carrez
6a1b180db4
* gdb.texinfo (TUI Commands): Document tui reg commands.
2004-03-28 12:22:55 +00:00
Stephane Carrez
0bfbda3b65
* tui/tui-regs.c (tui_show_registers): Make sure the TUI is active
...
and switch the layout to force a display of register window.
2004-03-28 10:18:07 +00:00
gdbadmin
3c9a4beb80
*** empty log message ***
2004-03-28 00:00:32 +00:00
Alan Modra
10daad352d
daily update
2004-03-28 00:00:08 +00:00
Alexandre Oliva
90084db24d
* ld-frv/fdpic*.d: Adjust to compensate for page size change.
2004-03-27 21:11:17 +00:00
Alan Modra
53fbb48a80
* config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
2004-03-27 11:36:09 +00:00
Alan Modra
7a945db630
* emultempl/elf32.em: Update new bfd_elf_discard_info name.
...
* emultempl/hppaelf.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/sh64elf.em: Likewise.
2004-03-27 10:58:35 +00:00
Alan Modra
c152c7961c
* Makefile.am: Remove all mention of elflink.h.
...
* Makefile.in: Regenerate.
* bfd-in.h (bfd_elf_discard_info): Declare.
(bfd_elf32_discard_info, bfd_elf64_discard_info): Delete.
* bfd-in2.h: Regenerate.
* elf-bfd.h (bfd_elf32_print_symbol, bfd_elf64_print_symbol,
bfd_elf32_link_record_dynamic_symbol,
bfd_elf64_link_record_dynamic_symbol,
_bfd_elf_link_record_dynamic_symbol, bfd_elf32_bfd_final_link,
bfd_elf64_bfd_final_link, elf_link_record_local_dynamic_symbol,
_bfd_elf32_link_record_local_dynamic_symbol,
_bfd_elf64_link_record_local_dynamic_symbol,
_bfd_elf32_gc_sections, _bfd_elf32_gc_common_finalize_got_offsets,
_bfd_elf32_gc_common_final_link, _bfd_elf64_gc_common_final_link,
_bfd_elf32_gc_record_vtinherit, _bfd_elf32_gc_record_vtentry,
_bfd_elf64_gc_sections, _bfd_elf64_gc_common_finalize_got_offsets,
_bfd_elf64_gc_record_vtinherit, _bfd_elf64_gc_record_vtentry,
_bfd_elf32_reloc_symbol_deleted_p,
_bfd_elf64_reloc_symbol_deleted_p): Delete.
(bfd_elf_link_record_dynamic_symbol,
bfd_elf_link_record_local_dynamic_symbol,
bfd_elf_final_link, bfd_elf_gc_sections,
bfd_elf_gc_record_vtinherit, bfd_elf_gc_record_vtentry,
bfd_elf_gc_common_finalize_got_offsets, bfd_elf_gc_common_final_link,
bfd_elf_reloc_symbol_deleted_p): Declare.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
* elf32-arm.h: Update for changed function names. Remove local
WILL_CALL_FINISH_DYNAMIC_SECTION define.
* elf-hppa.h, elf-m10300.c, elf32-cris.c, elf32-d10v.c, elf32-dlx.c,
* elf32-fr30.c, elf32-frv.c, elf32-h8300.c, elf32-hppa.c, elf32-i386.c,
* elf32-iq2000.c, elf32-m32r.c, elf32-m68hc1x.c, elf32-m68k.c,
* elf32-mcore.c, elf32-openrisc.c, elf32-ppc.c, elf32-s390.c,
* elf32-sh.c, elf32-sparc.c, elf32-v850.c, elf32-vax.c,
* elf32-xstormy16.c, elf32-xtensa.c, elf64-alpha.c, elf64-hppa.c,
* elf64-mmix.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c, elf64-sparc.c,
* elf64-x86-64.c, elfxx-ia64.c, elfxx-mips.c, elfxx-target.h: Likewise.
* elfxx-target.h (bfd_elfNN_bfd_final_link): Define.
(bfd_elfNN_print_symbol): Define.
* elfcode.h: Don't include elflink.h.
(elf_bfd_discard_info, elf_reloc_symbol_deleted_p,
elf_link_record_dynamic_symbol, elf_bfd_final_link, elf_gc_sections,
elf_gc_common_finalize_got_offsets, elf_gc_common_final_link,
elf_gc_record_vtinherit, elf_gc_record_vtentry,
elf_link_record_local_dynamic_symbol): Don't define.
* elflink.c: Update for changed function names. Move elflink.h
code here.
* elflink.h: Delete file.
* po/SRC-POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
doc/
* bfdint.texi: Remove all mention of elflink.h.
2004-03-27 10:58:09 +00:00
Alan Modra
022492317b
* gas/i860/dir-intel03-err.l: Update for junk at end line becoming
...
an error.
* gas/m68hc11/m68hc11.exp: Likewise.
2004-03-27 10:43:58 +00:00
Alan Modra
6a9cae7f5c
* elf64-mmix.c (mmix_elf_relocate_section): Restore code setting
...
"name" for global syms accidentally removed in 2004-03-20 change.
2004-03-27 10:16:19 +00:00
Alan Modra
140f6c8e6d
* elf-bfd.h (struct elf_reloc_cookie): Add r_sym_shift field.
...
* elflink.h: Replace all occurrences of sizeof (Elf_External_*)
where Elf_External_* is different for 64 and 32 bit, with
corresponding elf_size_info field.
(struct elf_final_link_info): Use "bfd_byte *" instead
of "Elf_External_Sym *" for external_syms and symbuf.
(elf_link_adjust_relocs): Set up r_type_mask and r_sym_shift local
vars and use instead of ELF_R_INFO and ELF_R_TYPE macros.
(struct elf_link_sort_rela): Add "sym_mask" alias for "offset".
(elf_link_sort_cmp1): Use sym_mask field instead of ELF_R_SYM.
(elf_link_sort_cmp2): Adjust.
(elf_link_sort_relocs): Set up r_sym_mask local var instead of
using ELF_R_SYM macro. Set u.sym_mask.
(elf_bfd_final_link): Call _bfd_elf_stringtab_init instead of macro
version, elf_stringtab_init. Ditto for bfd_section_from_elf_index
vs. section_from_elf_index. Adjust Elf_External_Sym pointer
arithmetic. Pass bed to elf_link_flush_output_syms. Adjust
Elf_External_Dyn pointer arithmentic. Use bed swap_dyn_in and
swap_syn_out functions. Rearrange dyn swap in/out switch.
(elf_link_output_sym): Adjust Elf_External_Sym pointer arithmentic.
Pass bed to elf_link_flush_output_syms. Use bed swap_symbol_out.
(elf_link_flush_output_syms): Add elf_backend_data arg.
(elf_link_check_versioned_symbol): Likewise.
(elf_link_output_extsym): Pass bed to elf_link_check_versioned_symbol.
Adjust Elf_External_Sym pointer arithmetic. Use bed swap_symbol_out.
(elf_link_input_bfd): Use bfd_section_from_elf_index. Set up
r_type_mask and r_sym_shift local vars and use instead of ELF_R_SYM,
ELF_R_TYPE and ELF_R_INFO macros.
(elf_reloc_link_order): Select ELF32_R_INFO or ELF64_R_INFO invocation
based on size rather than using ELF_R_INFO.
(elf_gc_mark): Set up r_sym_shift local var and use instead of
ELF_R_SYM macro.
(struct alloc_got_off_arg): New.
(elf_gc_common_finalize_got_offsets): Use elf_size_info instead of
ARCH_SIZE. Pass get entry size down to elf_gc_allocate_got_offsets.
(elf_gc_allocate_got_offsets): Adjust.
(elf_reloc_symbol_deleted_p): Usee cookie.r_sym_shift instead of
ELF_R_SYM. Use bfd_section_from_elf_index.
(elf_bfd_discard_info): Set cookie.r_sym_shift.
* elfcode.h (elf_stringtab_init, section_from_elf_index): Delete.
(elf_slurp_symbol_table): Use bfd_section_from_elf_index.
2004-03-27 10:08:59 +00:00
Stan Shebs
14bde3788a
Remove MPW support, no longer used.
...
* config.bfd (powerpc-*-mpw*): Remove configuration.
* mpw-config.in, mpw-make.sed: Remove files.
* ecoffswap.h [MPW_C]: Remove MPW-C-friendly version of code.
2004-03-27 05:45:50 +00:00
gdbadmin
fd066bdbc9
*** empty log message ***
2004-03-27 00:00:35 +00:00
Joel Brobecker
5a7225edc7
* amd64-tdep.c (amd64_classify): make RANGE_TYPE objects be part
...
of the INTEGER class.
2004-03-26 23:15:40 +00:00
Alan Modra
7a3dbe4bf6
daily update
2004-03-26 23:00:05 +00:00
Jim Blandy
81a07a45e4
* ppc-linux-tdep.c (ppc_linux_init_abi): Long doubles are eight
...
bytes long on PPC GNU/Linux.
2004-03-26 20:59:38 +00:00
David Carlton
8c691c7a43
2004-03-26 David Carlton <carlton@kealia.com>
...
* PROBLEMS: Refer to gdb/1588 instead of gdb/826.
2004-03-26 17:05:40 +00:00
Andrew Cagney
d0d5df6f7d
2004-03-26 Andrew Cagney <cagney@redhat.com>
...
* gdb.texinfo (TUI): Delete reference to --enable-tui. Mention
"gdbtui".
(Mode Options): Mention "gdbtui". Use "Text" not "Terminal".
(Contributors): Mention both Text and Terminal User Interface.
2004-03-26 16:15:57 +00:00
Alan Modra
d04a7507b7
* ld-powerpc/tlsexe.r: Update for changed sym type.
...
* ld-powerpc/tlsexetoc.r: Likewise.
2004-03-26 06:14:18 +00:00
Alan Modra
555cd47695
* elf64-ppc.c (elf_backend_add_symbol_hook): Define.
...
(ppc64_elf_add_symbol_hook): New function.
* elf-bfd.h (struct elf_backend_data <elf_add_symbol_hook>): Remove
const from Elf_Internal_Sym param.
* elflink.c (elf_link_add_object_symbols): Adjust.
* elf-hppa.h (elf_hppa_add_symbol_hook): Adjust.
* elf32-frv.c (elf32_frv_add_symbol_hook): Adjust.
* elf32-i370.c (elf_backend_add_symbol_hook): Adjust.
* elf32-m32r.c (m32r_elf_add_symbol_hook): Adjust.
* elf32-m68hc1x.c (elf32_m68hc11_add_symbol_hook): Adjust.
* elf32-m68hc1x.h (elf32_m68hc11_add_symbol_hook): Adjust.
* elf32-ppc.c (ppc_elf_add_symbol_hook): Adjust.
* elf32-sh64.c (sh64_elf_add_symbol_hook): Adjust.
* elf32-v850.c (v850_elf_add_symbol_hook): Adjust.
* elf64-alpha.c (elf64_alpha_add_symbol_hook): Adjust.
* elf64-mmix.c (mmix_elf_add_symbol_hook): Adjust.
* elf64-sh64.c (sh64_elf64_add_symbol_hook): Adjust.
* elf64-sparc.c (sparc64_elf_add_symbol_hook): Adjust.
* elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Adjust.
* elfxx-mips.c (_bfd_mips_elf_add_symbol_hook): Adjust.
* elfxx-mips.h (_bfd_mips_elf_add_symbol_hook): Adjust.
2004-03-26 06:13:40 +00:00
Alan Modra
4ad4eba5b2
* elfxx-target.h (bfd_elfNN_bfd_link_add_symbols): Define.
...
* elf-bfd.h (_bfd_elf_link_add_archive_symbols): Delete.
(_bfd_elf_sort_symbol, _bfd_elf_add_dt_needed_tag): Delete.
(_bfd_elf_finalize_dynstr, bfd_elf32_bfd_link_add_symbols): Delete.
(bfd_elf64_bfd_link_add_symbols): Delete.
(bfd_elf_link_add_symbols): Declare.
* elfcode.h (elf_bfd_link_add_symbols): Delete.
* elflink.c: Include safe-ctype.h.
(elf_add_dt_needed_tag): Rename from _bfd_elf_add_dt_needed_tag,
make static.
(elf_sort_symbol): Rename from _bfd_elf_sort_symbol, make static.
(elf_finalize_dynstr): Rename from _bfd_elf_finalize_dynstr, make
static.
(elf_link_add_archive_symbols): Rename from
_bfd_elf_link_add_archive_symbols, make static.
(elf_link_add_object_symbols): New function. Corresponding
elflink.h function converted to use elf_size_info.
(bfd_elf_link_add_symbols): Likewise.
(bfd_elf_size_dynamic_sections): Adjust.
* elflink.h (elf_bfd_link_add_symbols): Delete.
(elf_link_add_object_symbols): Delete.
* elf32-gen.c (elf32_generic_link_add_symbols): Call
bfd_elf_link_add_symbols.
* elf64-gen.c (elf64_generic_link_add_symbols): Likewise.
2004-03-26 05:55:15 +00:00
Alan Modra
11c251f45d
missed files in last commit
2004-03-26 04:42:57 +00:00
gdbadmin
6597dae28d
*** empty log message ***
2004-03-26 00:00:02 +00:00
Alan Modra
9aafbc9d6f
daily update
2004-03-25 23:00:05 +00:00
Stan Shebs
75d5e263b4
* mpw/: Remove subdirectory and everything in it.
2004-03-25 22:22:59 +00:00
Stan Shebs
3cfa5eef24
Remove MPW sys include files
2004-03-25 22:12:07 +00:00
Andrew Cagney
103a008994
2004-03-25 Andrew Cagney <cagney@redhat.com>
...
* PROBLEMS: Add general section titles, remove references to
specific releases.
2004-03-25 21:16:40 +00:00
Stan Shebs
5e2b61fb51
Remove MPW support, no longer used.
...
* mpw-README, mpw-build.in, mpw-config.in, mpw-configure,
mpw-install: Remove files.
* src-release (DEVO_SUPPORT): Remove names of removed files.
* MAINTAINERS: Likewise.
2004-03-25 17:51:10 +00:00
Daniel Jacobowitz
7a5ea0d4f1
* arm-linux-tdep.c (ARM_LINUX_JB_ELEMENT_SIZE): Define to
...
INT_REGISTER_SIZE.
(arm_linux_push_arguments): Use TARGET_DOUBLE_BIT instead of
FP_REGISTER_VIRTUAL_SIZE.
* arm-tdep.c (arm_make_sigtramp_cache): Use register_size instead
of DEPRECATED_REGISTER_RAW_SIZE.
(arm_register_type): Add gdbarch argument.
(arm_register_raw_size, arm_register_virtual_size): Delete.
(arm_register_byte, arm_extract_return_value)
(arm_store_return_value, arm_get_longjmp_target): Update references
to INT_REGISTER_RAW_SIZE and FP_REGISTER_RAW_SIZE.
(arm_gdbarch_init): Likewise. Don't set
deprecated_register_raw_size, deprecated_register_virtual_size,
deprecated_max_register_raw_size,
deprecated_max_register_virtual_size, or
deprecated_max_register_virtual_type. Do set register_type.
* arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE)
(ARM_MAX_REGISTER_VIRTUAL_SIZE, INT_REGISTER_VIRTUAL_SIZE)
(FP_REGISTER_VIRTUAL_SIZE): Delete.
(INT_REGISTER_RAW_SIZE): Rename to INT_REGISTER_SIZE.
(FP_REGISTER_RAW_SIZE): Rename to FP_REGISTER_SIZE.
* arm-linux-tdep.c (ARM_NBSD_JB_ELEMENT_SIZE): Define to
INT_REGISTER_SIZE.
* remote-rdp.c (remote_rdp_fetch_register): Use MAX_REGISTER_SIZE.
(remote_rdp_store_register): Likewise.
2004-03-25 16:52:42 +00:00