external/binutils.git
26 years ago * expr.c (operand): Check also that there is no advance in operand
Vladimir Makarov [Thu, 20 Aug 1998 20:08:23 +0000 (20:08 +0000)]
* expr.c (operand): Check also that there is no advance in operand
after atof_generic in order to decide "is it label 0f or floating
point number?".

26 years ago * expr.c (operand): Check more correctly that there is no advance
Vladimir Makarov [Thu, 20 Aug 1998 18:28:07 +0000 (18:28 +0000)]
* expr.c (operand): Check more correctly that there is no advance
in operand after atof_generic in order to decide "is it label 0f
or floating point number?".

26 years ago * expr.c (operand): Check correctly that there is no advance in
Vladimir Makarov [Thu, 20 Aug 1998 16:10:35 +0000 (16:10 +0000)]
* expr.c (operand): Check correctly that there is no advance in
operand after atof_generic in order to decide "is it label 0f or
floating point number".
PR16670

26 years ago1998-08-19 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Thu, 20 Aug 1998 03:15:05 +0000 (03:15 +0000)]
1998-08-19  Jason Molenda  (jsm@bugshack.cygnus.com)

        * rdi-share/Makefile.am: Use just `INCLUDES' not `libname_INCLUDES'.
        * rdi-share/Makefile.in: Regenerated.

26 years agoWed Aug 19 15:43:26 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Thu, 20 Aug 1998 00:32:36 +0000 (00:32 +0000)]
Wed Aug 19 15:43:26 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * elfcode.h (elf_object_p): Reject files of header type ET_CORE
        (core files are treated differently than object files).
        * elf-bfd.h (_bfd_elf_write_corefile_contents,
        bfd_elf_mkcorefile): declare.
        * elfxx-target.h (_bfd_elf_write_corefile_contents,
        bfd_elf_mkcorefile): add to bfd_target vector.
        * elfcore.h (elf_core_file_p): save the program header table,
        and set the bfd architecture from the elf file header.
        * elf.c (bfd_elf_mkcorefile): new function.
        (_bfd_elf_write_corefile_contents): new function.
        (assign_file_positions_for_segments): add cases for handling
        PT_NOTE segments.  (assign_file_positions_except_relocs):
        core files should be handled the same as exec files.
        (prep_headers): identify core files as type ET_CORE.
        (copy_private_bfd_data): identify the sections belonging to
        the PT_NOTE segment.

        * elf32-sparc.c (elf32_sparc_final_write_processing):
        add break statement to default case.

26 years ago * v850ice.c (v850ice_stop): New function to stop the ICE.
Keith Seitz [Thu, 20 Aug 1998 00:14:03 +0000 (00:14 +0000)]
    * v850ice.c (v850ice_stop): New function to stop the ICE.
        (v850ice_load) Pass filename to ICE DLL.
        (ice_stepi, ice_nexti, ice_cont): Do not directly call the gdb
        commands -- let the GUI do it so that it can retain control
        of the display.

26 years ago * i386v4-nat.c: Include sys/reg.h if present.
Anthony Green [Wed, 19 Aug 1998 22:57:00 +0000 (22:57 +0000)]
* i386v4-nat.c: Include sys/reg.h if present.

26 years ago * elf32-ppc.c (ppc_elf_relocate_section): Check that output
Vladimir Makarov [Wed, 19 Aug 1998 21:28:51 +0000 (21:28 +0000)]
* elf32-ppc.c (ppc_elf_relocate_section): Check that output
section (not input) will be in sections ".sbss", ".sbss2",
".sdata", and ".sdata" for R_PPC_SDAREL16, R_PPC_EMB_SDA2REL,
R_PPC_EMB_SDA21, R_PPC_EMB_RELSDA.  In all these cases also ignore
output_offset for correct evaluation of addend.
PR16246

26 years ago * dlltool.c (usage): Add file parameter. Change all callers.
Ian Lance Taylor [Wed, 19 Aug 1998 20:23:33 +0000 (20:23 +0000)]
* dlltool.c (usage): Add file parameter.  Change all callers.
(main): Don't treat '?' as a special case in getopt return.

* binutils.texi (dlltool): Document new options.  Add some uses of
@var.

Wed Aug 19 16:19:07 1998  Mumit Khan  <khan@xraylith.wisc.edu>

* dlltool.c (gen_def_file): Plug memory leak.  Don't print
demangled name if it is NULL.

Support for exporting all symbols to an output export def file:
* dlltool.c ({export_all_symbols, no_default_excludes,
no_default_excludes, excludes}): New file static variables.
(struct string_list): Type to hold list of symbols to exclude.
(scan_drectve_symbols): Renamed from scan_open_obj_file.
(scan_filtered_symbols): New static function.
(add_excludes): New static function.
(match_exclude): New static function.
(set_default_excludes): New static function.
(filter_symbols): New static function.
(scan_all_symbols): New static function.
(scan_open_obj_file): New static function.
(usage): Document new options.
(long_options): Add new options.
(main): Handle new options.

