external/binutils.git
26 years ago * mips-opc.c: Insert contents of vu0.h, rather than including it.
Ian Lance Taylor [Tue, 18 Aug 1998 20:50:44 +0000 (20:50 +0000)]
* mips-opc.c: Insert contents of vu0.h, rather than including it.
* vu0.h: Remove.
* Makefile.am: Rebuild dependencies.
* Makefile: Rebuild.

26 years agofix broken sanitization
Ken Raeburn [Tue, 18 Aug 1998 18:58:10 +0000 (18:58 +0000)]
fix broken sanitization

26 years ago * emultempl/armelf.em (gld_armelf_before_allocation):
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.

26 years agotc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
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.

26 years ago * elf32-arm.c: Add prefix bfd_ to elf32_arm_get_bfd_for_interworking,
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.

26 years ago * elf64-alpha.c (elf64_alpha_relax_section): Handle indirect symbols.
Richard Henderson [Sun, 16 Aug 1998 03:58:11 +0000 (03:58 +0000)]
    * elf64-alpha.c (elf64_alpha_relax_section): Handle indirect symbols.

26 years agoNo longer need to sanitize out tx39 bits
Stan Shebs [Fri, 14 Aug 1998 22:52:18 +0000 (22:52 +0000)]
No longer need to sanitize out tx39 bits

26 years ago * Makefile.am: Rebuild dependencies.
Ian Lance Taylor [Fri, 14 Aug 1998 19:52:24 +0000 (19:52 +0000)]
* Makefile.am: Rebuild dependencies.
* Makefile.in: Rebuild.

26 years ago * ldgram.y: Include "ldctor.h".
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).

26 years ago* aoutx.h (aout_link_input_section_ext): Use the relocation already
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.

26 years ago * mn10300-tdep.c (set_movm_offsets): Change second argument to
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.

26 years ago * sol-thread.c (lwp_to_thread): Fix error message for failing
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.

26 years agoAdd armelf.
Catherine Moore [Thu, 13 Aug 1998 23:12:52 +0000 (23:12 +0000)]
Add armelf.

26 years ago * read.c (s_align, s_comm, s_mri_common, s_fail, s_globl, s_space,
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

26 years agoAdded Foundry SDK changes.
Drew Moseley [Thu, 13 Aug 1998 20:24:45 +0000 (20:24 +0000)]
Added Foundry SDK changes.

26 years ago * ppc-opc.c (powerpc_operands): Omit parens around additions in
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.

26 years agoAdded a scope-level around the contents of an #ifdef in
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.

26 years ago * config/tc-mips.c (macro): Correct M_SGE_I/M_SGEUI_I case for a
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.

26 years agoThu Aug 13 12:20:39 1998 Catherine Moore <clm@cygnus.com>
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.

26 years agoThu Aug 13 12:52:45 1998 H.J. Lu <hjl@gnu.org>
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.

26 years agoKeep udf.s
Jeff Law [Thu, 13 Aug 1998 16:38:42 +0000 (16:38 +0000)]
Keep udf.s

26 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set vma to 0
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.

26 years agoWed Aug 12 19:00:39 1998 Geoff Keating <geoffk@ozemail.com.au>
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.

26 years ago * config/tc-hppa.c (pa_enter): Call as_bad rather than abort.
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.

26 years ago Based on patch from H.J. Lu <hjl@gnu.org>:
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.

26 years ago Avoid some overflow cases:
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.

26 years ago * configure, Makefile.in, aclocal.m4: Rebuild with current tools.
Ian Lance Taylor [Wed, 12 Aug 1998 19:01:16 +0000 (19:01 +0000)]
* configure, Makefile.in, aclocal.m4: Rebuild with current tools.

26 years ago * libaout.h: Remove nested comment to avoid warning.
Ian Lance Taylor [Wed, 12 Aug 1998 18:48:57 +0000 (18:48 +0000)]
* libaout.h: Remove nested comment to avoid warning.

26 years ago From Peter Thiemann <thiemann@informatik.uni-tuebingen.de>:
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.

26 years ago * gas/mn10300/udf.s: New test.
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.

26 years ago * m10300-opc.c: Fix typo in udf20 .. udf25 instruction opcodes.
Jeff Law [Wed, 12 Aug 1998 17:47:45 +0000 (17:47 +0000)]
    * m10300-opc.c: Fix typo in udf20 .. udf25 instruction opcodes.

26 years agoDocument .req directive
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.

26 years agoWed Aug 12 13:25:03 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
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.

26 years agoWed Aug 12 13:25:38 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
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.

26 years ago * m10300-opc.c: First cut at UDF instructions.
Jeff Law [Wed, 12 Aug 1998 17:12:31 +0000 (17:12 +0000)]
    * m10300-opc.c: First cut at UDF instructions.

26 years ago * expprint.c (dump_prefix/postfix_expression): Don't try to print type
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.

26 years ago * c-typeprint.c (c_print_type): Don't crash if varstring is null.
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.

26 years ago* Handle the possibility that some simulator commands may modify register
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.

26 years agosanitize-vr5400 -> sanitize-cygnus, for 98r2
Ken Raeburn [Wed, 12 Aug 1998 10:50:35 +0000 (10:50 +0000)]
sanitize-vr5400 -> sanitize-cygnus, for 98r2

26 years agosanitize-vr5400 -> sanitize-cygnus
Ken Raeburn [Wed, 12 Aug 1998 03:29:09 +0000 (03:29 +0000)]
sanitize-vr5400 -> sanitize-cygnus

26 years agosanitize-vr5400 -> sanitize-cygnus
Ken Raeburn [Wed, 12 Aug 1998 02:18:03 +0000 (02:18 +0000)]
sanitize-vr5400 -> sanitize-cygnus

26 years ago * scripttempl/elfarm.sc: Change text start address
Catherine Moore [Wed, 12 Aug 1998 00:11:13 +0000 (00:11 +0000)]
    * scripttempl/elfarm.sc:  Change text start address
        back to zero.

26 years ago * elf32-arm.c (elf32_arm_final_link_relocate): Remove unused
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.

26 years ago * emulparms/mn10200.sh (MAX_PAGESIZE): Define to 1.
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.

26 years ago * elf64-alpha.c (elf64_alpha_calc_dynrel_sizes): Correct last change
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.

26 years ago * elflink.h (elf_gc_common_finalize_got_offsets): For backends
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.

26 years agoFix PR 15003 - always perform alignment requests
Nick Clifton [Mon, 10 Aug 1998 22:07:57 +0000 (22:07 +0000)]
Fix PR 15003 - always perform  alignment requests

26 years agoMon Aug 10 17:48:09 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
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).

