Ken Raeburn [Tue, 18 Aug 1998 18:58:10 +0000 (18:58 +0000)]
fix broken sanitization
Catherine Moore [Tue, 18 Aug 1998 17:15:58 +0000 (17:15 +0000)]
* emultempl/armelf.em (gld_armelf_before_allocation):
Add bfd_ prefix to elf32_arm_process_before_allocation
and elf32_arm_allocate_interworking_sections.
(gld_armelf_after_open): Add bfd_ prefix to
elf32_arm_get_bfd_for_interworking.
Catherine Moore [Tue, 18 Aug 1998 17:03:48 +0000 (17:03 +0000)]
tc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
tc-arm.c (arm_fix_adjustable): New routine.
Catherine Moore [Tue, 18 Aug 1998 16:55:29 +0000 (16:55 +0000)]
* elf32-arm.c: Add prefix bfd_ to elf32_arm_get_bfd_for_interworking,
elf32_arm_allocate_interworking_sections and
elf32_arm_process_before_allocation.
* bfd-in.h: Ammend prototype for
elf32_arm_process_before_allocation to remove surplus third
argument.
* bfd-in2.h: Regenerate.
Richard Henderson [Sun, 16 Aug 1998 03:58:11 +0000 (03:58 +0000)]
* elf64-alpha.c (elf64_alpha_relax_section): Handle indirect symbols.
Stan Shebs [Fri, 14 Aug 1998 22:52:18 +0000 (22:52 +0000)]
No longer need to sanitize out tx39 bits
Ian Lance Taylor [Fri, 14 Aug 1998 19:52:24 +0000 (19:52 +0000)]
* Makefile.am: Rebuild dependencies.
* Makefile.in: Rebuild.
Ian Lance Taylor [Fri, 14 Aug 1998 19:40:01 +0000 (19:40 +0000)]
* ldgram.y: Include "ldctor.h".
(statement): Accept SORT around CONSTRUCTORS.
* ldctor.c: Include <ctype.h>.
(constructors_sorted): New global variable.
(ctor_prio, ctor_cmp): New static functions.
(ldctor_build_sets): Sort constructors if requested.
* ldctor.h (constructors_sorted): Declare.
* ldlang.c (print_statement): Print sorted CONSTRUCTORS
correctly.
* scripttempl/elf.sc: Add sort around CONSTRUCTORS.
* ld.texinfo (Output Section Keywords): Document SORT
(CONSTRUCTORS).
Stan Cox [Fri, 14 Aug 1998 18:56:41 +0000 (18:56 +0000)]
* aoutx.h (aout_link_input_section_ext): Use the relocation already
calculated for RELOC_SPARC_REV32 case.
Jeff Law [Fri, 14 Aug 1998 17:18:01 +0000 (17:18 +0000)]
* mn10300-tdep.c (set_movm_offsets): Change second argument to
be the actual args to movm itself. All callers changed. Only set
fi->fsr.regs[x] if reg X is saved by the movm instruction.
Peter Schauer [Fri, 14 Aug 1998 11:20:51 +0000 (11:20 +0000)]
* sol-thread.c (lwp_to_thread): Fix error message for failing
td_ta_map_lwp2thr call.
(ps_lgetLDT): Mask off upper bits in GS register when comparing
with selector.
Catherine Moore [Thu, 13 Aug 1998 23:12:52 +0000 (23:12 +0000)]
Add armelf.
Vladimir Makarov [Thu, 13 Aug 1998 22:05:52 +0000 (22:05 +0000)]
* read.c (s_align, s_comm, s_mri_common, s_fail, s_globl, s_space,
s_float_space, s_struct, cons_worker): Move ignore_rest_of_line or
demand_empty_rest_of_line before mri_comment_end.
(equals): Check garbage after expression before
mri_comment_end in MRI mode.
PR16551
Drew Moseley [Thu, 13 Aug 1998 20:24:45 +0000 (20:24 +0000)]
Added Foundry SDK changes.
Ian Lance Taylor [Thu, 13 Aug 1998 20:24:03 +0000 (20:24 +0000)]
* ppc-opc.c (powerpc_operands): Omit parens around additions in
operand name macros.
Drew Moseley [Thu, 13 Aug 1998 20:15:20 +0000 (20:15 +0000)]
Added a scope-level around the contents of an #ifdef in
gdbtk_cleanup() so that the variable declarations in there
would not be illegal in a C compilation.
Ian Lance Taylor [Thu, 13 Aug 1998 19:09:25 +0000 (19:09 +0000)]
* config/tc-mips.c (macro): Correct M_SGE_I/M_SGEUI_I case for a
small immediate constant to use the constant itself rather than
always using 1.
Catherine Moore [Thu, 13 Aug 1998 17:45:02 +0000 (17:45 +0000)]
Thu Aug 13 12:20:39 1998 Catherine Moore <clm@cygnus.com>
* emulparams/armelf.sh: Define TEMPLATE_NAME to armelf.
* scripttempl/elfarm.sc: Include .glue_7t and .glue7
sections.
* emultempl/armelf.em: New file.
Ian Lance Taylor [Thu, 13 Aug 1998 16:58:33 +0000 (16:58 +0000)]
Thu Aug 13 12:52:45 1998 H.J. Lu <hjl@gnu.org>
* Makefile.am (ld.dvi): Use " instead of ' for MAKEINFO.
* Makefile.in: Rebuild.
Jeff Law [Thu, 13 Aug 1998 16:38:42 +0000 (16:38 +0000)]
Keep udf.s
Doug Evans [Wed, 12 Aug 1998 23:35:38 +0000 (23:35 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set vma to 0
for .DVP.overlay.* for elf32elmip too.
Ian Lance Taylor [Wed, 12 Aug 1998 23:04:13 +0000 (23:04 +0000)]
Wed Aug 12 19:00:39 1998 Geoff Keating <geoffk@ozemail.com.au>
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Generate PLT
entries unless the symbol is defined in the executable; in
particular, undefined weak symbols get a PLT entry.
Ian Lance Taylor [Wed, 12 Aug 1998 22:51:38 +0000 (22:51 +0000)]
* config/tc-hppa.c (pa_enter): Call as_bad rather than abort.
(pa_leave): Likewise.
Ian Lance Taylor [Wed, 12 Aug 1998 19:22:30 +0000 (19:22 +0000)]
Based on patch from H.J. Lu <hjl@gnu.org>:
* ld-srec/srec.exp: Add xfails for Alpha ELF targets.
Ian Lance Taylor [Wed, 12 Aug 1998 19:06:24 +0000 (19:06 +0000)]
Avoid some overflow cases:
* basic_blocks.h (bb_min_calls): Change to unsigned long.
* call_graph.h (cg_tally): Change count parameter to unsigned
long.
* cg_arcs.h (Arc): Change count field to unsigned long.
(arc_add): Change count parameter to unsigned long.
* source.h (Source_File): Change ncalls field to unsigned long.
* symtab.h (Sym): Change fields ncalls, bb_calls, and
cg.self_calls to unsigned long.
* Many files: Update accordingly.
Ian Lance Taylor [Wed, 12 Aug 1998 19:01:16 +0000 (19:01 +0000)]
* configure, Makefile.in, aclocal.m4: Rebuild with current tools.
Ian Lance Taylor [Wed, 12 Aug 1998 18:48:57 +0000 (18:48 +0000)]
* libaout.h: Remove nested comment to avoid warning.
Ian Lance Taylor [Wed, 12 Aug 1998 18:02:01 +0000 (18:02 +0000)]
From Peter Thiemann <thiemann@informatik.uni-tuebingen.de>:
* ppc-opc.c (insert_mbe): Handle wrapping bitmasks.
(extract_mbe): Likewise.
Jeff Law [Wed, 12 Aug 1998 17:56:43 +0000 (17:56 +0000)]
* gas/mn10300/udf.s: New test.
* gas/mn10300/basic.exp: Run it.
Jeff Law [Wed, 12 Aug 1998 17:47:45 +0000 (17:47 +0000)]
* m10300-opc.c: Fix typo in udf20 .. udf25 instruction opcodes.
Nick Clifton [Wed, 12 Aug 1998 17:32:39 +0000 (17:32 +0000)]
Document .req directive
Improve error message when unrecognised register name is encountered.
Ian Lance Taylor [Wed, 12 Aug 1998 17:26:42 +0000 (17:26 +0000)]
Wed Aug 12 13:25:03 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.c (md_assemble): Emit a warning for stand-alone
prefixes.
(i386_operand): Fix an error message.
Ian Lance Taylor [Wed, 12 Aug 1998 17:26:17 +0000 (17:26 +0000)]
Wed Aug 12 13:25:38 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* gas/i386/white.l: Expect warning for stand-alone ss prefix.
Jeff Law [Wed, 12 Aug 1998 17:12:31 +0000 (17:12 +0000)]
* m10300-opc.c: First cut at UDF instructions.
Stu Grossman [Wed, 12 Aug 1998 16:10:31 +0000 (16:10 +0000)]
* expprint.c (dump_prefix/postfix_expression): Don't try to print type
expressions.
Stu Grossman [Wed, 12 Aug 1998 15:50:59 +0000 (15:50 +0000)]
* c-typeprint.c (c_print_type): Don't crash if varstring is null.
* expprint.c expression.h (dump_expression): Rename to
dump_prefix_expression.
* Print out the expression in normal form. Call print_longest
instead of trying to do it ourselves.
* (dump_postfix_expression): New function, prints out the expression
with indentation and better formatting and interpretation.
* parse.c (parse_exp_1): Put calls to dump expressions under ifdef
MAINTENANCE_CMDS and expressiondebug variable.
Frank Ch. Eigler [Wed, 12 Aug 1998 13:50:45 +0000 (13:50 +0000)]
* Handle the possibility that some simulator commands may modify register
state behind gdb's back.
Wed Aug 12 16:30:01 1998 Frank Ch. Eigler <fche@cygnus.com>
* remote-sim.c (simulator_command): Reset register cache after
simulator command.
Ken Raeburn [Wed, 12 Aug 1998 10:50:35 +0000 (10:50 +0000)]
sanitize-vr5400 -> sanitize-cygnus, for 98r2
Ken Raeburn [Wed, 12 Aug 1998 03:29:09 +0000 (03:29 +0000)]
sanitize-vr5400 -> sanitize-cygnus
Ken Raeburn [Wed, 12 Aug 1998 02:18:03 +0000 (02:18 +0000)]
sanitize-vr5400 -> sanitize-cygnus
Catherine Moore [Wed, 12 Aug 1998 00:11:13 +0000 (00:11 +0000)]
* scripttempl/elfarm.sc: Change text start address
back to zero.
Catherine Moore [Tue, 11 Aug 1998 19:58:02 +0000 (19:58 +0000)]
* elf32-arm.c (elf32_arm_final_link_relocate): Remove unused
argument is_local. Add argument sym_flags. Check sym_flags
in R_ARM_ABS32 case. Include addend for R_ARM_THM_PC22 case.
(elf32_arm_relocate_section): Don't pass local sym and pass
sym_flags to elf32_arm_final_link_relocate.
Jeff Law [Tue, 11 Aug 1998 16:03:15 +0000 (16:03 +0000)]
* emulparms/mn10200.sh (MAX_PAGESIZE): Define to 1.
* emulparms/mn10300.sh (MAX_PAGESIZE): Define to 1.
Richard Henderson [Tue, 11 Aug 1998 03:40:39 +0000 (03:40 +0000)]
* elf64-alpha.c (elf64_alpha_calc_dynrel_sizes): Correct last change
to not count too few relocs for dynamicly linked executables.
Richard Henderson [Mon, 10 Aug 1998 22:35:02 +0000 (22:35 +0000)]
* elflink.h (elf_gc_common_finalize_got_offsets): For backends
that use a .got.plt section start the got offset at zero.
Nick Clifton [Mon, 10 Aug 1998 22:07:57 +0000 (22:07 +0000)]
Fix PR 15003 - always perform alignment requests
Ian Lance Taylor [Mon, 10 Aug 1998 21:50:33 +0000 (21:50 +0000)]
Mon Aug 10 17:48:09 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
config/tc-i386.c (i386_operand): Size immediate constants by
suffix (erroneously removed as part of July 7 change).
Ian Lance Taylor [Mon, 10 Aug 1998 21:32:53 +0000 (21:32 +0000)]
* ieee.c (ieee_write_processor): Correct the processor ID written
out for bfd_arch_m68k, accommodating change of March 25.
Ian Lance Taylor [Mon, 10 Aug 1998 20:30:33 +0000 (20:30 +0000)]
add armelf sanitization
Catherine Moore [Mon, 10 Aug 1998 17:54:33 +0000 (17:54 +0000)]
Fix indentation.
Catherine Moore [Mon, 10 Aug 1998 02:02:18 +0000 (02:02 +0000)]
* elf32-arm.c (elf32_arm_final_link_relocate): Rework
R_ARM_THM_RPC22 relocations.
Catherine Moore [Mon, 10 Aug 1998 01:56:36 +0000 (01:56 +0000)]
* config/obj-elf.h: Check for redefinition of obj_frob_symbol.
* config/tc-arm.c: Define S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS.
(armelf_frob_symbol): New Routine.
* config/tc-arm.h: Define obj_frob_symbol if OBJ_ELF.
Catherine Moore [Mon, 10 Aug 1998 01:45:58 +0000 (01:45 +0000)]
* scripttempl/elfarm.sc: Set text start address to
0x8000. Add __bss_end definition.
Catherine Moore [Mon, 10 Aug 1998 01:27:05 +0000 (01:27 +0000)]
* arm-dis.c (print_insn_big_arm): Check for thumb symbol
attributes.
(print_insn_little_arm): Likewise.
Richard Henderson [Sat, 8 Aug 1998 22:23:44 +0000 (22:23 +0000)]
* config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms.
Richard Henderson [Sat, 8 Aug 1998 22:17:16 +0000 (22:17 +0000)]
* elf64-alpha.c (alpha_elf_dynamic_symbol_p): Undef weak symbols
are always dynamic.
(elf64_alpha_calc_dynrel_sizes): Allow enough room for RELATIVE
.got relocs in -Bsymbolic shared objects.
Catherine Moore [Fri, 7 Aug 1998 01:29:08 +0000 (01:29 +0000)]
add sanitization markers.
Catherine Moore [Fri, 7 Aug 1998 01:25:52 +0000 (01:25 +0000)]
Add armelf sanitization.
Ron Unrau [Thu, 6 Aug 1998 20:02:47 +0000 (20:02 +0000)]
* sim-main.h: track COP2 register definitions, define VIO_BASE
* interp.c (sim_{fetch,store}_register): read/write VU0/1 control regs
* sky-gdb.c: use VIO_BASE
* sky-pke.h: move GDB_COMM area
Ron Unrau [Thu, 6 Aug 1998 19:16:53 +0000 (19:16 +0000)]
* txvu-tdep.c: add VU0/1 control registers
* config/mips/tm-txvu.h: ditto
Nick Clifton [Wed, 5 Aug 1998 22:55:12 +0000 (22:55 +0000)]
Set BFD private flags based on command line switches.
Nick Clifton [Wed, 5 Aug 1998 22:53:57 +0000 (22:53 +0000)]
Add ARM ELF header flags
Nick Clifton [Wed, 5 Aug 1998 22:52:27 +0000 (22:52 +0000)]
Add ARM ELF private flags
Nick Clifton [Tue, 4 Aug 1998 21:18:41 +0000 (21:18 +0000)]
oops - move armelf sanitization before check for remaining sanitize
Ron Unrau [Tue, 4 Aug 1998 17:05:15 +0000 (17:05 +0000)]
* txvu-tdep.c (txvu_insert_breakpoint): make sure CPU context is
set to correct VU memory space.
(txvu_remove_breakpoint): use this instead of txvu_breakpoint_from_pc
* config/tm-txvu.h: use new track-table address
Do note define BREAKPOINT_FROM_PC anymore
Nick Clifton [Tue, 4 Aug 1998 15:53:37 +0000 (15:53 +0000)]
fix armelf sanitization
Doug Evans [Tue, 4 Aug 1998 02:52:16 +0000 (02:52 +0000)]
Rename cpu m32r to m32rb to distinguish from architecture name.
* Makefile.in (mloop.c): cpu m32r renamed to m32rb.
(stamp-cpu): Ditto.
* sim-main.h (WANT_CPU_M32RB): Renamed from WANT_CPU_M32R.
* tconfig.in (WANT_CPU_M32RB): Ditto.
* m32r.c (WANT_CPU_M32RB): Ditto.
(*): m32r_ cpu fns renamed to m32rb_.
* sim-if.c (sim_stop,sim_sync_stop,sim_resume): Update.
* arch.h,arch.c: Regenerate.
* cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
* sem-switch.c,sem.c: Regenerate.
* sim-if.c (sim_open): Don't allocate memory on top of any user
specified memory.
(h_gr_get,h_gr_set): Delete.
* sim-main.h (h_gr_get,h_gr_set): Delete.
* traps.c (m32r_trap): Replace calls to h_gr_[gs]et with
a_m32r_h_gr_[gs]et.
Nick Clifton [Tue, 4 Aug 1998 00:36:01 +0000 (00:36 +0000)]
fixed armelf sanitization
Ian Lance Taylor [Tue, 4 Aug 1998 00:11:32 +0000 (00:11 +0000)]
* elf32-sparc.c (elf32_sparc_check_relocs): Permit WPLT30 against
a local symbol.
(elf32_sparc_relocate_section): Likewise.
Doug Evans [Mon, 3 Aug 1998 21:18:08 +0000 (21:18 +0000)]
* cgen.h (GAS_CGEN_MAX_FIXUPS): GAS_ prepended, all uses updated.
(gas_cgen_opcode_desc): Declare.
(gas_cgen_parse_operand): Declare.
(*): Prepend gas_ to gas specific fns to denote them as such.
All uses updated.
* cgen.c (gas_cgen_opcode_desc): New global
(gas_cgen_init_parse): Renamed from cgen_asm_init_parse.
(queue_fixup): Renamed from cgen_queue_fixup.
(*): Prepend gas_ to gas specific fns to denote them as such.
All uses updated.
(gas_cgen_md_apply_fix3): Update call to insert_operand.
(gas_cgen_finish_insn): Renamed from cgen_asm_finish_insn.
* config/tc-m32r.c (md_begin): Remove use of CGEN_SYM.
Open opcode table and initialize it.
(make_parallel): Use gas_cgen_opcode_desc.
(assemble_parallel_insn): Ditto. Remove use of CGEN_SYM.
(md_assemble): Ditto.
Doug Evans [Mon, 3 Aug 1998 19:58:36 +0000 (19:58 +0000)]
* Makefile.in (INCLUDE_DEPS): Add include/opcode/cgen.h.
* sim-if.c (sim_open): Open opcode table.
(sim_close): Close it.
Doug Evans [Mon, 3 Aug 1998 19:56:43 +0000 (19:56 +0000)]
Move all global state data into opcode table struct, and treat
opcode table as something that is "opened/closed".
* cgen-asm.c (all fns): New first arg of opcode table descriptor.
(cgen_asm_init): Delete.
(cgen_set_parse_operand_fn): New function.
* cgen-dis.c (all fns): New first arg of opcode table descriptor.
(cgen_dis_init): Delete.
* cgen-opc.c (all fns): New first arg of opcode table descriptor.
(cgen_current_{opcode_table_mach,endian}): Delete.
* cgen-asm.in (all fns): New first arg of opcode table descriptor.
* cgen-dis.in (all fns): Ditto.
* cgen-opc.in (all fns): Ditto.
* m32r-asm.c,m32r-dis.c,m32r-opc.c,m32r-opc.h: Regenerate.
* cgen-asm.in (parse_insn_normal): Ignore case in mnemonics.
* cgen-dis.in (print_normal): Split into two.
(print_address): New function.
(extract_insn_normal): Clarify insn_value arg.
(print_int_insn): Renamed from print_insn.
(print_insn): New arg.
(print_insn_@arch@): Open opcode table if not already done so.
Move reading of insn into print_insn.
Doug Evans [Mon, 3 Aug 1998 19:29:51 +0000 (19:29 +0000)]
Move all global state data into opcode table struct, and treat
opcode table as something that is "opened/closed".
* cgen.h (CGEN_OPCODE_DESC): New type.
(all fns): New first arg of opcode table descriptor.
(cgen_set_parse_operand_fn): Add prototype.
(cgen_current_machine,cgen_current_endian): Delete.
(CGEN_OPCODE_TABLE): New members mach,endian,operand_table,
parse_operand_fn,asm_hash_table,asm_hash_table_entries,
dis_hash_table,dis_hash_table_entries.
(opcode_open,opcode_close): Add prototypes.
* cgen.h (cgen_insn): New element `cdx'.
Doug Evans [Mon, 3 Aug 1998 18:45:06 +0000 (18:45 +0000)]
* cgen-sim.h (cgen_state): New member opcode_table.
* cgen-utils.c (sim_disassemble_insn): Use it.
Catherine Moore [Sun, 2 Aug 1998 17:30:11 +0000 (17:30 +0000)]
add armelf.
Catherine Moore [Sun, 2 Aug 1998 17:26:10 +0000 (17:26 +0000)]
Add armelf.
Catherine Moore [Sun, 2 Aug 1998 17:21:39 +0000 (17:21 +0000)]
Remove elf32-arm.c from armelf_files.
Catherine Moore [Sun, 2 Aug 1998 17:20:50 +0000 (17:20 +0000)]
add armelf.
Richard Henderson [Sun, 2 Aug 1998 10:22:30 +0000 (10:22 +0000)]
* 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.
Richard Henderson [Sun, 2 Aug 1998 02:39:52 +0000 (02:39 +0000)]
* 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.
Catherine Moore [Sat, 1 Aug 1998 17:30:02 +0000 (17:30 +0000)]
* scripttempl/elfarm.sc: New file.
* emulparams/armelf.sh: Set SCRIPT_NAME to elfarm.
Ulrich Drepper [Sat, 1 Aug 1998 16:41:51 +0000 (16:41 +0000)]
* elf32-mips.c (_bfd_mips_elf_section_from_shdr): Don't pass
.liblist string through gettext.
Ulrich Drepper [Sat, 1 Aug 1998 04:30:17 +0000 (04:30 +0000)]
Add missing RHF_* constants.
Ron Unrau [Fri, 31 Jul 1998 22:08:08 +0000 (22:08 +0000)]
* 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
Ron Unrau [Fri, 31 Jul 1998 22:02:12 +0000 (22:02 +0000)]
* 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
Ron Unrau [Fri, 31 Jul 1998 21:56:15 +0000 (21:56 +0000)]
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
Catherine Moore [Fri, 31 Jul 1998 21:51:01 +0000 (21:51 +0000)]
*** empty log message ***
Catherine Moore [Fri, 31 Jul 1998 21:44:56 +0000 (21:44 +0000)]
* config/tc-arm.h: Add definitions for OBJ_ELF.
Catherine Moore [Fri, 31 Jul 1998 21:40:41 +0000 (21:40 +0000)]
*** empty log message ***
Catherine Moore [Fri, 31 Jul 1998 21:26:28 +0000 (21:26 +0000)]
* 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.
Catherine Moore [Fri, 31 Jul 1998 21:18:34 +0000 (21:18 +0000)]
*** empty log message ***
Catherine Moore [Fri, 31 Jul 1998 21:15:51 +0000 (21:15 +0000)]
* 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.
Catherine Moore [Fri, 31 Jul 1998 21:14:19 +0000 (21:14 +0000)]
emulparams/armelf.sh: New file.
configure.tgt: Recognize thumb-elf and arm-elf.
Makefile.am (earmelf.o): New.
Makefile.in: Rebuild.
Drew Moseley [Fri, 31 Jul 1998 17:26:05 +0000 (17:26 +0000)]
Change the definition of ui_loop_hook to be a function pointer
rather than a function.
Catherine Moore [Fri, 31 Jul 1998 15:08:44 +0000 (15:08 +0000)]
(dump_relocations): EM_ARM uses rela relocs.
Catherine Moore [Fri, 31 Jul 1998 15:04:36 +0000 (15:04 +0000)]
Add R_ARM_THM_PC9 relocation.
Catherine Moore [Fri, 31 Jul 1998 14:50:23 +0000 (14:50 +0000)]
Add sanitize markers for thumb-elf and arm-elf.
Catherine Moore [Fri, 31 Jul 1998 14:43:47 +0000 (14:43 +0000)]
Add arm-elf and thumb-elf support.
Jeff Holcomb [Fri, 31 Jul 1998 05:23:28 +0000 (05:23 +0000)]
fix sanitization
Mark Alexander [Thu, 30 Jul 1998 21:07:14 +0000 (21:07 +0000)]
* 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.