Hans-Peter Nilsson
57a4c58413
* ld-cris/libdso-3.d, ld-cris/dso-3.s, ld-cris/noglob1.s,
...
ld-cris/noglob1.d: New tests.
2002-07-09 03:46:49 +00:00
Alan Modra
c29ef4b56a
* configure.tgt: Add hppaobsd.o.
...
* Makefile.am: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
powerpc-*-openbsd* and sparc64-*-openbsd*.
* Makefile.in: Regenerate.
* emulparams/hppaobsd.sh: New file.
2002-07-09 02:42:13 +00:00
Alan Modra
03111e8359
* configure.in: Add hppa-*-openbsd* target, change
...
alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd*
with sparc64 cpu.
* configure: Regenerate.
2002-07-09 02:41:16 +00:00
Hans-Peter Nilsson
def7023cdf
Fix typo last change
2002-07-09 02:41:15 +00:00
DJ Delorie
2a9dffbf14
merge from gcc
2002-07-09 01:01:18 +00:00
Hans-Peter Nilsson
6030b50afa
* ld-cris/libdso-1.d: Tweak for change in size of dynamic sections.
2002-07-09 00:50:01 +00:00
Maciej W. Rozycki
78d32a179d
* config/tc-mips.c (macro): Shift the 32-bit address range
...
accessible with a lone "lui" down by 32768.
2002-07-09 00:42:57 +00:00
gdbadmin
f2f8f9957e
*** empty log message ***
2002-07-09 00:00:08 +00:00
Alan Modra
2b8f7433db
daily update
2002-07-09 00:00:06 +00:00
Maciej W. Rozycki
3a482fd523
* config/tc-mips.c (load_address): Use non-trapping "daddu"
...
instead of "dadd" in address calculations.
(macro): Likewise.
2002-07-08 22:42:09 +00:00
DJ Delorie
5b53c3368b
* configure.in: Don't build grez.
...
* Makefile.in: Ditto.
2002-07-08 22:18:40 +00:00
Mark Kettenis
9b94f7bfd5
* dwarf2cfi.c: Include "gcore.h".
...
(execute_stack_op): Fix implementation of the
DW_OP_deref and DW_OP_deref_size operators by letting do their
lookup in the target.
2002-07-08 20:53:45 +00:00
DJ Delorie
c74222f7de
* Makefile.in: Remove references to bsp, cygmon, libstub.
...
* configure.in: Ditto.
* configure.in: Remove leftover reference to gdbtest.
2002-07-08 20:43:20 +00:00
DJ Delorie
edd1b227cd
* configure.in (gxx_include_dir): Change to match versioned
...
C++ headers if --enable-version-specific-runtime-libs is used.
2002-07-08 17:14:04 +00:00
Alan Modra
be66c492b9
* gas/i386/intel16.s: New.
...
* gas/i386/intel16.d: New.
* gas/i386/i386.exp: Run it.
2002-07-08 10:40:37 +00:00
Alan Modra
cd61ebfe13
gas/ChangeLog
...
* config/tc-i386.c (process_suffix): Remove intel mode movsx and
movzx fudges.
(md_assemble): Instead, zap the suffix here.
include/opcode/ChangeLog
* i386.h: Remove IgnoreSize from movsx and movzx.
2002-07-08 10:03:11 +00:00
Alan Modra
aecc8f8acd
* elf.c: Formatting.
...
(IS_SOLARIS_PT_INTERP): Add p_paddr and p_memsz checks.
(INCLUDE_SECTION_IN_SEGMENT): Remove IS_SOLARIS_PT_INTERP.
(copy_private_bfd_data): Set p_vaddr on broken Solaris PT_INTERP
segments.
2002-07-08 08:13:37 +00:00
Mark Mitchell
e9168c1e2b
* cofflink.c (_bfd_coff_final_link): On PE COFF systems, take into
...
account the impact of relocation count overflow when computing
section offsets.
* coffcode.h (coff_write_relocs): Use obj_pe when deciding whether
or not to apply the PE COFF reloc overflow handling. Fix a
fencepost error in deciding whether or not to use that technique.
2002-07-08 05:34:08 +00:00
Alan Modra
d1e122bd6a
daily update
2002-07-08 00:00:06 +00:00
gdbadmin
f6c966b6c0
*** empty log message ***
2002-07-08 00:00:05 +00:00
Mark Kettenis
1d34db4151
From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>:
...
* i386-sol2-tdep.c (i386_sol2_init_abi): Correct value for
tdep->sc_sp_offset.
2002-07-07 21:31:06 +00:00
Alan Modra
6cdc0ccc12
* elf-bfd.h (struct elf_reloc_cookie): Remove locsym_shndx,
...
change type of locsyms.
(bfd_elf_get_elf_syms): Declare.
* elf.c (bfd_elf_get_elf_syms): New function.
(group_signature): Use bfd_elf_get_elf_syms.
(bfd_section_from_r_symndx): Likewise.
* elfcode.h (elf_slurp_symbol_table): Likewise.
* elflink.h (elf_link_is_defined_archive_symbol): Likewise.
(elf_link_add_object_symbols): Likewise. Reorganise to increase
locality of various data structures. Properly free internal relocs.
(elf_bfd_final_link): Properly free internal relocs.
(elf_link_check_versioned_symbol): Use bfd_elf_get_elf_syms.
(elf_link_input_bfd): Likewise.
(elf_gc_mark): Likewise. Properly free internal relocs.
(elf_gc_sweep): Properly free internal relocs.
(elf_reloc_symbol_deleted_p): No need to swap syms in.
(elf_bfd_discard_info): Use bfd_elf_get_elf_syms. Properly free
internal relocs.
* elf-m10200.c (mn10200_elf_relax_section): Use bfd_elf_get_elf_syms.
Properly free possibly cached info.
(mn10200_elf_relax_delete_bytes): Remove symbol swapping code.
(mn10200_elf_symbol_address_p): Pass in internal syms. Remove
symbol swapping code.
(mn10200_elf_get_relocated_section_contents): Use bfd_elf_get_elf_syms.
Properly free possibly cached info.
* elf-m10300.c (mn10300_elf_relax_section): As above for elf-m10200.c.
(mn10300_elf_relax_delete_bytes): Likewise.
(mn10300_elf_symbol_address_p): Likewise.
(mn10300_elf_get_relocated_section_contents): Likewise.
* elf32-h8300.c (elf32_h8_relax_section): As above for elf-m10200.c.
(elf32_h8_relax_delete_bytes): Likewise.
(elf32_h8_symbol_address_p): Likewise.
(elf32_h8_get_relocated_section_contents): Likewise.
* elf32-m32r.c (m32r_elf_relax_section): As above for elf-m10200.c.
(m32r_elf_relax_delete_bytes): Likewise.
(m32r_elf_get_relocated_section_contents): Likewise.
* elf32-sh.c (sh_elf_reloc_loop): Free section contents using
elf_section_data to determine whether cached.
(sh_elf_relax_section): As above for elf-m10200.c.
(sh_elf_relax_delete_bytes): Likewise.
(sh_elf_get_relocated_section_contents): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relax_section): As above.
* elf64-alpha.c (elf64_alpha_relax_section): As above. Also delay
reading of local syms.
* elf64-mmix.c (mmix_elf_relax_section): Likewise.
* elf64-sh64.c (sh_elf64_get_relocated_section_contents): As above.
* elfxx-ia64.c (elfNN_ia64_relax_section): As above.
* elfxx-mips.c (_bfd_mips_elf_check_relocs): Properly free internal
relocs.
* elf32-arm.h (bfd_elf32_arm_process_before_allocation): Properly
free internal relocs and section contents. Don't read symbols.
* elf32-hppa.c (get_local_syms): Use bfd_elf_get_elf_syms.
(elf32_hppa_size_stubs): Don't free local syms.
* elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Delay
reading of local syms. Use bfd_elf_get_elf_syms. Properly free
possibly cached info.
* elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Likewise.
* elf64-hppa.c (elf64_hppa_check_relocs): Use bfd_elf_get_elf_syms.
* elf64-ppc.c (struct ppc_link_hash_table): Delete bfd_count and
all_local_syms.
(get_local_syms): Delete function.
(edit_opd): Use bfd_elf_get_elf_syms. Free on error exit. Cache
on exit.
(ppc64_elf_size_stubs): Use bfd_elf_get_elf_syms. Free/cache on exit.
2002-07-07 09:10:41 +00:00
gdbadmin
d8462f1281
*** empty log message ***
2002-07-07 00:00:07 +00:00
Alan Modra
fcb95fb109
daily update
2002-07-07 00:00:06 +00:00
Alan Modra
f558386d13
daily update
2002-07-06 00:00:05 +00:00
gdbadmin
31ba7b97bb
*** empty log message ***
2002-07-06 00:00:03 +00:00
Jim Wilson
b3212001ca
This makes gprof work with non-standard text sections.
...
* syms.c (decode_section_type): New.
(bfd_decode_symclass): Call decode_section_type.
2002-07-05 20:29:38 +00:00
Daniel Jacobowitz
79d5b63a45
2002-07-05 Daniel Jacobowitz <drow@mvista.com>
...
Fix PR gdb/595, gdb/602
* gnu-v3-abi.c (gnuv3_baseclass_offset): Remove unused variables.
Don't call value_cast, just read the vtable pointer; update comments
to match.
2002-07-05 16:23:13 +00:00
Grace Sainsbury
3bb912e83b
* config/mcore/tm-mcore.h: Remove file.
...
* config/mcore/mcore.mt: Remove definition of TM_FILE
* configure.tgt: Set gdb_multi_arch to yes for the mcore target.
2002-07-05 15:09:49 +00:00
Nick Clifton
630ace253a
Add checks to catch invaliud XScale MIA, MIAPH and MIAxy instructions.
2002-07-05 14:12:01 +00:00
Alan Modra
34786259b8
* ldlang.c (print_wild_statement): Fix output formatting.
2002-07-05 12:54:28 +00:00
Alan Modra
6d0d2cd21e
daily update
2002-07-05 00:00:05 +00:00
gdbadmin
08273c8ad1
*** empty log message ***
2002-07-05 00:00:03 +00:00
Mark Kettenis
ca39387d67
* i386bsd-tdep.c: Include "gdb_string.h".
2002-07-04 22:59:01 +00:00
Alexandre Oliva
486186e3ec
* ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*.
2002-07-04 22:51:16 +00:00
Grace Sainsbury
efdc1108e7
* config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Set to 2.
...
(PR_REGNUM, FIRST_ARGREG, LAST_ARGREG,RETVAL_REGNUM): Move to
mcore-tdep.
(REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER)
(TARGET_VIRTUAL_FRAME_POINTER, BELIEVE_PCC_PROMOTION): Remove.
* mcore-tdep.c (PR_REGNUM, FIRST_ARGREG, LAST_ARGREG)
(RETVAL_REGNUM): Move macros from tm-mcore.h
(mcore_reg_struct_has_addr): New function.
(mcore_gdbarch_init): Added initializations for the macros removed
from tm-mcore.h.
2002-07-04 16:45:53 +00:00
Jakub Jelinek
894bb1ee03
* merge.c (_bfd_merged_section_offset): Avoid accessing byte before
...
section content start.
Reported by Michael Schumacher <mike@hightec-rt.com>.
2002-07-04 15:57:24 +00:00
Mark Kettenis
bb21884d54
* osabi.c (generic_elf_osabi_sniffer): Add check for FreeBSD 3.x's
...
traditonal string branding within the ELF header.
2002-07-04 15:36:51 +00:00
Daniel Jacobowitz
228c6d410e
2002-07-04 Daniel Jacobowitz <drow@mvista.com>
...
* symtab.c (remove_params): New function.
(make_symbol_overload_list): Use it instead of cplus_demangle.
(overload_list_add_symbol): Likewise. Reorder. Fix memory leak.
2002-07-04 15:22:42 +00:00
Mark Kettenis
e5e4acad5b
* i386obsd-nat.c (_initialize_i386obsd_nat): Fix typo in prototype.
2002-07-04 15:17:43 +00:00
Mark Kettenis
baadce09a6
* i386bsd-tdep.c (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end):
...
New variables.
(i386nbsd_init_abi): Use these to initialize tdep->sigtramp_start
and tdep->sigtramp_end.
* i386obsd-nat.c: New file.
* config/i386/obsd.mh (NATDEPFILES): Add i386obsd-nat.o.
2002-07-04 15:13:28 +00:00
Mark Kettenis
2404952e63
* dwarf2cfi.c (cfi_pop_frame): Use alloca() for regbuf.
...
Don't call get_current_frame().
2002-07-04 14:43:51 +00:00
Alan Modra
4bd5a3935b
* ldlang.c: (strip_excluded_output_sections): New function.
...
(lang_process): Call it.
(lang_size_sections_1): Revert 2002-06-10 change.
2002-07-04 14:41:01 +00:00
Alan Modra
bc0ba53708
* section.c (_bfd_strip_section_from_output): Remove unnecessary
...
link order code. Don't actually remove the output section here;
Just set a flag for the linker to do so.
* elflink.c (_bfd_elf_link_renumber_dynsyms): Test for removed
sections when setting up output section dynsyms.
2002-07-04 14:40:25 +00:00
Alan Modra
797fc050a0
* elflink.h (elf_link_add_object_symbols): Revert 1999-09-02 hpux
...
fudge.
* elf.c (bfd_section_from_shdr): Work around broken hpux shared
libs here instead.
2002-07-04 13:26:30 +00:00
Pierre Muller
9b4f1ba7ed
2002-07-04 Pierre Muller <muller@ics.u-strasbg.fr>
...
* i386-nat.c (child_post_startup_inferior): New function
calling i386_cleanup_dregs if
I386_USE_GENERIC_WATCHPOINTS is defined.
* config/i386/nm-i386.h: define CHILD_POST_STARTUP_INFERIOR
conditional to acknowledge that i386-nat.c has its
own child_post_startup_inferior function.
2002-07-04 12:32:29 +00:00
Mark Kettenis
00f8375edd
* i386-tdep.h (I386_MAX_REGISTER_SIZE): New define.
...
* i386-tdep.c (i386_do_pop_frame): Use I386_MAX_REGISTER_SIZE
instead of MAX_REGISTER_RAW_SIZE.
(i386_extract_return_value, i386_extract_struct_value_address):
Convert to use regcache.
(i386_gdbarch_init): Set max_register_raw_size and
max_register_virtual_size to I386_MAX_REGISTER_SIZE.
Set extract_return_value and extract_struct_value_address instead
of their deprecated variants.
2002-07-04 08:18:20 +00:00
Mark Kettenis
c0d1d88354
Convert i386 target to generic dummy frames.
...
* i386-tdep.c: Include "symfile.h".
(i386_frameless_signal_p): Consider a function to be frameless if
the pc points at the first instruction of the function.
(i386_frame_chain): Handle (generic) call dummies.
(i386_frame_saved_pc): Likewise.
(i386_frame_init_saved_regs): Remove code dealing with call
dummies on the stack.
(i386_push_dummy_frame): Removed.
(i386_call_dummy_words): Removed.
(i386_fix_call_dummy): Removed.
(i386_push_return_address): New function.
(i386_do_pop_frame): Renamed from i386_pop_frame. Add FRAME
parameter, and don't call get_current_frame.
(i386_pop_frame): New function.
(i386_gdbarch_init): Set use_generic_dummy_frames to 1, set
call_dummy_location to AT_ENTRY_POINT, set call_dummy_address to
entry_point_address, set call_dummy_breakpoint_offset to 0, set
call_dummy_length to 0, set call_dummy_words to NULL, set
sizeof_call_dummy_words to 0, set fix_call_dummy to
generic_fix_call_dummy, set pc_in_call_dummy to
pc_in_call_dummy_at_entry_point, set push_dummy_frame to
generic_push_dummy_frame, set push_return_address to
i386_push_return_address and set frame_chain_valid to
generic_file_frame_chain_valid.
2002-07-04 07:22:11 +00:00
Michal Ludvig
638c158084
2002-07-04 Michal Ludvig <mludvig@suse.cz>
...
* gdbserver/linux-x86-64-low.c (x86_64_regmap): Make it an array of
byte offsets instead of an array of indexes.
(x86_64_store_gregset, x86_64_store_fpregset): Parameter made const.
2002-07-04 06:00:49 +00:00
gdbadmin
e2af7aea91
*** empty log message ***
2002-07-04 00:00:33 +00:00