Commit graph

23396 commits

Author SHA1 Message Date
Catherine Moore
35fa3babe2 add armelf. 1998-08-02 17:30:11 +00:00
Catherine Moore
f019e5bfcc Add armelf. 1998-08-02 17:26:10 +00:00
Catherine Moore
1ec183ca2f Remove elf32-arm.c from armelf_files. 1998-08-02 17:21:39 +00:00
Catherine Moore
ee1e206fb0 add armelf. 1998-08-02 17:20:50 +00:00
Richard Henderson
c95f174afc * elf32-ppc.c (ppc_elf_check_relocs): Init sgot to NULL. Create the
.got if any relocation referrs to _GLOBAL_OFFSET_TABLE_.
        (ppc_elf_relocate_section): Pull sgot and splt search to the start
        of the function.  Recognize no .plt as static linking.
1998-08-02 10:22:30 +00:00
Richard Henderson
edc27ea5da * as.h (debug_info_type): Add entries for unspecified and dwarf*.
* ecoff.c (ecoff_generate_asm_lineno): Take no arguments; call
        as_where ourselves.  Provide a stub for !ECOFF_DEBUGGING.
        * ecoff.h: Move ECOFF_DEBUGGING protection inside GAS_ECOFF_H.
        Move ecoff_generate_asm_lineno outside ECOFF_DEBUGGING protection.
        * read.c (generate_lineno_debug): Tidy ECOFF bits.  Use
        DEBUG_UNSPECIFIED rather than DEBUG_NONE for initial test.
        * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Define to a variable.
        (SEPARATE_STAB_SECTIONS): Conditionalize on value of ECOFF_DEBUGGING.
        (INIT_STAB_SECTION): Likewise.
        (OBJ_PROCESS_STAB): Likewise.

        * config/tc-alpha.c (md_longopts): New options -mdebug/-no-mdebug.
        (md_parse_option): Watch for them.
        (alpha_cur_ent_sym, alpha_flag_mdebug): New variables.
        (md_begin): Kill neverdef code.
        (s_alpha_ent, s_alpha_end, s_alpha_mask, s_alpha_frame): New.
        (s_alpha_prologue): Watch alpha_cur_ent_sym.
        (s_alpha_coff_wrapper): New.
        (md_pseudo_table): Trap all ECOFF pseudos.
1998-08-02 02:39:52 +00:00
Catherine Moore
020c70e98e * scripttempl/elfarm.sc: New file.
* emulparams/armelf.sh: Set SCRIPT_NAME to elfarm.
1998-08-01 17:30:02 +00:00
Ulrich Drepper
5530d45d45 * elf32-mips.c (_bfd_mips_elf_section_from_shdr): Don't pass
.liblist string through gettext.
1998-08-01 16:41:51 +00:00
Ulrich Drepper
8cad2d6266 Add missing RHF_* constants. 1998-08-01 04:30:17 +00:00
Ron Unrau
e417b893a7 * config/tm-txvu.h: use NUM_CORE_REGS instead of NUM_R5900_REGS
* mips-tdep.c: use NUM_CORE_REGS
        * txvu-tdep.c: use NUM_CORE_REGS, add function prototypes
        (txvu_insert_breakpoints): use VIF interrupt bit
1998-07-31 22:08:08 +00:00
Ron Unrau
b8140a08bf * sim-main.h: shadow NUM_CORE_REGS from tm-txvu.h
* interp.c: use NUM_CORE_REGS
        * sky-gdb.c (set_fifo_breakpoints): use VIF interrupt bit for break
        * sky-pke.c (pke_issue): use interrupt bit for break points
1998-07-31 22:02:12 +00:00
Ron Unrau
4f528afaf1 Start of changes to remove mdebug section from mips*-elf
Based on MIPS_STAB_ELF definition
        * acconfig.h: undef if not configured
        * config.in: undef if not configured
        * config/mips-elf.h: only set ECOFF debugging if not stabs-in-elf
        * config/tc-mips.c (s_ent): set BSF_FUNCTION
        * stabs.c (s_stab_generic): flush frag
