Alan Modra [Mon, 1 Jul 2002 08:07:31 +0000 (08:07 +0000)]
* ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
* ldlang.c (entry_sym): Likewise.
(ldlang_undef_chain_list_type): Likewise.
(lang_finish): Adjust references to entry_symbol.
(lang_add_entry): Likewise.
(lang_gc_sections): Use link_info.gc_sym_list.
(lang_process): Set link_info.gc_sym_list.
* ldlex.l: Include bfdlink.h.
* ldmain.c (main): Init link_info.gc_sym_list.
* emultempl/aix.em: Adjust references to entry_symbol.
* emultempl/armcoff.em: Likewise.
* emultempl/armelf.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/ppc64elf.em (ppc_after_open): New function.
(LDEMUL_AFTER_OPEN): Define.
* emulparams/elf64ppc.sh: KEEP .opd sections.
Alan Modra [Mon, 1 Jul 2002 08:06:47 +0000 (08:06 +0000)]
* elflink.h (elf_gc_mark): Pass in the section whose relocs we are
examining to gc_mark_hook, rather than the bfd.
(elf_gc_sections): Adjust.
* elf-bfd.h (struct elf_backend_data <gc_mark_hook>): Likewise.
* elf-m10300.c (mn10300_elf_gc_mark_hook): Likewise.
* elf32-arm.h (elf32_arm_gc_mark_hook): Likewise.
* elf32-avr.c (elf32_avr_gc_mark_hook): Likewise.
* elf32-cris.c (cris_elf_gc_mark_hook): Likewise.
* elf32-d10v.c (elf32_d10v_gc_mark_hook): Likewise.
* elf32-fr30.c (fr30_elf_gc_mark_hook): Likewise.
* elf32-hppa.c (elf32_hppa_gc_mark_hook): Likewise.
* elf32-i386.c (elf_i386_gc_mark_hook): Likewise.
* elf32-m32r.c (m32r_elf_gc_mark_hook): Likewise.
* elf32-m68k.c (elf_m68k_gc_mark_hook): Likewise.
* elf32-mcore.c (mcore_elf_gc_mark_hook): Likewise.
* elf32-openrisc.c (openrisc_elf_gc_mark_hook): Likewise.
* elf32-ppc.c (ppc_elf_gc_mark_hook): Likewise.
* elf32-s390.c (elf_s390_gc_mark_hook): Likewise.
* elf32-sh.c (sh_elf_gc_mark_hook): Likewise.
* elf32-sparc.c (elf32_sparc_gc_mark_hook): Likewise.
* elf32-v850.c (v850_elf_gc_mark_hook): Likewise.
* elf32-vax.c (elf_vax_gc_mark_hook): Likewise.
* elf32-xstormy16.c (xstormy16_elf_gc_mark_hook): Likewise.
* elf64-mmix.c (mmix_elf_gc_mark_hook): Likewise.
* elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
* elf64-s390.c (elf_s390_gc_mark_hook): Likewise.
* elf64-sh64.c (sh_elf64_gc_mark_hook): Likewise.
* elfxx-mips.c (_bfd_mips_elf_gc_mark_hook): Likewise.
* elfxx-mips.h (_bfd_mips_elf_gc_mark_hook): Likewise.
* elf64-x86-64.c (elf64_x86_64_gc_mark_hook): Likewise.
* elf32-frv.c (elf32_frv_gc_mark_hook): Likewise. Also remove
redundant local sym tests.
* elf64-ppc.c (struct ppc_link_hash_entry): Add is_entry.
(link_hash_newfunc): Init is_entry.
(ppc64_elf_copy_indirect_symbol): Copy is_entry.
(ppc64_elf_link_hash_table_create): Init all_local_syms.
(create_linkage_sections): Use bfd_make_section_anyway rather than
bfd_make_section.
(ppc64_elf_mark_entry_syms): New function.
(ppc64_elf_check_relocs): Don't bother testing elf_bad_symtab. Set
up opd entry to function section map.
(ppc64_elf_gc_mark_hook): Special case opd section relocs, and
relocs that reference the opd section.
(edit_opd): New function.
(ppc64_elf_size_dynamic_sections): Call get_local_syms and edit_opd.
(ppc64_elf_setup_section_lists): Don't calculate htab->bfd_count here.
(get_local_syms): Do so here. Exit if we already have local syms.
Remove bogus comment imported from elf32-hppa.c. Don't attempt to
read local syms on non-ELF input.
(ppc64_elf_size_stubs): Call _bfd_elf64_link_read_relocs rather
than duplicating it's function here. Adjust free of internal
relocs to suit.
(ppc64_elf_relocate_section): Adjust local syms in opd section.
* elf64-ppc.h (ppc64_elf_mark_entry_syms): Declare.
* elf32-hppa.c (elf32_hppa_size_stubs): Call
_bfd_elf32_link_read_relocs rather than duplicating it's function
here. Adjust free of internal relocs to suit.
Alan Modra [Mon, 1 Jul 2002 08:04:47 +0000 (08:04 +0000)]
* bfdlink.h (struct bfd_sym_chain): Declare.
(struct bfd_link_info): Add gc_sym_list. Formatting fixes.
Andreas Jaeger [Mon, 1 Jul 2002 06:42:27 +0000 (06:42 +0000)]
* elf64-x86-64.c (elf64_x86_64_check_relocs): Certain relocations
are not allowed in shared libs code, enforce -fPIC.
gdbadmin [Mon, 1 Jul 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 1 Jul 2002 00:00:06 +0000 (00:00 +0000)]
daily update
Aidan Skinner [Sun, 30 Jun 2002 22:04:33 +0000 (22:04 +0000)]
Remove ada-lex.c and ada-exp.tab.c as they are generated files
Mark Kettenis [Sun, 30 Jun 2002 18:55:19 +0000 (18:55 +0000)]
* config/i386/tm-i386.h (struct frame_info, struct
frame_saved_regs, struct value, struct type): Remove forward
declarations.
Stephane Carrez [Sun, 30 Jun 2002 18:43:33 +0000 (18:43 +0000)]
* readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
Mark Kettenis [Sun, 30 Jun 2002 18:43:06 +0000 (18:43 +0000)]
* config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS]
(FILL_FPXREGSET, HAVE_SSE_REGS): Remove define.
* config/i386/nm-linux.h [HAVE_PTRACE_GETFPXREGS]
(FILL_FPXREGSET): Define.
Mark Kettenis [Sun, 30 Jun 2002 17:22:57 +0000 (17:22 +0000)]
* config/i386/tm-nbsd.h (HAVE_SSE_REGS): Remove define.
Mark Kettenis [Sun, 30 Jun 2002 17:19:54 +0000 (17:19 +0000)]
* configure.tgt (i[3456]86-*-openbsd*): Fold into
i[3456]86-*-netbsd* case.
* config/i386/tm-obsd.h: Removed.
* config/i386/obsd.mt: Removed.
* config/i386/obsd.mh (NATDEPFILES): Remove corelow.o and
core-aout.o.
(MH_CFLAGS): Add -DYYDEBUG=0.
Mark Kettenis [Sun, 30 Jun 2002 17:01:42 +0000 (17:01 +0000)]
* i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to
i386nbsd_sc_pc_offset on OpenBSD too.
Mark Kettenis [Sun, 30 Jun 2002 14:43:24 +0000 (14:43 +0000)]
* config/i386/tm-fbsd.h [!SVR4_SHARED_LIBS]
(IN_SOLIB_CALL_TRAMPOLINE): Remove define.
* config/i386/tm-nbsdaout.h (IN_SOLIB_CALL_TRAMPOLINE): Remove
define.
* i386bsd-tdep.c: Include "arch-utils.h".
(i386bsd_aout_in_solib_call_trampoline): New function.
(i386bsd_init_abi): Set in_solib_call_trampoline to
i386bsd_aout_in_solib_call_trampoline.
(i386nbsdelf_init_abi, i386fbsd_init_abi): Set
in_solib_call_trampoline to generic_in_solib_call_trampoline.
gdbadmin [Sun, 30 Jun 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 30 Jun 2002 00:00:05 +0000 (00:00 +0000)]
daily update
Hans-Peter Nilsson [Sat, 29 Jun 2002 21:45:09 +0000 (21:45 +0000)]
* mmo.c (mmo_write_loc_chunk): Don't eliminate leading and
trailing zero-sequences when there's previous left-over data.
Hans-Peter Nilsson [Sat, 29 Jun 2002 21:33:28 +0000 (21:33 +0000)]
* ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s,
ld-mmix/sec-8b.s, ld-mmix/sec-8d.s: New test.
Stephane Carrez [Sat, 29 Jun 2002 15:52:31 +0000 (15:52 +0000)]
* config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.
Stephane Carrez [Sat, 29 Jun 2002 10:33:45 +0000 (10:33 +0000)]
* emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
* emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
* emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
(EEPROM_START_ADDR): Define.
(EEPROM_MEMORY): Define.
* emulparams/m68hc12elf.sh: Likewise.
* scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
section to put soft registers in .page0.
* scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
Stephane Carrez [Sat, 29 Jun 2002 10:32:34 +0000 (10:32 +0000)]
* config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
.softregs and .eeprom.
David O'Brien [Sat, 29 Jun 2002 04:54:59 +0000 (04:54 +0000)]
2002-06-28 David O'Brien <obrien@FreeBSD.org>
* NEWS: Note the next release is 2.13.
gdbadmin [Sat, 29 Jun 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 29 Jun 2002 00:00:06 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Fri, 28 Jun 2002 23:42:33 +0000 (23:42 +0000)]
* macrotab.h: Do not include "obstack.h" or "bcache.h".
(struct obstack, struct bcache): Add opaque declarations.
* Makefile.in (macrotab_h): Update
Andrew Cagney [Fri, 28 Jun 2002 22:38:29 +0000 (22:38 +0000)]
* blockframe.c (generic_find_dummy_frame): Change return type to
``struct regcache''.
(struct dummy_frame): Replace field ``registers'' with regcache, a
struct regcache object.
(generic_find_dummy_frame): Update.
(generic_push_dummy_frame): Update. Use regcache_xfree,
regcache_xmalloc and regcache_cpy.
(generic_pop_dummy_frame): Update. Use regcache_cpy and
regcache_xfree.
(deprecated_generic_find_dummy_frame): Update.
(generic_read_register_dummy): Update. Use
regcache_read_as_address.
(generic_call_dummy_register_unwind): Update. Use regcache_read.
(generic_get_saved_register): Update. Use regcache_read.
Andrew Cagney [Fri, 28 Jun 2002 22:09:11 +0000 (22:09 +0000)]
* Makefile.in (objfiles_h): Add $(bcache_h).
* objfiles.h: Include "bcache.h".
* Makefile.in (symtab_h): Remove $(bcache_h).
* symtab.h: Do not include "bcache.h".
Andrew Cagney [Fri, 28 Jun 2002 22:07:20 +0000 (22:07 +0000)]
* ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to
generic_func_frame_chain_valid.
David O'Brien [Fri, 28 Jun 2002 18:44:49 +0000 (18:44 +0000)]
2002-06-28 David O'Brien <obrien@FreeBSD.org>
* config/i386/nm-fbsd.h: Include <sys/param.h>.
* config/i386/tm-fbsd.h: Likewise.
Andrew Cagney [Fri, 28 Jun 2002 16:15:07 +0000 (16:15 +0000)]
* rs6000-tdep.c (rs6000_gdbarch_init): Use
generic_unwind_get_saved_register.
Alan Modra [Fri, 28 Jun 2002 00:01:04 +0000 (00:01 +0000)]
daily update
gdbadmin [Fri, 28 Jun 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Jeff Law [Thu, 27 Jun 2002 22:57:50 +0000 (22:57 +0000)]
* emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
section. Add ${RELOCATING-0}.
Jeff Law [Thu, 27 Jun 2002 22:57:02 +0000 (22:57 +0000)]
* elf64-hppa.c (elf64_hppa_reloc_type_class): New function.
(elf64_hppa_finish_dynamic_sections): Check other_rel_sec, dlt_rel_sec
and opd_rel_sec in order for starting rela section. Check _raw_size.
(elf_backend_reloc_type_class): Define.
Andrew Cagney [Thu, 27 Jun 2002 18:28:23 +0000 (18:28 +0000)]
From 2002-06-27 John David Anglin <dave@hiauly1.hia.nrc.ca>:
* regcache.c (supply_register): Add missing argument to
register_buffer call.
Andrew Cagney [Thu, 27 Jun 2002 15:49:23 +0000 (15:49 +0000)]
* Makefile.in (init.c): Drop -e option to grep. Not necessary and
Solaris /bin/grep does not not like it. From Peter Schauer.
Andrew Cagney [Thu, 27 Jun 2002 15:30:32 +0000 (15:30 +0000)]
* gdbint.texinfo (User Interface): ISO C rather than ISO-C.
(Coding): Clarify ISO C version that GDB assumes.
Alan Modra [Thu, 27 Jun 2002 11:51:42 +0000 (11:51 +0000)]
2002-06-27 Kevin Buettner <kevinb@redhat.com>
* dwarf2.c (decode_line_info): Handle older, non-standard, 64-bit
DWARF2 formats.
Alan Modra [Thu, 27 Jun 2002 11:29:15 +0000 (11:29 +0000)]
* cpu-powerpc.c: Comment on ordering of arch_info.
* elf32-ppc.c (ppc_elf_object_p): New function.
(elf_backend_object_p): Define.
* elf64-ppc.c (ppc64_elf_object_p): New function.
(elf_backend_object_p): Define.
Andrew Cagney [Thu, 27 Jun 2002 03:58:32 +0000 (03:58 +0000)]
Zap remainder of gdb.threads-hp directory.
Alan Modra [Thu, 27 Jun 2002 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 27 Jun 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Tom Tromey [Wed, 26 Jun 2002 20:58:48 +0000 (20:58 +0000)]
* gdbint.texinfo (User Interface): Mention add_setshow_cmd and
Tom Tromey [Wed, 26 Jun 2002 20:58:17 +0000 (20:58 +0000)]
* command.h (add_setshow_cmd): Declare.
(add_setshow_cmd_full): Declare.
* cli/cli-decode.c (add_setshow_cmd): No longer static. Now
returns void. Use add_setshow_cmd_full.
(add_setshow_cmd_full): New function.
(add_setshow_auto_boolean_cmd): Use add_setshow_cmd_full.
(add_setshow_boolean_cmd): Likewise.
Jason Thorpe [Wed, 26 Jun 2002 18:37:26 +0000 (18:37 +0000)]
Remove files checked in by mistake.
Jason Thorpe [Wed, 26 Jun 2002 17:39:30 +0000 (17:39 +0000)]
* config/vax/tm-vax.h: Protect from multiple inclusion.
(TARGET_UPAGES, TARGET_NBPG, STACK_END_ADDR)
(SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Move to...
* config/vax/tm-vaxbsd.h: ...here. New file.
* config/vax/vax.mt (TM_FILE): Set to tm-vaxbsd.h.
Jason Thorpe [Wed, 26 Jun 2002 17:20:36 +0000 (17:20 +0000)]
* config/vax/tm-vax.h (BREAKPOINT): Remove.
(BELIEVE_PCC_PROMOTION): Remove.
(AP_REGNUM): Move to...
* config/vax/nm-vax.h: ...here.
* vax-tdep.c: Use VAX_AP_REGNUM instead of AP_REGNUM.
(vax_breakpoint_from_pc): New function.
(vax_gdbarch_init): Initialize gdbarch_breakpoint_from_pc
and gdbarch_believe_pcc_promotion.
Grace Sainsbury [Wed, 26 Jun 2002 17:09:30 +0000 (17:09 +0000)]
* config/m68k/tm-m68k.h: Rearrange code so macros not in the
gdbarch vector are at the top.
(NUM_REGS): Remove.
(FP_REGNUM, SP_REGNUM, PS_REGNUM, PC_REGNUM, FP0_REGNUM): Remove.
(FRAME_ARGS_ADDRESS): Remove.
(FRAME_LOCALS_ADDRESS): Remove.
(FRAME_NUM_ARGS): Remove.
(FRAME_ARGS_SKIP): Remove.
* m68k-tdep.c (enum): Add eumeration of special register numbers.
(m68k_gdbarch_init): Add gdbarch initializations for macros
undefined in tm-m68k.h
Jason Thorpe [Wed, 26 Jun 2002 16:07:16 +0000 (16:07 +0000)]
* Makefile.in (vax_tdep_h): Define.
(vax-tdep.o): Use $(vax_tdep_h).
* vax-tdep.c (vax_gdbarch_init): Use generic OS ABI framework.
(vax_dump_tdep): New function.
(_initialize_vax_tdep): Register vax_dump_tdep.
* vax-tdep.h: Include osabi.h.
(struct gdbarch_tdep): New.
Joern Rennecke [Wed, 26 Jun 2002 15:42:33 +0000 (15:42 +0000)]
ld:
* emulparams/shelf.sh (STACK_ADDR): Don't define.
(OTHER_SECTIONS): Define.
* emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
(OTHER_SECTIONS): Undef.
newlib:
* libc/sys/sh/crt0.S: Remove vestigial .section directive.
gcc:
* config/sh/crt1.asm: remove _stack label definition
and sentinel value.
Andrew Cagney [Wed, 26 Jun 2002 15:28:46 +0000 (15:28 +0000)]
* frame.h (deprecated_generic_find_dummy_frame): Rename
generic_find_dummy_frame.
* blockframe.c (generic_find_dummy_frame): Make static.
(deprecated_generic_find_dummy_frame): New function.
* sh-tdep.c (sh_nofp_frame_init_saved_regs): Replace
generic_find_dummy_frame with deprecated_find_dummy_frame.
(sh64_nofp_frame_init_saved_regs): Ditto.
(sh_fp_frame_init_saved_regs): Ditto.
* s390-tdep.c (s390_frame_saved_pc_nofix): Ditto.
(s390_frame_chain): Ditto.
* cris-tdep.c (cris_frame_init_saved_regs): Ditto.
Grace Sainsbury [Wed, 26 Jun 2002 15:27:48 +0000 (15:27 +0000)]
made regname function const char *
Nick Clifton [Wed, 26 Jun 2002 15:26:52 +0000 (15:26 +0000)]
Rescind Tom Rix's maintainerships.
Grace Sainsbury [Wed, 26 Jun 2002 15:14:32 +0000 (15:14 +0000)]
* monitor.h: Add the function regname to monitor_ops
structure. This way NUM_REGS does not have to be a constant.
* monitor.c (monitor_fetch_register): Added support for regname
function. The function is called if the array regnames is NULL.
(monitor_store_register): Same.
* cpu32bug-rom.c (cpu32bug_regname): Add function. Replaces regnames array.
(init_cpu32bug_cmds): set cpu32bug_cmds.regnames to NULL,
cpu32bug_cmds.regname to point to new function.
* abug-rom.c (abug_regname): Same as above.
(init_abug_cmds): Same.
* dbug-rom.c (dbug_regname): Same as above.
(init_dbug_cmds): Same.
* remote-est.c (est_regname): Same.
(init_est_cmds): Same.
* rom68k-rom.c (rom68k_regname): Same.
(init_rom68k_cmds): Same.
Alan Modra [Wed, 26 Jun 2002 13:23:45 +0000 (13:23 +0000)]
* nm.c (print_symname): When demangling, strip leading dots from
symbol names to avoid confusing the demangler.
Alan Modra [Wed, 26 Jun 2002 13:22:55 +0000 (13:22 +0000)]
* ldmisc.c (demangle): Restore dots stripped from sym name.
Nick Clifton [Wed, 26 Jun 2002 08:21:04 +0000 (08:21 +0000)]
New Turkish translation
Tom Tromey [Wed, 26 Jun 2002 05:20:04 +0000 (05:20 +0000)]
* breakpoint.c (delete_command): Don't repeat `delete' commands.
Jason Thorpe [Wed, 26 Jun 2002 03:10:20 +0000 (03:10 +0000)]
* configure.in (vax-*-netbsd*): Set COREFILE to netbsd-core.lo.
* configure: Regenerate.
Alan Modra [Wed, 26 Jun 2002 01:18:42 +0000 (01:18 +0000)]
* ecoff.c: (get_tag): Replace strcpy with xstrdup.
(ecoff_directive_def): Likewise.
(ecoff_directive_tag): Likewise.
* listing.c (file_info): Likewise.
* hash.c (what): Likewise.
H.J. Lu [Wed, 26 Jun 2002 01:12:32 +0000 (01:12 +0000)]
2002-06-25 H.J. Lu <hjl@gnu.org>
* Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
* Makefile.in: Regenerated.
gdbadmin [Wed, 26 Jun 2002 00:00:20 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 26 Jun 2002 00:00:18 +0000 (00:00 +0000)]
daily update
Nick Clifton [Tue, 25 Jun 2002 19:10:00 +0000 (19:10 +0000)]
Check unit->addr_size to read in the proper number of prologue bytes.
Andrew Cagney [Tue, 25 Jun 2002 18:38:57 +0000 (18:38 +0000)]
* infrun.c (stop_registers): Change variable's type to ``struct
regcache'''.
(xmalloc_inferior_status): Delete function.
(free_inferior_status): Delete function.
(normal_stop): Use regcache_cpy.
(struct inferior_status): Change type of fields ``stop_registers''
and ``registers'' to ``struct regcache''.
(write_inferior_status_register): Use regcache_write.
(save_inferior_status): Instead of calling
xmalloc_inferior_status, allocate the inf_status buffer directly.
Use regcache_dup_no_passthrough and regcache_dup to save the
buffers.
(restore_inferior_status): Use regcache_xfree and regcache_cpy.
Replace the stop_registers regcache instead of overriding it. Use
regcache_xfree. Instead of calling free_inferior_status, xfree
the buffer directly.
(discard_inferior_status): Use regcache_xfree. Instead of calling
free_inferior_status, xfree the buffer directly.
(build_infrun): Use regcache_xmalloc.
(_initialize_infrun): Delete redundant call to build_infrun.
* Makefile.in (infcmd.o): Add $(regcache_h).
* infcmd.c: Include "regcache.h".
(run_stack_dummy): Use deprecated_grub_regcache_for_registers to
obtain the address of `stop_registers' register buffer.
(print_return_value): Ditto.
* inferior.h (struct regcache): Add opaque declaration.
(stop_registers): Change variable's declared type to ``struct
regcache''.
Nick Clifton [Tue, 25 Jun 2002 17:29:53 +0000 (17:29 +0000)]
fixup position of #ifdef BFD64 for powerpc delta recently applied.
Nick Clifton [Tue, 25 Jun 2002 10:05:05 +0000 (10:05 +0000)]
Only create a selvecs for aix5coff64_vec if 64-bit bfd support has been enabled.
Alan Modra [Tue, 25 Jun 2002 09:40:45 +0000 (09:40 +0000)]
* elf64-ppc.c (ppc_add_stub): Replace strcpy/strncpy with memcpy.
* elf32-hppa.c (hppa_add_stub): Likewise.
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise.
* elflink.h (elf_add_default_symbol): Fix comment typo.
(elf_add_default_symbol): Replace strcpy and strncpy with memcpy.
(elf_link_add_object_symbols): Likewise.
(elf_link_assign_sym_version): Likewise.
* hash.c (bfd_hash_lookup): Likewise.
* linker.c (_bfd_generic_link_add_one_symbol): Likewise.
* section.c (bfd_get_unique_section_name): Likewise.
* syms.c (_bfd_stab_section_find_nearest_line): Likewise.
* elf.c (_bfd_elf_make_section_from_phdr): Likewise.
(assign_section_numbers): Likewise.
(_bfd_elfcore_make_pseudosection): Likewise.
(elfcore_grok_lwpstatus): Likewise.
(elfcore_grok_win32pstatus): Likewise.
(elfcore_write_note): Constify input params. Use PTR instead of
void *. Include terminating NUL in namesz. Correct padding.
Support NULL "name" param. Use memcpy instead of strcpy.
(elfcore_write_prpsinfo): Constify input params.
(elfcore_write_prstatus): Likewise. Use PTR instead of void *.
(elfcore_write_lwpstatus): Likewise.
(elfcore_write_pstatus): Likewise.
(elfcore_write_prfpreg): Likewise.
(elfcore_write_prxfpreg): Likewise.
* elf-bfd.h (elfcore_write_note): Update declaration.
(elfcore_write_prpsinfo): Likewise.
(elfcore_write_prstatus): Likewise.
(elfcore_write_pstatus): Likewise.
(elfcore_write_prfpreg): Likewise.
(elfcore_write_prxfpreg): Likewise.
(elfcore_write_lwpstatus): Likewise.
Nick Clifton [Tue, 25 Jun 2002 08:47:31 +0000 (08:47 +0000)]
Set BSF_FUNCTION for symbols of type stProc and stStaticProc.
Formatting tidy ups.
Alan Modra [Tue, 25 Jun 2002 07:40:49 +0000 (07:40 +0000)]
* coff-rs6000.c (xcoff_generate_rtinit): Fix typo.
Don Howard [Tue, 25 Jun 2002 07:23:29 +0000 (07:23 +0000)]
2002-06-25 Don Howard <dhoward@redhat.com>
* gdb.texinfo (Memory Region Attributes): Document new behavior
for 'mem' command.
Alan Modra [Tue, 25 Jun 2002 06:21:54 +0000 (06:21 +0000)]
* aout-adobe.c: Don't compare against "true" or "false.
* aout-target.h: Likewise.
* aoutx.h: Likewise.
* archive.c: Likewise.
* bout.c: Likewise.
* cache.c: Likewise.
* coff-a29k.c: Likewise.
* coff-alpha.c: Likewise.
* coff-i386.c: Likewise.
* coff-mips.c: Likewise.
* coff-or32.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* coffgen.c: Likewise.
* cpu-ns32k.c: Likewise.
* ecoff.c: Likewise.
* ecofflink.c: Likewise.
* elf.c: Likewise.
* elf32-arm.h: Likewise.
* elf32-cris.c: Likewise.
* elf32-d30v.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-sh64.c: Likewise.
* elf32-v850.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-sh64.c: Likewise.
* elfcode.h: Likewise.
* elfcore.h: Likewise.
* elflink.h: Likewise.
* elfxx-mips.c: Likewise.
* i386os9k.c: Likewise.
* ieee.c: Likewise.
* libbfd.c: Likewise.
* linker.c: Likewise.
* mmo.c: Likewise.
* nlm32-alpha.c: Likewise.
* nlm32-i386.c: Likewise.
* nlm32-ppc.c: Likewise.
* nlm32-sparc.c: Likewise.
* nlmcode.h: Likewise.
* oasys.c: Likewise.
* pdp11.c: Likewise.
* peicode.h: Likewise.
* reloc.c: Likewise.
* som.c: Likewise.
* srec.c: Likewise.
* tekhex.c: Likewise.
* vms.c: Likewise.
* xcofflink.c: Likewise.
* elf64-sparc.c: Edit comment to not use "== false".
* aoutf1.h: Don't use "? true : false".
* ecoff.c: Likewise.
* format.c: Likewise.
* ieee.c: Likewise.
* linker.c: Likewise.
* mmo.c: Likewise.
* oasys.c: Likewise.
Tom Tromey [Tue, 25 Jun 2002 05:39:18 +0000 (05:39 +0000)]
* cli/cli-decode.c (add_show_from_set): Fixed typo in comment.
* target.c (initialize_targets): Fixed typo in
trust-readonly-sections `show' documentation.
Tom Tromey [Tue, 25 Jun 2002 05:35:16 +0000 (05:35 +0000)]
* main.c: Marked all strings with _().
DJ Delorie [Tue, 25 Jun 2002 01:03:52 +0000 (01:03 +0000)]
merge from gcc
Alan Modra [Tue, 25 Jun 2002 00:11:06 +0000 (00:11 +0000)]
daily update
gdbadmin [Tue, 25 Jun 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Don Howard [Mon, 24 Jun 2002 22:08:30 +0000 (22:08 +0000)]
2002-06-24 Don Howard <dhoward@redhat.com>
* memattr.c (create_mem_region): Treat hi == 0 as a special case
that means max CORE_ADDR+1.
(lookup_mem_region): Ditto.
(mem_info_command): Ditto.
Grace Sainsbury [Mon, 24 Jun 2002 17:48:43 +0000 (17:48 +0000)]
* config/m68k/tm-m68k.h (DECR_PC_AFTER_BREAK): Remove.
(REGISTER_BYTES_OK): Remove.
(REGISTER_BYTES): Remove.
(STORE_STRUCT_RETURN): Remove.
(DEPRECATED_EXTRACT_RETURN_VALUE): Remove.
(STORE_RETURN_VALUE): Remove.
(DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
(FRAME_CHAIN): Remove.
(FRAMELESS_FUNCTION_INVOCATION): Remove.
(FRAME_SAVED_PC): Remove.
* m68k-tdep.c (m68k_register_bytes_ok):Add.
(m68k_store_struct_return): Add.
(m68k_deprecated_extract_return_value): Add.
(m68k_deprecated_extract_struct_value_address): Add.
(m68k_store_return_value): Add.
(m68k_frame_chain): Add.
(m68k_frameless_function_invocation): Add.
(m68k_frame_saved_pc): Add.
(m68k_gdbarch_init): added set_gdbarch calls for new
functions and deleted macros.
Ben Elliston [Mon, 24 Jun 2002 17:41:28 +0000 (17:41 +0000)]
2002-06-24 Ben Elliston <bje@redhat.com>
* configure.in (host_tools): Remove cgen.
* Makefile.in (all-cgen): Remove; runs from its source directory.
(check-cgen, install-cgen, clean-cgen): Likewise.
(all-opcodes): No not depend on all-cgen.
(all-sim): Likewise.
DJ Delorie [Mon, 24 Jun 2002 17:39:28 +0000 (17:39 +0000)]
merge from gcc
Elena Zannoni [Mon, 24 Jun 2002 13:26:07 +0000 (13:26 +0000)]
2002-06-24 Richard Sandiford <rsandifo@redhat.com>
* sh64.c: Update path of "callback.h".
2002-06-20 Elena Zannoni <ezannoni@redhat.com>
* sh64.c: Include correct file for register numbers.
Tom Tromey [Mon, 24 Jun 2002 04:47:09 +0000 (04:47 +0000)]
* Makefile.in (HFILES_NO_SRCDIR): Remove old files.
(ALLDEPFILES): Likewise.
(udiheaders): Removed.
(udip2soc.o): Likewise.
(udi2go32.o): Likewise.
(udr.o): Likewise.
(HFILES_WITH_SRCDIR): Don't mention udiheaders.
gdbadmin [Mon, 24 Jun 2002 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 24 Jun 2002 00:00:07 +0000 (00:00 +0000)]
daily update
Alan Modra [Sun, 23 Jun 2002 12:44:31 +0000 (12:44 +0000)]
* elflink.h (elf_link_add_archive_symbols): For the default
version, check references with only one `@' first.
Alan Modra [Sun, 23 Jun 2002 09:05:59 +0000 (09:05 +0000)]
* elf64-hppa.c (elf64_hppa_mark_milli_and_exported_functions): New
function.
(allocate_global_data_dlt): Don't add millicode symbols to dynamic
symbol table.
(allocate_global_data_opd, allocate_dynrel_entries): Likewise.
(elf64_hppa_size_dynamic_sections): Revise to use
elf64_hppa_mark_milli_and_exported_functions.
(elf64_hppa_finish_dynamic_symbol): Remove code to keep millicode
symbols out of dynamic symbol table.
Alan Modra [Sun, 23 Jun 2002 02:09:05 +0000 (02:09 +0000)]
* Makefile.in: Regenerate.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* po/SRC-POTFILES.in: Regenerate.
Alan Modra [Sun, 23 Jun 2002 02:04:28 +0000 (02:04 +0000)]
2002-06-23 Alan Modra <amodra@bigpond.net.au>
* elflink.h: Comment typo fixes.
2002-06-23 H.J. Lu <hjl@gnu.org>
* elf-bfd.h (elf_link_loaded_list): New structure.
(elf_link_hash_table): Add "loaded".
* elf.c (_bfd_elf_link_hash_table_init): Initialize "loaded".
* elflink.h (elf_link_check_versioned_symbol): New function.
(elf_link_output_extsym): Call elf_link_check_versioned_symbol.
gdbadmin [Sun, 23 Jun 2002 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 23 Jun 2002 00:00:07 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Sat, 22 Jun 2002 22:19:37 +0000 (22:19 +0000)]
* gdb.base/selftest.exp (do_stes_and_next): Skip calls to
setlocale, bindtextdomain and textdomain.
Andrew Cagney [Sat, 22 Jun 2002 22:04:33 +0000 (22:04 +0000)]
* infrun.c (_initialize_infrun): Delete unnecessary call to
build_infrun.
Andrew Cagney [Sat, 22 Jun 2002 21:18:32 +0000 (21:18 +0000)]
* regcache.h: Update comments describing the regcache_cpy family
of functions.
(regcache_save, regcache_restore): Delete declaration.
(regcache_save_no_passthrough): Delete declaration.
(regcache_restore_no_passthrough): Delete declaration.
* regcache.c (regcache_save): Delete function.
(regcache_save_no_passthrough): Delete function.
(regcache_restore): Delete function.
(regcache_restore_no_passthrough): Delete function.
Andrew Cagney [Sat, 22 Jun 2002 19:10:34 +0000 (19:10 +0000)]
* Makefile.in (INTL_SRC): Define.
(INTL_CFLAGS): Define.
(INTL_DIR): Define.
(STD_CFLAGS): Add INTL_CFLAGS.
DJ Delorie [Sat, 22 Jun 2002 13:31:20 +0000 (13:31 +0000)]
merge from gcc
Andrew Cagney [Sat, 22 Jun 2002 00:33:56 +0000 (00:33 +0000)]
* config/m68k/tm-m68k.h: Fix typo.
(FRAME_INIT_SAVED_REGS): Define when non-multi-arch.
(m68k_frame_init_saved_regs): Declare.
Jim Blandy [Sat, 22 Jun 2002 00:05:59 +0000 (00:05 +0000)]
Remove some vestiges of Harris 88k support.
* dwarf2read.c (decode_locdesc): Remove `#if' block for Harris 88k
register numbering quirk.
* elfread.c (elf_symtab_read): Remove `#if' block for skipping
odd symbols occurring in Harris 88k ELF targets.
gdbadmin [Sat, 22 Jun 2002 00:00:39 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 22 Jun 2002 00:00:07 +0000 (00:00 +0000)]
daily update