Commit Graph

32231 Commits

Author SHA1 Message Date
Tom Rix
742aeb63e9 Pass argc and argv to ldemul_choose_target.
Support -b64 in AIX
2001-12-03 23:15:28 +00:00
Alan Modra
b61fdd7ef5 daily update 2001-12-03 23:00:04 +00:00
Jim Blandy
68550daf9b * gdb.asm/s390.inc (gdbasm_datavar): Use .long' to create int'
variables on the S/390, not `.word'.
2001-12-03 21:53:16 +00:00
Kevin Buettner
e01e171deb Include solib.h. 2001-12-03 21:17:49 +00:00
Michael Snyder
045f55a687 2001-12-03 Michael Snyder <msnyder@redhat.com>
* symtab.c (search_symbols): Make sure alloca size is big enough.
2001-12-03 19:30:39 +00:00
Andrew Cagney
fdce741419 prune m68k targets down to just m68k-elf 2001-12-03 19:21:44 +00:00
Jim Blandy
386e4208fc * s390-tdep.c (s390_get_frame_info): Don't used fextra_info to set
orig_sp if it's not initialized.
2001-12-03 18:48:54 +00:00
Nick Clifton
2299ff437b Import new turkish translations from Translation Project's website. 2001-12-03 10:46:36 +00:00
Alan Modra
f09ebc7d49 * elf32-hppa.c (hppa_get_stub_entry): Remove debug message that
happens to trigger on undefined symbols.
	(final_link_relocate): Return bfd_reloc_undefined for undefined
	stubs.
	(elf32_hppa_relocate_section): Don't say we can't handle a reloc
	if we have already warned about an undefined symbol.
2001-12-03 08:42:38 +00:00
Pierre Muller
14e534aa35 2001-11-30 Pierre Muller <muller@ics.u-strasbg.fr>
* findvar.c (locate_var_value): Specify in which register a register
	variable is stored.
2001-12-03 08:41:10 +00:00
Pierre Muller
441532d7b8 2001-11-30 Pierre Muller <muller@ics.u-strasbg.fr>
* win32-nat.c (mappings): Correct position of XMM registers,
	based on FXSAVE instruction structure.
2001-12-03 08:19:01 +00:00
gdbadmin
a4cae47f1a *** empty log message *** 2001-12-03 00:00:04 +00:00
Andrew Cagney
753edfefb3 mmalloc() -> xmmalloc() 2001-12-02 22:43:59 +00:00
Andrew Cagney
aac7f4eaf2 mfree() -> xmfree(). 2001-12-02 22:38:23 +00:00
Andrew Cagney
4c17829508 mrealloc() -> xmrealloc(). 2001-12-02 22:08:47 +00:00
Andrew Cagney
7ef2d4e783 * Makefile.in (simops.h, table.c): Delete targets.
(tmp-gencode, gencode.o, gencode): Delete targets.
(simops.h): New file.
($(BUILT_SRC_FROM_IGEN)): Do not depend on simops.h.
* gencode.c: Delete file.
2001-12-02 19:27:29 +00:00
Andrew Cagney
22797942c4 * i386-tdep.c (i386go32_frame_saved_pc): New function.
* config/i386/tm-go32.h (i386go32_frame_saved_pc): Declare.
(FRAME_SAVED_PC): Redefine to i386go32_frame_saved_pc.
2001-12-02 18:29:08 +00:00
Thiemo Seufer
d75bc93d66 * elf32-mips.c (NEWABI_P): New define.
(USE_REL): Remove, replaced by
	(elf_backend_may_use_rel_p): New define.
	(elf_backend_may_use_rela_p): Likewise.
	(elf_backend_default_use_rela_p): Likewise.
	(elf_mips_howto_table): Rename to elf_mips_howto_table_rel.
	Fix some relocation definitions.
	(elf_mips_howto_table_rela): New RELA relocation definitions for
	NewABI support.
	(mips32_64bit_reloc): Use the renamed elf_mips_howto_table_rel.
	(bfd_elf32_bfd_reloc_type_lookup): Likewise.
	(mips_rtype_to_howto): Likewise.
	(_bfd_mips_elf_relocate_section): Likewise.
	(_bfd_mips_elf_object_p): Typo.
	(elf_backend_sign_extend_vma): Reordered together with many other
	defines nearby to resemble the order of declaration in the header
	file.
2001-12-02 13:27:45 +00:00
Thiemo Seufer
cdf6fd85e6 * coff-mips.c (mips_bfd_reloc_type_lookup): Replace
BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.
	* pe-mips.c (mips_bfd_reloc_type_lookup): Likewise.
	* elf32-mips.c (mips_reloc_map): Likewise. Replace
	BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32.
	* elf64-mips.c (mips_reloc_map): Likewise.
	* reloc.c (BFD_RELOC_MIPS_GPREL): Remove.
	(BFD_RELOC_MIPS_GPREL32): Remove.
	* config/tc-mips.c (macro_build): Replace BFD_RELOC_MIPS_GPREL
	by BFD_RELOC_GPREL16.
	(load_address): Likewise.
	(macro): Likewise.
	(md_apply_fix): Likewise. Replace BFD_RELOC_MIPS_GPREL32 by
	BFD_RELOC_GPREL32.
	(s_gpword): Replace BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32.
	(tc_gen_reloc): Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.
	*config/tc-mips.h: Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.
2001-12-02 13:14:48 +00:00
Andrew Cagney
2607059cba Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
gdbadmin
d41b701bc0 *** empty log message *** 2001-12-02 00:00:06 +00:00
Andrew Cagney
3680c63822 Zap sony news (m68k) and ISI (m68k) targets. 2001-12-01 23:06:47 +00:00
Alan Modra
ed12fa11e3 daily update 2001-12-01 23:00:04 +00:00
Andrew Cagney
ccb25a8a7d Zap zap. 2001-12-01 22:49:21 +00:00
Andrew Cagney
9b56715048 Zap the ultra series of a29k host and target. 2001-12-01 22:34:11 +00:00
Andrew Cagney
7e24f0b11e Zap Sun's i386i. 2001-12-01 22:19:30 +00:00
Andrew Cagney
1406caf7ab Zap all but ns32k-netbsd NS32k targets and hosts. 2001-12-01 22:02:03 +00:00
Andrew Cagney
5e734e1f9d Zap harris target and host. 2001-12-01 21:11:41 +00:00
Andrew Cagney
7768dd6c95 Zap some older PPC targets. 2001-12-01 21:01:58 +00:00
Andrew Cagney
7bc65f05b2 Zap a29k. 2001-12-01 19:34:37 +00:00
Andrew Cagney
1851bca630 Oops, Delete tic80, really. 2001-12-01 19:17:56 +00:00
Andrew Cagney
e2caac1894 Delete tic80 target. 2001-12-01 19:10:00 +00:00
Andrew Cagney
6654b4ae11 From Mark Peek.
* ppc-spr-table: Add SDA and PIR.
2001-12-01 18:56:36 +00:00
Jim Blandy
cd5195a891 Add assembly-source tests for s390-ibm-linux.
* gdb.asm/s390.inc: New file.
* gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
the S/390 architecture.
* gdb.asm/configure: Regenerated.
2001-12-01 01:13:27 +00:00
Kevin Buettner
6ded7999cd Add cross platform SVR4 shared library support for PowerPC. 2001-12-01 00:25:08 +00:00
gdbadmin
7e74fa0edf *** empty log message *** 2001-12-01 00:00:33 +00:00
Jim Blandy
df0cd8c5a7 * gdb.texinfo (Overlays): New chapter, documenting GDB's
overlay support.  Add to top-level menu.
2001-11-30 23:03:09 +00:00
Alan Modra
2d43aa5e5f daily update 2001-11-30 23:00:05 +00:00
Kevin Buettner
a42dd537c4 Define SVR4 link map offset fetcher for Linux/ARM. 2001-11-30 20:27:09 +00:00
Michael Snyder
25d559ca78 Fix typo. 2001-11-30 18:53:06 +00:00
Daniel Jacobowitz
21cfb3b661 * values.c (value_primitive_field): Add embedded_offset to the
address of structure members.
        * gnu-v3-abi.c (gnuv3_rtti_type): Cast to base type before
        attempting to access vtable pointer.  Set using_enc_p if we cast.
        (gnuv3_virtual_fn_field): Call value_cast with structure rather than
        structure pointer.  Cast to base type before attempting to access
        vtable pointer.
2001-11-30 17:47:51 +00:00
H.J. Lu
215007a648 2001-11-30 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_add_default_symbol): New.
	(elf_link_add_object_symbols): Call elf_add_default_symbol ()
	to create an indirect symbol from the default for the symbol
	with the default version if needed.
2001-11-30 15:50:56 +00:00
H.J. Lu
82e03011ac 2001-11-30 H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers.exp (build_vers_lib): Preserve the library
	order.
2001-11-30 15:41:17 +00:00
H.J. Lu
679547726a 2001-11-29 H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers.exp (build_vers_lib): Support linking against
	more than one libraries.
	Add "vers20a" and "vers20" tests for common symbols.

	* ld-elfvers/vers20.c: New.
	* ld-elfvers/vers20.dsym: New.
	* ld-elfvers/vers20.map: New.
	* ld-elfvers/vers20.ver: New.
	* ld-elfvers/vers20a.ver: New.
2001-11-30 08:07:34 +00:00
Elena Zannoni
16333c4fa1 2001-11-29 Elena Zannoni <ezannoni@redhat.com>
* Makefile.in (ppc-linux-nat.o): Add dependency on ppc-tdep.h.

	* ppc-tdep.h (PPC_GPLAST_REGNUM): Define.

	* ppc-linux-nat.c: Include ppc-tdep.h.
	(ppc_register_u_addr): Don't use the static array regmap[],
	dynamically define the mapping instead.
	(supply_gregset): Ditto.
	(fill_gregset): Ditto.
	(COPY_REG): Delete macro defintion.
	(regmap): Delete array.
2001-11-30 02:14:08 +00:00
gdbadmin
c1c829a984 *** empty log message *** 2001-11-30 00:00:06 +00:00
Alan Modra
567eaf74ef daily update 2001-11-29 23:00:06 +00:00
Jim Blandy
c8f9d51ce2 Tighten up GDB's support for returning structs by value.
* s390-tdep.c (s390_use_struct_convention): New function.
(s390_gdbarch_init): Register it as the S/390's
USE_STRUCT_CONVENTION method.  Register
generic_cannot_extract_struct_value_address as our
EXTRACT_STRUCT_VALUE_ADDRESS method.
* arch-utils.c (generic_cannot_extract_struct_value_address): New
function.
* arch-utils.h: Add corresponding prototype.
2001-11-29 22:24:42 +00:00
H.J. Lu
af667503bb 2001-11-29 H.J. Lu <hjl@gnu.org>
* bucomm.c (make_tempname): Revert the changes made on
	2001-11-14 and 2001-11-12. They won't work with directories.
2001-11-29 18:51:21 +00:00
Alexandre Oliva
3543a2f195 * config/tc-d10v.c (get_operands): Emit OPERAND_PLUS for
prefix `+'.
2001-11-29 18:23:11 +00:00