Commit graph

32248 commits

Author SHA1 Message Date
Alexandre Oliva
373efcb309 * d10v-dis.c (print_operand): Apply REGISTER_MASK to `num' of
unmatched register.
2001-12-04 12:30:55 +00:00
Nick Clifton
8350bcd967 Only clear cpu part when specifying 'xscale' cpu (don't change the fpu part) 2001-12-04 11:28:29 +00:00
Alexandre Oliva
2888ec1545 * elf32-d10v.c (elf_d10v_howto_table): Adjust bit-size of
R_D10V_10_PCREL_L, R_D10V_10_PCREL_R, R_D10V_18,
R_D10V_18_PCREL.  Check 10_PCREL relocations as signed.
Disable pointless overflow checking of NONE and 32.
2001-12-04 10:48:58 +00:00
Orjan Friberg
2a9ecef2fc 2001-12-04 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (cris_regnums): Add DCCR_REGNUM for completeness.
	(cris_examine): Add comment about solib prologue parsing.
	(bdap_prefix): Read offset with correct signedness and size.
	(move_to_preg_op): Don't rely on register numbering for register size.
	(none_reg_mode_move_from_preg_op): Ditto.
2001-12-04 10:33:57 +00:00
Jakub Jelinek
cedd9a5807 * strings.c: Include config.h before bfd.h.
(file_off): New type.
	(file_open): Define.
	(print_strings): Use file_off instead of file_ptr.  Print addresses
	which don't fit into long correctly.
	(get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
	available.
	(strings_file): Use file_off instead of file_ptr.  Use file_open.
	* configure.in: Check for getc_unlocked.
	Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
	be defined for it.
	* configure: Rebuilt.
	* config.h.in: Rebuilt.
2001-12-04 10:11:22 +00:00
Alexandre Oliva
d126725049 * d10v-dis.c (print_operand): Disregard OPERAND_SP in register
predefined value.
2001-12-04 10:08:19 +00:00
Alexandre Oliva
461448d855 * config/tc-d10v.c (find_opcode): Reject SP operand if
OPERAND_NOSP flag is present.
2001-12-04 10:07:03 +00:00
Alexandre Oliva
41852a32f7 * d10v-opc.c (RSRC_NOSP): New macro.
(d10v_operands): Add it.
(d10v_opcodes): Use RSRC_NOSP in post-decrement "st" and "st2w".
2001-12-04 10:06:50 +00:00
Alexandre Oliva
124ddbb22f * d10v.h (OPERAND_NOSP): New macro. 2001-12-04 10:06:40 +00:00
Nick Clifton
a9ef678ded fix typo 2001-12-04 09:46:41 +00:00
Orjan Friberg
ba5f0d88f3 2001-12-04 Orjan Friberg <orjanf@axis.com>
* solib.c (solib_open): Make path relative if search for absolute path
	failed.  If search for relative path in solib_search_path failed, fall
	back to search for basename only.
2001-12-04 09:34:56 +00:00
Martin Hunt
7c7a201a79 2001-12-03 Martin M. Hunt <hunt@redhat.com>
* serial.h: Add a note to serial_open.

	* ser-tcp.c (tcp_open): Rewrite to use a non-blocking connect.
	Allow UI and CLI to abort connect.  Instead of trying 15 times
	with very long timeouts, just try one connect with a maximum timeout
	of 15 seconds.
2001-12-04 06:12:56 +00:00
Eric Christopher
d11008e15f 2001-12-03 Eric Christopher <echristo@redhat.com>
* config/tc-mips.c (tc_gen_reloc): One missed BFD_RELOC_MIPS_GPREL.
2001-12-04 00:51:33 +00:00
Alan Modra
7cecdbff28 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT. 2001-12-04 00:10:40 +00:00
gdbadmin
f599053f37 *** empty log message *** 2001-12-04 00:00:35 +00:00
Tom Rix
e826c14a72 Removing, redundant with support of -b64 2001-12-03 23:19:06 +00:00
Alan Modra
e207c4fac5 * reloc.c (bfd_install_relocation): Correct reloc address test.
(bfd_perform_relocation): Formatting fix.
	* bfd-in2.h: Regenerate for 2001-12-02 reloc.c change.
2001-12-03 23:16:20 +00:00
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