Mark Kettenis
3a1e71e3b1
* i386-tdep.c (i386_frameless_function_invocation,
...
i386_frame_num_args, i386_frame_init_saved_regs,
i386_skip_prologue, i386_push_dummy_frame, i386_fix_call_dummy,
i386_pop_frame, i386_push_arguments, i386_store_struct_return,
i386_extract_return_value, i386_store_return_value,
i386_extract_struct_value_address, i386_register_virtual_type,
i386_register_convertible, i386_register_convert_to_virtual,
i386_register_convert_to_raw, i386_svr4_sigtramp_saved_pc,
i386_go32_init_abi, i386_nw_init_abi, i386_gdbarch_init): Make
static.
2002-07-01 10:20:40 +00:00
Thiemo Seufer
4a14403c9f
* elfxx-mips.c (ABI_64_P): Fix comment.
...
(MIPS_ELF_OPTIONS_SECTION_NAME,MIPS_ELF_STUB_SECTION_NAME): Use the
new section names for N64 ABI.
(mips_elf_output_extsym): No special _gp_disp handling for NewABI.
(mips_elf_calculate_relocation): Code formatting.
(mips_elf_create_dynamic_relocation): Likewise.
(_bfd_mips_elf_fake_sections): IRIX6 needs this hack, too.
(_bfd_mips_elf_size_dynamic_sections): Handle GOT_PAGE for any NewABI.
(_bfd_mips_elf_relocate_section): No special handling for R_MIPS_64
in any NewABI.
(_bfd_mips_elf_finish_dynamic_symbol): No special _gp_disp handling
for NewABI.
(_bfd_mips_elf_modify_segment_map): Handle any N64 ABI.
(_bfd_mips_elf_gc_sweep_hook): NewABI GOT relocs should be handled
here, too.
2002-07-01 10:01:01 +00:00
Mark Kettenis
77b13a25ae
* i386bsd-tdep.c (i386bsd_frame_saved_pc): Removed.
2002-07-01 09:41:00 +00:00
Mark Kettenis
52e9098c24
* config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Removed.
...
* i386-sol2-tdep.c (i386_sol2_init_abi): Adjust for the removal of
this macro. Include "value.h".
2002-07-01 09:13:09 +00:00
Andreas Schwab
607c0e0944
* elf64-x86-64.c (elf64_x86_64_relocate_section): Only convert
...
R_X86_64_64 to R_X86_64_RELATIVE.
2002-07-01 08:47:13 +00:00
Alan Modra
29e2951eb7
* emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
2002-07-01 08:32:30 +00:00
Alan Modra
ba26fd966c
* vaxbsd.c: New BFD backend for VAX BSD and Ultrix.
...
* Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Add new backend.
Run "make dep-am".
* config.bfd (vax-*-bsd* | vax-*-ultrix*): Use vaxbsd_vec instead of
host_aout_vec.
* configure.in (vaxbsd_vec): Add.
* targets.c (vaxbsd_vec): Add.
* Makefile.in: Rebuild.
* configure: Rebuild.
* po/SRC-POTFILES.in: Rebuild.
2002-07-01 08:31:53 +00:00
Alan Modra
e3e942e990
* 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.
2002-07-01 08:07:31 +00:00
Alan Modra
1e2f5b6e6b
* 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.
2002-07-01 08:06:47 +00:00
Alan Modra
7815cf4fc3
* bfdlink.h (struct bfd_sym_chain): Declare.
...
(struct bfd_link_info): Add gc_sym_list. Formatting fixes.
2002-07-01 08:04:47 +00:00
Andreas Jaeger
1b71fb54e3
* elf64-x86-64.c (elf64_x86_64_check_relocs): Certain relocations
...
are not allowed in shared libs code, enforce -fPIC.
2002-07-01 06:42:27 +00:00
gdbadmin
6fee999aa2
*** empty log message ***
2002-07-01 00:00:34 +00:00
Alan Modra
8c8c7ed1df
daily update
2002-07-01 00:00:06 +00:00
Aidan Skinner
1b372fff90
Remove ada-lex.c and ada-exp.tab.c as they are generated files
2002-06-30 22:04:33 +00:00
Mark Kettenis
4a93c5bb96
* config/i386/tm-i386.h (struct frame_info, struct
...
frame_saved_regs, struct value, struct type): Remove forward
declarations.
2002-06-30 18:55:19 +00:00
Stephane Carrez
75751cd993
* readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
2002-06-30 18:43:33 +00:00
Mark Kettenis
322d4fe017
* 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.
2002-06-30 18:43:06 +00:00
Mark Kettenis
fdd8263d0a
* config/i386/tm-nbsd.h (HAVE_SSE_REGS): Remove define.
2002-06-30 17:22:57 +00:00
Mark Kettenis
482e577bab
* 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.
2002-06-30 17:19:54 +00:00
Mark Kettenis
6916549ad7
* i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to
...
i386nbsd_sc_pc_offset on OpenBSD too.
2002-06-30 17:01:42 +00:00
Mark Kettenis
9c5045b552
* 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.
2002-06-30 14:43:24 +00:00
gdbadmin
99c847f217
*** empty log message ***
2002-06-30 00:00:33 +00:00
Alan Modra
b16575a2ea
daily update
2002-06-30 00:00:05 +00:00
Hans-Peter Nilsson
8d28f606dc
* mmo.c (mmo_write_loc_chunk): Don't eliminate leading and
...
trailing zero-sequences when there's previous left-over data.
2002-06-29 21:45:09 +00:00
Hans-Peter Nilsson
9f6067066d
* 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.
2002-06-29 21:33:28 +00:00
Stephane Carrez
2916066e22
* config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.
2002-06-29 15:52:31 +00:00
Stephane Carrez
a66c0f2c3b
* 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.
2002-06-29 10:33:45 +00:00
Stephane Carrez
96e8741728
* config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
...
.softregs and .eeprom.
2002-06-29 10:32:34 +00:00
David O'Brien
83518699b9
2002-06-28 David O'Brien <obrien@FreeBSD.org>
...
* NEWS: Note the next release is 2.13.
2002-06-29 04:54:59 +00:00
gdbadmin
f65eec1e2d
*** empty log message ***
2002-06-29 00:00:32 +00:00
Alan Modra
42c15cc220
daily update
2002-06-29 00:00:06 +00:00
Andrew Cagney
aa84d1bb9b
* macrotab.h: Do not include "obstack.h" or "bcache.h".
...
(struct obstack, struct bcache): Add opaque declarations.
* Makefile.in (macrotab_h): Update
2002-06-28 23:42:33 +00:00
Andrew Cagney
b4d8393384
* 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.
2002-06-28 22:38:29 +00:00
Andrew Cagney
08c0b5bc8a
* 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".
2002-06-28 22:09:11 +00:00
Andrew Cagney
1f89801a69
* ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to
...
generic_func_frame_chain_valid.
2002-06-28 22:07:20 +00:00
David O'Brien
b9644b5802
2002-06-28 David O'Brien <obrien@FreeBSD.org>
...
* config/i386/nm-fbsd.h: Include <sys/param.h>.
* config/i386/tm-fbsd.h: Likewise.
2002-06-28 18:44:49 +00:00
Andrew Cagney
dd4866343a
* rs6000-tdep.c (rs6000_gdbarch_init): Use
...
generic_unwind_get_saved_register.
2002-06-28 16:15:07 +00:00
Alan Modra
9e2dd5dcde
daily update
2002-06-28 00:01:04 +00:00
gdbadmin
cd3a481131
*** empty log message ***
2002-06-28 00:00:04 +00:00
Jeff Law
2b67cf0053
* emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
...
section. Add ${RELOCATING-0}.
2002-06-27 22:57:50 +00:00
Jeff Law
5ac81c745e
* 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.
2002-06-27 22:57:02 +00:00
Andrew Cagney
0b434a0046
From 2002-06-27 John David Anglin <dave@hiauly1.hia.nrc.ca>:
...
* regcache.c (supply_register): Add missing argument to
register_buffer call.
2002-06-27 18:28:23 +00:00
Andrew Cagney
f30e5a77b9
* Makefile.in (init.c): Drop -e option to grep. Not necessary and
...
Solaris /bin/grep does not not like it. From Peter Schauer.
2002-06-27 15:49:23 +00:00
Andrew Cagney
b9aa90c9a1
* gdbint.texinfo (User Interface): ISO C rather than ISO-C.
...
(Coding): Clarify ISO C version that GDB assumes.
2002-06-27 15:30:32 +00:00
Alan Modra
91a4d5692a
2002-06-27 Kevin Buettner <kevinb@redhat.com>
...
* dwarf2.c (decode_line_info): Handle older, non-standard, 64-bit
DWARF2 formats.
2002-06-27 11:51:42 +00:00
Alan Modra
feee612b24
* 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.
2002-06-27 11:29:15 +00:00
Andrew Cagney
6aa4d13aab
Zap remainder of gdb.threads-hp directory.
2002-06-27 03:58:32 +00:00
Alan Modra
feb1911aea
daily update
2002-06-27 00:00:06 +00:00
gdbadmin
bc4ce01189
*** empty log message ***
2002-06-27 00:00:03 +00:00
Tom Tromey
40dd22482b
* gdbint.texinfo (User Interface): Mention add_setshow_cmd and
2002-06-26 20:58:48 +00:00