26 years ago * ieee.c (ieee_write_processor): Correct the processor ID written
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.

26 years agoadd armelf sanitization
Ian Lance Taylor [Mon, 10 Aug 1998 20:30:33 +0000 (20:30 +0000)]
add armelf sanitization

26 years agoFix indentation.
Catherine Moore [Mon, 10 Aug 1998 17:54:33 +0000 (17:54 +0000)]
Fix indentation.

26 years ago* elf32-arm.c (elf32_arm_final_link_relocate): Rework
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.

26 years ago * config/obj-elf.h: Check for redefinition of obj_frob_symbol.
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.

26 years ago * scripttempl/elfarm.sc: Set text start address to
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.

26 years ago * arm-dis.c (print_insn_big_arm): Check for thumb symbol
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.

26 years ago * config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms.
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.

26 years ago * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Undef weak symbols
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.

26 years agoadd sanitization markers.
Catherine Moore [Fri, 7 Aug 1998 01:29:08 +0000 (01:29 +0000)]
add sanitization markers.

26 years agoAdd armelf sanitization.
Catherine Moore [Fri, 7 Aug 1998 01:25:52 +0000 (01:25 +0000)]
Add armelf sanitization.

26 years ago * sim-main.h: track COP2 register definitions, define VIO_BASE
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

26 years ago * txvu-tdep.c: add VU0/1 control registers
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

26 years agoSet BFD private flags based on command line switches.
Nick Clifton [Wed, 5 Aug 1998 22:55:12 +0000 (22:55 +0000)]
Set BFD private flags based on command line switches.

26 years agoAdd ARM ELF header flags
Nick Clifton [Wed, 5 Aug 1998 22:53:57 +0000 (22:53 +0000)]
Add ARM ELF header flags

26 years agoAdd ARM ELF private flags
Nick Clifton [Wed, 5 Aug 1998 22:52:27 +0000 (22:52 +0000)]
Add ARM ELF private flags

26 years agooops - move armelf sanitization before check for remaining sanitize
Nick Clifton [Tue, 4 Aug 1998 21:18:41 +0000 (21:18 +0000)]
oops - move armelf sanitization before check for remaining sanitize

26 years ago * txvu-tdep.c (txvu_insert_breakpoint): make sure CPU context is
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

26 years agofix armelf sanitization
Nick Clifton [Tue, 4 Aug 1998 15:53:37 +0000 (15:53 +0000)]
fix armelf sanitization