26 years ago*** empty log message ***
Fernando Nasser [Wed, 19 Aug 1998 19:55:58 +0000 (19:55 +0000)]
*** empty log message ***

26 years agoAdded missing sanitization markers
Nick Clifton [Wed, 19 Aug 1998 19:28:50 +0000 (19:28 +0000)]
Added missing sanitization markers

26 years agoAdd arm/thumb-elf expected failures
Nick Clifton [Wed, 19 Aug 1998 19:13:56 +0000 (19:13 +0000)]
Add arm/thumb-elf expected failures

26 years agoAdd sanitization markers.
Catherine Moore [Wed, 19 Aug 1998 16:40:22 +0000 (16:40 +0000)]
Add sanitization markers.

26 years agoFix for PR 16412 - give M32R specific command line options a one dash prefix
Nick Clifton [Wed, 19 Aug 1998 16:31:30 +0000 (16:31 +0000)]
Fix for PR 16412 - give M32R specific command line options a one dash prefix
instead of two.

26 years ago * config/alpha/alpha-linux (XDEPFILES): Build ser-tcp.
Richard Henderson [Wed, 19 Aug 1998 10:09:01 +0000 (10:09 +0000)]
    * config/alpha/alpha-linux (XDEPFILES): Build ser-tcp.

26 years ago * gdbtk-hooks.c (gdbtk_add_hooks): Set selected_frame_level_changed_hook
Keith Seitz [Wed, 19 Aug 1998 02:25:21 +0000 (02:25 +0000)]
    * gdbtk-hooks.c (gdbtk_add_hooks): Set selected_frame_level_changed_hook
.
        (gdbtk_selected_frame_changed): New function.

        * gdbtk-cmds.c (Gdbtk_Init): Add command gdb_stack into interpreter.
        Link gdb's global selected_frame_level with interpreter global
        gdb_selected_frame_level.
        (gdb_stack): New function to faciltate speedier backtraces from
        gdbtk.
        (get_frame_name): New helper function for gdb_stack.

26 years ago * stack.c: Define new hook, selected_frame_level_changed_hook, which
Keith Seitz [Wed, 19 Aug 1998 02:24:45 +0000 (02:24 +0000)]
    * stack.c: Define new hook, selected_frame_level_changed_hook, which
        will be called whenever the selected stack level changes.
        (select_frame): Call the selected_frame_level_changed_hook.

26 years ago * remote-rdi.c (arm_rdi_open): Pass serial device name to
Stan Shebs [Wed, 19 Aug 1998 01:27:46 +0000 (01:27 +0000)]
* remote-rdi.c (arm_rdi_open): Pass serial device name to
  Adp_OpenDevice, and include it in error reports.

26 years agoAck, accidentally generated it with autoconf 2.12, not the current version.
Jason Molenda [Wed, 19 Aug 1998 00:09:17 +0000 (00:09 +0000)]
Ack, accidentally generated it with autoconf 2.12, not the current version.

26 years ago1998-08-18 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Tue, 18 Aug 1998 23:04:24 +0000 (23:04 +0000)]
1998-08-18  Jason Molenda  (jsm@bugshack.cygnus.com)

        * configure.in: Add more header files to AC_CHECK_HEADERS.
        * configure: Regenerated.

        * command.c: Include wait.h or sys/wait.h if present.
        * inftarg.c: Ditto.
        * core-aout.c: Include ptrace.h or sys/ptrace.h if present, based
        on autoconf test.
        * infptrace.c: Ditto.

        * expprint.c: Include ctype.h for isprint prototype.
        * i386aix-nat.c: Include sys/reg.h if autoconf says it is present.
        * i386v-nat.c: Include ptrace.h, sys/ptrace.h, and sys/reg.h if
        present, based on autoconf test.

        * utils.c: Include curses.h and term.h if present.
        (puts_debug): Change 'carriage_return' local variable to return_p
        to avoid name clash.

        * config/m68k/nm-apollo68b.h: Don't define PTRACE_IN_WRONG_PLACE,
        determine it with autoconf.
        * config/i386/nm-linux.h: Don't define NO_SYS_REG_H, determine it
        with autoconf.
        * config/i386/nm-i386sco.h: Don't define NO_PTRACE_H, determine it
        with autoconf.
        * config/i386/nm-i386v.h: Ditto.
        * config/i386/nm-symmetry.h: Ditto.
        * config/m88k/xm-cxux.h: Ditto.
        * config/m88k/xm-dgux.h: Ditto.

        * config/m68k/delta68.mh (NAT_FILE): nm-delta68.h no longer necessary.
        * config/m68k/nm-delta68.h: Removed.

26 years agoTue Aug 18 15:42:40 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Tue, 18 Aug 1998 22:43:18 +0000 (22:43 +0000)]
Tue Aug 18 15:42:40 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk-cmds.c (gdb_listfuncs): Strip out global constructors
and destructors from the function list.

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.