1998-07-31 21:56:15 +00:00
Catherine Moore
ea89ffaec5 *** empty log message *** 1998-07-31 21:51:01 +00:00
Catherine Moore
1667e4c2e0 * config/tc-arm.h: Add definitions for OBJ_ELF. 1998-07-31 21:44:56 +00:00
Catherine Moore
7cebe50aea *** empty log message *** 1998-07-31 21:40:41 +00:00
Catherine Moore
efaa65c99c * Makefile.am: Add support for elf32-arm.lo.
* Makefile.in: Rebuild.
        * config.bfd (arm-*-elf):  Define targ_defvec and targ_selvecs.
        (thumb-*-elf): Define targ_defvec and targ_selvecs.
        * configure.in:  Handle bfd_elf32_littlearm_vec and bfd_elf32_bigarm_vec.
        * configure: Regenerate.
        * elf.c: (prep_headers):  Support arch_type of EM_ARM.
        * targets.c:  Support new targets bfd_elf32_bigarm_vec and
        bfd_target bfd_elf32_littlearm_vec.
        * elf32-arm.c:  New file.
1998-07-31 21:26:28 +00:00
Catherine Moore
72d52fcda0 *** empty log message *** 1998-07-31 21:18:34 +00:00
Catherine Moore
0a8aeb55e4 * configure.in: (arm-*-elf): Handle.
(thumb-*-elf): Handle.
        * configure:  Regenerate.
        * read.c (stringer): Fix typo in comment.
        * write.c (fixup_segment): Don't add symbol value to addend if
        TC_ARM and OBJ_ELF.
        * config/tc-arm.c (md_section_align):  Don't align dwarf debug
        sections.
        (tc_gen_reloc):  Always set the reloc addend to fixp->fx_offset
        for OBJ_ELF.
1998-07-31 21:15:51 +00:00
Catherine Moore
6e723af99a emulparams/armelf.sh: New file.
configure.tgt:  Recognize thumb-elf and arm-elf.
Makefile.am (earmelf.o): New.
Makefile.in: Rebuild.
1998-07-31 21:14:19 +00:00
Drew Moseley
c2867a6c70 Change the definition of ui_loop_hook to be a function pointer
rather than a function.
1998-07-31 17:26:05 +00:00
Catherine Moore
be5b92f932 (dump_relocations): EM_ARM uses rela relocs. 1998-07-31 15:08:44 +00:00
Catherine Moore
860fe0c07e Add R_ARM_THM_PC9 relocation. 1998-07-31 15:04:36 +00:00
Catherine Moore
11d2da24a2 Add sanitize markers for thumb-elf and arm-elf. 1998-07-31 14:50:23 +00:00
Catherine Moore
db8f71710a Add arm-elf and thumb-elf support. 1998-07-31 14:43:47 +00:00
Jeff Holcomb
acf38b4e4a fix sanitization 1998-07-31 05:23:28 +00:00
Mark Alexander
3d3abf70e9 * mips-tdep.c (mask_address_p): New variable.
(mips_addr_bits_remove): Test mask_address_p to decide whether
	to mask off the upper 32 bits of addresses.
	(_initialize_mips_tdep): Add command to set mask_address_p.
	(mips_call_dummy_address): New function.
	* config/mips/tm-mips.h (CALL_DUMMY_ADDRESS): Redefine to
	call mips_call_dummy_address.
1998-07-30 21:07:14 +00:00
Frank Ch. Eigler
e21cafde4e * Fix for PR 16389, brought over from d30v branch.
Thu Jul 30 21:38:43 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* config/tc-d30v.c ({cur,prev}_left_kills_right_p): New variables.
	(write_2_short): Emit warning if new flag is set.
	(do_assemble): Set flags if left instruction is one of special
	"right-instruction-killer" type.
1998-07-30 19:41:18 +00:00
Frank Ch. Eigler
2c5d6bf41b * Fix for PR 16389, brought over from d30v branch.
Thu Jul 30 21:44:25 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* d30v.h (FLAG_LKR): New flag for "left-kills-right" instructions.
1998-07-30 19:39:47 +00:00
Frank Ch. Eigler
98c5616ad4 * Fix for PR 16389, brought over from d30v branch
Thu Jul 30 21:41:10 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* d30v-opc.c (d30v_opcode_table): Add new "LKR" flag to some
	instructions.