26 years ago Rename cpu m32r to m32rb to distinguish from architecture name.
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.

26 years agofixed armelf sanitization
Nick Clifton [Tue, 4 Aug 1998 00:36:01 +0000 (00:36 +0000)]
fixed armelf sanitization

26 years ago * elf32-sparc.c (elf32_sparc_check_relocs): Permit WPLT30 against
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.

26 years ago * cgen.h (GAS_CGEN_MAX_FIXUPS): GAS_ prepended, all uses updated.
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.

26 years ago * Makefile.in (INCLUDE_DEPS): Add include/opcode/cgen.h.
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.

26 years ago Move all global state data into opcode table struct, and treat
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.

26 years ago Move all global state data into opcode table struct, and treat
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'.

26 years ago * cgen-sim.h (cgen_state): New member opcode_table.
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.

26 years agoadd armelf.
Catherine Moore [Sun, 2 Aug 1998 17:30:11 +0000 (17:30 +0000)]
add armelf.

26 years agoAdd armelf.
Catherine Moore [Sun, 2 Aug 1998 17:26:10 +0000 (17:26 +0000)]
Add armelf.

26 years agoRemove elf32-arm.c from armelf_files.
Catherine Moore [Sun, 2 Aug 1998 17:21:39 +0000 (17:21 +0000)]
Remove elf32-arm.c from armelf_files.

26 years agoadd armelf.
Catherine Moore [Sun, 2 Aug 1998 17:20:50 +0000 (17:20 +0000)]
add armelf.

26 years ago * elf32-ppc.c (ppc_elf_check_relocs): Init sgot to NULL. Create the
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.

26 years ago * as.h (debug_info_type): Add entries for unspecified and dwarf*.
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.

26 years ago * scripttempl/elfarm.sc: New file.
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.

26 years ago * elf32-mips.c (_bfd_mips_elf_section_from_shdr): Don't pass
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.

26 years agoAdd missing RHF_* constants.
Ulrich Drepper [Sat, 1 Aug 1998 04:30:17 +0000 (04:30 +0000)]
Add missing RHF_* constants.

26 years ago * config/tm-txvu.h: use NUM_CORE_REGS instead of NUM_R5900_REGS
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

26 years ago * sim-main.h: shadow NUM_CORE_REGS from tm-txvu.h
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

26 years ago Start of changes to remove mdebug section from mips*-elf
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

26 years ago*** empty log message ***
Catherine Moore [Fri, 31 Jul 1998 21:51:01 +0000 (21:51 +0000)]
*** empty log message ***

26 years ago* config/tc-arm.h: Add definitions for OBJ_ELF.
Catherine Moore [Fri, 31 Jul 1998 21:44:56 +0000 (21:44 +0000)]
* config/tc-arm.h:  Add definitions for OBJ_ELF.

26 years ago*** empty log message ***
Catherine Moore [Fri, 31 Jul 1998 21:40:41 +0000 (21:40 +0000)]
*** empty log message ***

26 years ago * Makefile.am: Add support for elf32-arm.lo.
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.

26 years ago*** empty log message ***
Catherine Moore [Fri, 31 Jul 1998 21:18:34 +0000 (21:18 +0000)]
*** empty log message ***

26 years ago * configure.in: (arm-*-elf): Handle.
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.

26 years agoemulparams/armelf.sh: New file.
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.

26 years agoChange the definition of ui_loop_hook to be a function pointer
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.

26 years ago(dump_relocations): EM_ARM uses rela relocs.
Catherine Moore [Fri, 31 Jul 1998 15:08:44 +0000 (15:08 +0000)]
(dump_relocations):  EM_ARM uses rela relocs.

26 years agoAdd R_ARM_THM_PC9 relocation.
Catherine Moore [Fri, 31 Jul 1998 15:04:36 +0000 (15:04 +0000)]
Add R_ARM_THM_PC9 relocation.

26 years agoAdd sanitize markers for thumb-elf and arm-elf.
Catherine Moore [Fri, 31 Jul 1998 14:50:23 +0000 (14:50 +0000)]
Add sanitize markers for thumb-elf and arm-elf.

26 years agoAdd arm-elf and thumb-elf support.
Catherine Moore [Fri, 31 Jul 1998 14:43:47 +0000 (14:43 +0000)]
Add arm-elf and thumb-elf support.

26 years agofix sanitization
Jeff Holcomb [Fri, 31 Jul 1998 05:23:28 +0000 (05:23 +0000)]
fix sanitization