1998-07-30 19:38:15 +00:00
Fernando Nasser
4ef0351db6 * symfile.c (add_symbol_file_command): Test for the from_tty
parameter and avoid query when not interactive.
PR16620
1998-07-29 18:59:19 +00:00
Jeff Law
e1160daac2 Fix sanitize misspellings. 1998-07-29 18:28:29 +00:00
Jeff Law
b5f864ee09 Sanitize away beos references. 1998-07-29 18:26:26 +00:00
Jeff Law
fb23007f35 Keep sysdep-hpux11.h 1998-07-29 17:22:48 +00:00
Jeff Law
6185f899b9 * mn10300-tdep.c (set_movm_offsets): Do nothing for the am33
registers if we are not in am33 mode.
        (mn10300_frame_chain, mn10300_frame_saved_pc): Similarly.
        (set_machine_hook): Keep track of whether or not we're in am33 mode.
1998-07-29 16:41:36 +00:00
Stan Cox
f1f40f95ca sparc.h: (R_SPARC_REV32): Added for little endian data e.g. sparc 86x. 1998-07-29 01:47:13 +00:00
Andrew Cagney
8d3580d090 Fix incorrect calculation of conditional field when being extracted
from a previous decode.
1998-07-29 00:14:29 +00:00
Doug Evans
d846a17c70 Add support for new versions of mulwhi,mulwlo,macwhi,macwlo that
accept an accumulator choice.
	* cpux.c,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate.
1998-07-28 20:09:10 +00:00
Doug Evans
1beffba126 New testcases for PR 16547 (new insns added). 1998-07-28 18:47:29 +00:00
Doug Evans
fe63ffef0a New testcases for PR 16547 (new instructions added). 1998-07-28 18:43:52 +00:00
Jeff Law
711eeac0eb * config/tc-mn10300.c (md_assemble): Fix "errmsg" initialization
to work with internationalization code.  Issue an error when two
        operands match that are not allowed to match.
1998-07-28 17:03:05 +00:00
Jeff Law
9509185b58 * m10300-opc.c: Add entries for "no_match_operands" field in
the opcode table.
1998-07-28 17:01:21 +00:00
Jeff Law
ce23878776 * sysdep-hpux11.h: New file.
* configure.in (*-*-*-hpux11*): Use sysdep-hpux11.h.
1998-07-28 15:44:30 +00:00
Andrew Cagney
f6b7bfcfa0 Add note about limitations of insn_field_cmp(). 1998-07-28 08:58:23 +00:00
Andrew Cagney
07c2bd1455 Problems with conditional instruction-table fields (N!M, N=M, ...).
Was restricting `M' to opcode fields in the current word.
1998-07-28 08:08:54 +00:00
Doug Evans
f36af4ae61 * configure.in (install_tooldir): Allow target to specify whether
it wants to be installed in $(tooldir)/bin.
start-sanitize-sky
	(dvp-*-*): Don't install in $(tooldir)/bin.
end-sanitize-sky
	* configure: Regenerate.
	* Makefile.am (install-exec-local): Set install-exec-tooldir
	dependency via configure.
	* Makefile.in: Regenerate.
1998-07-27 23:30:34 +00:00
Doug Evans
16a628c00f * mt-sky (install-dvp-gas): Delete. 1998-07-27 23:25:03 +00:00
Michael Snyder
0745a748dd Mon Jul 27 16:11:42 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* tracepoint.c (remote_set_transparent_ranges): new function.
        Send the start and end addresses of all loadable read-only
        sections down to the trace target, so that it can treat them
        as "transparent" (ie. don't care if they were collected or not).
1998-07-27 23:13:22 +00:00
Mark Alexander
5ef103c0b9 * mn10300-tdep.c (mn10300_analyze_prologue): Undo previous fix
for setting frame address in optimized code; made unnecessary
	by compiler fixes.
1998-07-27 22:41:21 +00:00
Martin Hunt
6f5af15b07 Mon Jul 27 13:07:16 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk.c (gdbtk_call_command): Removed because it is now
	in gdbtk-hooks.c
	(null_routine): Removed.

	* gdbtk-hooks.c (tracepoint_notify): Fix sprintf to
	match number of arguments.

	* gdbtk-cmds.c (gdb_loc): When calling gdb_loc with an
	argument, call find_pc_line() to get a complete
	symtab_and_line struct.
1998-07-27 20:23:58 +00:00
Martin Hunt
55d3002f53 Mon Jul 27 10:45:56 1998 Martin M. Hunt <hunt@cygnus.com>
* symtab.c (decode_line_1): For minimal symbol, call
	find_pc_sect_line() to make sure the line number gets set
	properly.
	(print_symbol_info): Redeclare function void.
1998-07-27 20:23:32 +00:00