external/binutils.git
27 years agoAdd mips64vr5400 to configuration list
Andrew Cagney [Mon, 27 Oct 1997 06:42:13 +0000 (06:42 +0000)]
Add mips64vr5400 to configuration list
Mark mipsIV instructions as being implemented by the vr5400.
Sanitize.

27 years agoAdd include-file support to igen.
Andrew Cagney [Mon, 27 Oct 1997 06:30:35 +0000 (06:30 +0000)]
Add include-file support to igen.

27 years agoAdd 128 bit transfers to sim core.
Andrew Cagney [Mon, 27 Oct 1997 03:00:12 +0000 (03:00 +0000)]
Add 128 bit transfers to sim core.

27 years ago * sim/mips/gencode.c (build_instruction): Follow sim_write's lead in using
Gavin Romig-Koch [Sat, 25 Oct 1997 20:53:46 +0000 (20:53 +0000)]
* sim/mips/gencode.c (build_instruction): Follow sim_write's lead in using
BigEndianMem instead of !ByteSwapMem.

27 years agoCorrect name of file given in ChangeLog for change: Pass lma_p and
Andrew Cagney [Sat, 25 Oct 1997 05:04:25 +0000 (05:04 +0000)]
Correct name of file given in ChangeLog for change: Pass lma_p and
sim_write args to sim_load_file.

27 years ago * config/tc-ppc.c (md_assemble): When handling @l, always sign
Ian Lance Taylor [Fri, 24 Oct 1997 21:29:10 +0000 (21:29 +0000)]
* config/tc-ppc.c (md_assemble): When handling @l, always sign
extend if the operand expects a signed value.
PR 13667.

27 years agofix for PR 13618 -- gdb incorrectly reports thread information.
David Taylor [Fri, 24 Oct 1997 21:04:39 +0000 (21:04 +0000)]
fix for PR 13618 -- gdb incorrectly reports thread information.
If other systems besides nm-sun4sol2 exhibit the problem, they may need
definitions of FIND_NEW_THREADS and a corresponding support function.

27 years ago * config/tc-mips.h (LOCAL_LABELS_DOLLAR): Don't define; use
Ian Lance Taylor [Fri, 24 Oct 1997 20:03:16 +0000 (20:03 +0000)]
* config/tc-mips.h (LOCAL_LABELS_DOLLAR): Don't define; use
default which is to permit dollar labels.
PR 13645.

27 years agoFri Oct 24 11:19:22 1997 Jakub Jelinek <jj@sunsite.mff.cuni.cz>
Richard Henderson [Fri, 24 Oct 1997 18:20:36 +0000 (18:20 +0000)]
Fri Oct 24 11:19:22 1997  Jakub Jelinek  <jj@sunsite.mff.cuni.cz>

        * config/tc-sparc.c (sparc_memory_model): New variable.
        (md_longopts): Add -TSO/-PSO/-RMO options.
        (md_parse_options): Handle them.
        (sparc_elf_final_processing): For 64 ELF, set required
        memory ordering in e_flags. Default to RMO and let the user
        override it through command line.

        * config/tc-sparc.h (elf_tc_final_processing): Add.

27 years agoFri Oct 24 11:15:58 1997 Jakub Jelinek <jj@sunsite.mff.cuni.cz>
Richard Henderson [Fri, 24 Oct 1997 18:14:52 +0000 (18:14 +0000)]
Fri Oct 24 11:15:58 1997  Jakub Jelinek  <jj@sunsite.mff.cuni.cz>

        * elf64-sparc.c (sparc64_elf_merge_private_bfd_data):
        New function. Avoid mixing US1 and HAL R1 code.
        Set resulting memory ordering to the strongest one used.
        (sparc64_elf_object_p): Set bfd_mach correctly.

27 years agosanitize for vr5400
Ian Lance Taylor [Fri, 24 Oct 1997 16:39:38 +0000 (16:39 +0000)]
sanitize for vr5400

27 years agoadd sparclinux.h
Ian Lance Taylor [Fri, 24 Oct 1997 16:03:57 +0000 (16:03 +0000)]
add sparclinux.h

27 years agoAdd basic igen configuration to autoconf. Disable.
Andrew Cagney [Fri, 24 Oct 1997 07:54:21 +0000 (07:54 +0000)]
Add basic igen configuration to autoconf.  Disable.

27 years agoAdd function to fetch 32bit instructions
Andrew Cagney [Fri, 24 Oct 1997 06:43:51 +0000 (06:43 +0000)]
Add function to fetch 32bit instructions
When address translation of insn fetch fails raise exception immediatly.
Use address_word as type of all address variables (instead of unsigned64),
the former is configured as either 32 or 64 bit type.
Always compile fpu code (no #if has fpu)

27 years agoCheckpoint IGEN version of mips sim
Andrew Cagney [Fri, 24 Oct 1997 06:38:44 +0000 (06:38 +0000)]
Checkpoint IGEN version of mips sim

27 years agoRecognize mips64vr5400
Andrew Cagney [Fri, 24 Oct 1997 06:02:22 +0000 (06:02 +0000)]
Recognize mips64vr5400

27 years agoAdd function sim_events_slip()
Andrew Cagney [Fri, 24 Oct 1997 05:53:01 +0000 (05:53 +0000)]
Add function sim_events_slip()
Clear work_pending flag as part of processing any pending work.

27 years agoAddress MSC compiler issues in d10v_sim.h
Andrew Cagney [Fri, 24 Oct 1997 00:52:23 +0000 (00:52 +0000)]
Address MSC compiler issues in d10v_sim.h

27 years ago * dbxread.c (process_one_symbol): Put back initialization
Jeff Law [Thu, 23 Oct 1997 22:42:07 +0000 (22:42 +0000)]
    * dbxread.c (process_one_symbol): Put back initialization
        of a variable lost during last change.  Don't perform
        assignment inside conditionals.
        * stabsread.c (symbol_reference_defined): Return -1 for error/not
        found.  All callers changed appropriately.
        (define_symbol): Don't perform assignment inside conditionals.

27 years agoRemoved C++ ism
Nick Clifton [Thu, 23 Oct 1997 21:53:56 +0000 (21:53 +0000)]
Removed C++ ism

27 years agoRename '_stack' to '__stack'
Nick Clifton [Thu, 23 Oct 1997 21:34:51 +0000 (21:34 +0000)]
Rename '_stack' to '__stack'

27 years ago * elf64-sparc.c (sparc64_elf_howto_table): Add UA64 & UA16.
Richard Henderson [Thu, 23 Oct 1997 21:16:43 +0000 (21:16 +0000)]
    * elf64-sparc.c (sparc64_elf_howto_table): Add UA64 & UA16.
        (sparc64_elf_check_relocs): Handle them.
        (sparc64_elf_relocate_section): Likewise.  Before emitting a dyn reloc,
        check alignment and transmute R_SPARC_x<->R_SPARC_UAx.

27 years ago * Makefile.in (ALL_EMULATIONS): Move eelf64_sparc.o ...
Richard Henderson [Thu, 23 Oct 1997 07:56:30 +0000 (07:56 +0000)]
    * Makefile.in (ALL_EMULATIONS): Move eelf64_sparc.o ...
        (ALL_64_EMULATIONS): ... here.
        (eelf64_sparc.c): Template should be elf32 not generic.
        * emulparams/elf64_sparc.sh (TEMPLATE_NAME): New definition.

27 years ago * configure.in (sparc*-*-linux*): Use trad-core and ...
Richard Henderson [Thu, 23 Oct 1997 07:51:48 +0000 (07:51 +0000)]
    * configure.in (sparc*-*-linux*): Use trad-core and ...
        * hosts/sparclinux.h: New file.

27 years ago * configure.tgt: Add sparc64-*-linux*.
Richard Henderson [Thu, 23 Oct 1997 07:43:44 +0000 (07:43 +0000)]
    * configure.tgt: Add sparc64-*-linux*.
        * emulparams/elf64_sparc.sh (GENERATE_SHLIB_SCRIPT, NOP): New.

27 years ago * sparc.h (DT_SPARC_REGISTER): New macro.
Richard Henderson [Thu, 23 Oct 1997 07:40:05 +0000 (07:40 +0000)]
    * sparc.h (DT_SPARC_REGISTER): New macro.
        (DT_SPARC_PLTFMT): In support of old sparc64-linux .plts; will
        go away soon.

27 years ago * config.bfd (sparc64-*-linux*): New target.
Richard Henderson [Thu, 23 Oct 1997 07:37:25 +0000 (07:37 +0000)]
    * config.bfd (sparc64-*-linux*): New target.

        * elf-bfd.h (struct elf_backend_data): Add plt_alignment member.
        * elflink.c (_bfd_elf_create_got_section): Set .got alignment based
        on arch_size.
        (_bfd_elf_create_dynamic_sections): Likewise for .rel* sections.
        Set .plt alignment from new plt_alignment.
        * elflink.h (elf_link_create_dynamic_sections): Set version section
        alignment to LOG_FILE_ALIGN.
        * elfxx-target.h (elf_backend_plt_alignment): Provide default.
        (elfXX_bed): Init plt_alignment.

        * elf64-sparc.c (sparc64_elf_check_relocs,
        sparc64_elf_adjust_dynamic_symbol, sparc64_elf_size_dynamic_sections,
        sparc64_elf_adjust_dynindx, sparc64_elf_finish_dynamic_symbol,
        sparc64_elf_finish_dynamic_sections): New functions.
        (sparc64_elf_howto_table): Fix a few name strings.
        (ELF_DYNAMIC_INTERPRETER): New definition.
        (sparc64_elf_relocate_section): Handle shared libraries.

        * elf64-sparc.c (struct plt_template, plt_*_header, plt_*_entry,
        sparc64_elf_build_plt_entry, sparc64_elf_finish_dynamic_symbol):
        PLT definitions sparc64-linux originally choose.  These will go
        away soon in favour of the official abi definitions.

27 years ago * config/tc-sparc.c (v9a_asr_table): New variable.
Richard Henderson [Thu, 23 Oct 1997 00:40:25 +0000 (00:40 +0000)]
    * config/tc-sparc.c (v9a_asr_table): New variable.
        (sparc_ip): Handle v9a asr's.
        Patch from David Miller <davem@vger.rutgers.edu>.

27 years ago * sparc-opc.c: Add wr & rd for v9a asr's.
Richard Henderson [Thu, 23 Oct 1997 00:32:49 +0000 (00:32 +0000)]
    * sparc-opc.c: Add wr & rd for v9a asr's.
        * sparc-dis.c (print_insn_sparc): Recognize '_' and '/' for v9a asr's.
        (v9a_asr_reg_names): New variable.
        Patch from David Miller <davem@vger.rutgers.edu>.

27 years ago * sparc.h: Add '_' and '/' for v9a asr's.
Richard Henderson [Thu, 23 Oct 1997 00:26:08 +0000 (00:26 +0000)]
    * sparc.h: Add '_' and '/' for v9a asr's.
        Patch from David Miller <davem@vger.rutgers.edu>

27 years ago * config/tc-sparc.h (md_do_align): New macro.
Richard Henderson [Thu, 23 Oct 1997 00:22:51 +0000 (00:22 +0000)]
    * config/tc-sparc.h (md_do_align): New macro.
        * config/tc-sparc.c (sparc_handle_align): Handle rs_align_code.
        Patch from Jakub Jelinek <jj@sunsite.mff.cuni.cz>.

27 years ago * sparc-opc.c (v9notv9a): New insn type.
Richard Henderson [Thu, 23 Oct 1997 00:17:25 +0000 (00:17 +0000)]
    * sparc-opc.c (v9notv9a): New insn type.
        (IMPDEP): Move to the end to not conflict with edge8 et al.
        Patch from David Miller <davem@vger.rutgers.edu>.

27 years ago * mdebugread.c (psymtab_to_symtab_1): Handle new live range stabs
Jeff Law [Wed, 22 Oct 1997 23:28:30 +0000 (23:28 +0000)]
    * mdebugread.c (psymtab_to_symtab_1): Handle new live range stabs
        entries.

        * dbxread.c: More comment cleanups.
        * stabsread.c: Fix various violations of the GNU coding and
        formatting standards.  Update/add comments to make code clearer.
        (resolve_reference): Delete unused function.
        (ref_search_val): Remove function.  It didn't belong in stabsread.c
        (resolve_live_range): No longer returns a value.  Do not add it
        to the live range list until the entire range stab has been parsed.
        (get_substring): Remove duplicate declaration.
        (resolve_symbol_reference): Now static.  Remove unnecessary code
        to deal with cleanups.
         (ref_add): Use xrealloc instea of realloc.
        (process_reference): Reorganize slightly to make clearer.
        * stabsread.h (resolve_symbol_reference): Remove declaration.
        (resolve_reference): Likewise.
        * symtab.c (find_active_alias): New function.
        (lookup_block_symbol): Use find_active_alias.
        * symtab.h (struct range_list): Fix dangling struct live_range
        reference.
        (ref_search_val): Remove decl.

        * symtab.h (struct range_list): Renamed from struct live_range.
        (struct symbol): Remove struct live_range_info substruct.
        Bring the alias list and range list fields up to the toplevel
        as "aliases" and "ranges".
        (SYMBOL_ALIASES, SYMBOL_RANGES): Corresponding changes.
        (SYMBOL_RANGE_START, SYMBOL_RANGE_END, SYMBOL_RANGE_NEXT): Delete.
        * stabsread.c: Corresponding changes.
Bring first round of cleanups over from r5900 branch.

27 years agosanitize law's 15 jul r5900 change
Ken Raeburn [Wed, 22 Oct 1997 21:34:33 +0000 (21:34 +0000)]
sanitize law's 15 jul r5900 change

27 years ago * config/tc-sh.c (sh_small): New variable.
Ian Lance Taylor [Wed, 22 Oct 1997 20:13:54 +0000 (20:13 +0000)]
* config/tc-sh.c (sh_small): New variable.
(OPTION_SMALL): Define.
(md_longopts): Add "small".
(md_parse_option): Handle OPTION_SMALL.
(md_show_usage): Mention -small.
* config/tc-sh.h (sh_small): Declare.
(SUB_SEGMENT_ALIGN): Handle sh_small.
* config/obj-coff.h (TARGET_FORMAT): Check sh_small in TC_SH
case.
PR 13580.

27 years ago * coff-sh.c (coff_small_object_p): New static function.
Ian Lance Taylor [Wed, 22 Oct 1997 20:12:02 +0000 (20:12 +0000)]
* coff-sh.c (coff_small_object_p): New static function.
(coff_small_new_section_hook): New static function.
(bfd_coff_small_swap_table): New static const structure.
(coff_small_close_and_cleanup): Define.
(coff_small_bfd_free_cached_info): Define.
(coff_small_get_section_contents): Define.
(coff_small_get_section_contents_in_window): Define.
(shcoff_small_vec): New static structure.
(shlcoff_small_vec): New static structure.
* targets.c (bfd_target_vector): Add shcoff_small_vec and
shlcoff_small_vec.
* config.bfd (sh-*-elf*): Add shcoff_small_vec and
shlcoff_small_vec to targ_selvecs.
(sh-*-*): Likewise.
* configure.in: Add shcoff_small_vec and shlcoff_small_vec cases.
* configure: Rebuild.
PR 13580.

27 years agoMore comment fixes to make the code clearer.
Jeff Law [Wed, 22 Oct 1997 19:15:44 +0000 (19:15 +0000)]
More comment fixes to make the code clearer.

27 years ago * dbxread.c: Fix various violations of the GNU coding and
Jeff Law [Wed, 22 Oct 1997 19:04:30 +0000 (19:04 +0000)]
    * dbxread.c: Fix various violations of the GNU coding and
        formatting standards.  Update/add comments to make code
        clearer.
        (process_later): Use xrealloc instead of realloc.

27 years agoMinor comment fix.
Jeff Law [Wed, 22 Oct 1997 18:28:25 +0000 (18:28 +0000)]
Minor comment fix.

27 years ago * symtab.c: Include inferior.h.
Jeff Law [Wed, 22 Oct 1997 18:12:30 +0000 (18:12 +0000)]
    * symtab.c: Include inferior.h.
Brought over from r5900 branch.

27 years ago * config/tc-mips.c (macro): Correct handling of constant in M_LI_D
Ian Lance Taylor [Wed, 22 Oct 1997 16:52:46 +0000 (16:52 +0000)]
* config/tc-mips.c (macro): Correct handling of constant in M_LI_D
case in little endian mode.

27 years ago * scripttempl/pe.sc: Put .eh_frame in .rdata.
Ian Lance Taylor [Wed, 22 Oct 1997 15:29:48 +0000 (15:29 +0000)]
* scripttempl/pe.sc: Put .eh_frame in .rdata.

27 years agoAdd LMA_P and DO_WRITE arguments to sim/common/sim-load.c:sim_load_file().
Andrew Cagney [Wed, 22 Oct 1997 05:26:27 +0000 (05:26 +0000)]
Add LMA_P and DO_WRITE arguments to sim/common/sim-load.c:sim_load_file().
Update all simulators.
Clarify behavour of sim_load in remote-sim.h

27 years ago* nrun.c (main): Exit if bfd_openr fails.
Doug Evans [Wed, 22 Oct 1997 02:12:41 +0000 (02:12 +0000)]
* nrun.c (main):  Exit if bfd_openr fails.
Call bfd_check_format after bfd_openr.

27 years ago * nrun.c (main): Remove useless test of name != NULL.
Doug Evans [Wed, 22 Oct 1997 01:38:49 +0000 (01:38 +0000)]
* nrun.c (main): Remove useless test of name != NULL.

27 years ago * ch-exp.c: Rename FIELD_NAME to DOT_FIELD_NAME (to avoid conflict).
Per Bothner [Tue, 21 Oct 1997 21:15:52 +0000 (21:15 +0000)]
* ch-exp.c:  Rename FIELD_NAME to DOT_FIELD_NAME (to avoid conflict).

27 years ago * config/tc-sparc.c (md_apply_fix3, cases ..._H44, ..._HIX22): Leave
Doug Evans [Tue, 21 Oct 1997 17:23:12 +0000 (17:23 +0000)]
* config/tc-sparc.c (md_apply_fix3, cases ..._H44, ..._HIX22): Leave
overflow signalling to linker.

27 years ago * simops.c: Correctly handle register restores for "ret" and "retf"
Jeff Law [Tue, 21 Oct 1997 16:07:53 +0000 (16:07 +0000)]
    * simops.c: Correctly handle register restores for "ret" and "retf"
        instructions.
pr13306 related stuff.

27 years agoUse SIM*_OVERFLOW_RESULT defined in sim-alu.h
Andrew Cagney [Tue, 21 Oct 1997 07:57:33 +0000 (07:57 +0000)]
Use SIM*_OVERFLOW_RESULT defined in sim-alu.h

27 years agoPacify GCC -Wall
Andrew Cagney [Tue, 21 Oct 1997 07:41:46 +0000 (07:41 +0000)]
Pacify GCC -Wall

27 years agoOutput pc profile statistics once gathered.
Andrew Cagney [Tue, 21 Oct 1997 07:40:00 +0000 (07:40 +0000)]
Output pc profile statistics once gathered.

27 years agoDelete profile support from MIPS simulator, use sim/common/sim-profile
Andrew Cagney [Tue, 21 Oct 1997 03:41:21 +0000 (03:41 +0000)]
Delete profile support from MIPS simulator, use sim/common/sim-profile
module instead.
Generate a "gmon.out" (gprof) when profiling the target PC.
Add target PC profiling option --profile-pc-granularity (bucket size)

27 years ago * configure.in (sparc64): Set arch to v9-64.
Doug Evans [Mon, 20 Oct 1997 20:02:28 +0000 (20:02 +0000)]
* configure.in (sparc64): Set arch to v9-64.
* configure: Regenerated.

27 years agoVarious fixes for openvms/alpha.
Ian Lance Taylor [Mon, 20 Oct 1997 19:43:05 +0000 (19:43 +0000)]
Various fixes for openvms/alpha.

27 years agoMon Oct 20 15:31:43 1997 Klaus K"ampf <kkaempf@progis.de>
Ian Lance Taylor [Mon, 20 Oct 1997 19:33:16 +0000 (19:33 +0000)]
Mon Oct 20 15:31:43 1997  Klaus K"ampf  <kkaempf@progis.de>

* configure.com (HAVE_SBRK): Undefine.

27 years agoMon Oct 20 15:28:49 1997 Klaus K"ampf <kkaempf@progis.de>
Ian Lance Taylor [Mon, 20 Oct 1997 19:30:47 +0000 (19:30 +0000)]
Mon Oct 20 15:28:49 1997  Klaus K"ampf  <kkaempf@progis.de>

* makefile.vms: Fix to work with DEC C.

27 years agovarious evax patches
Ian Lance Taylor [Mon, 20 Oct 1997 19:23:09 +0000 (19:23 +0000)]
various evax patches

27 years agoMon Oct 20 15:01:27 1997 Klaus K"ampf <kkaempf@progis.de>
Ian Lance Taylor [Mon, 20 Oct 1997 19:08:15 +0000 (19:08 +0000)]
Mon Oct 20 15:01:27 1997  Klaus K"ampf  <kkaempf@progis.de>

* evax-egsd.c: make section flags dec c compatible

27 years agoMon Oct 20 14:54:06 1997 Klaus K"ampf <kkaempf@progis.de>
Ian Lance Taylor [Mon, 20 Oct 1997 18:56:21 +0000 (18:56 +0000)]
Mon Oct 20 14:54:06 1997  Klaus K"ampf  <kkaempf@progis.de>

* config/obj-evax.c: support .weak pseudo-op

27 years ago * ld-srec/sr3.cc: Add definitions for terminate, __terminate, and
Ian Lance Taylor [Mon, 20 Oct 1997 18:37:48 +0000 (18:37 +0000)]
* ld-srec/sr3.cc: Add definitions for terminate, __terminate, and
  __throw, since the current g++ expects them to be defined.

27 years ago * tc-sparc.c (default_arch_size): New static local.
Doug Evans [Mon, 20 Oct 1997 17:23:10 +0000 (17:23 +0000)]
* tc-sparc.c (default_arch_size): New static local.
(struct sparc_arch): Rename arch_size to default_arch_size.
New member user_option_p.
(sparc_arch_table): Always include v9, v9a.  New entry v9-64.
(init_default_arch): Check whether default arch is valid.
Set default_arch_size in addition to sparc_arch_size.
(OPTION_32,OPTION_64): Define.
(md_longopts): New entries for -32, -64.
(md_parse_option): Handle them.
(md_show_usage): Print them.  Ensure init_default_arch called.

27 years ago * som.c (normalize): Delete function.
Jeff Law [Mon, 20 Oct 1997 15:37:44 +0000 (15:37 +0000)]
    * som.c (normalize): Delete function.
        (som_bfd_ar_write_symbol_stuff): New parameter elength.  All callers
        changed.  Use passed in elength to determine size of the extended
        name table instead of computing it again.

27 years agofix ChangeLog entry
Ian Lance Taylor [Mon, 20 Oct 1997 14:56:55 +0000 (14:56 +0000)]
fix ChangeLog entry

27 years ago * peicode.h (coff_swap_scnhdr_out): Don't clobber other flag
Ian Lance Taylor [Mon, 20 Oct 1997 14:55:58 +0000 (14:55 +0000)]
* peicode.h (coff_swap_scnhdr_out): Don't clobber other flag
settings when setting IMAGE_SCN_MEM_READ.  From Jim Wilson
<wilson@cygnus.com>.

27 years agoHave single bit macros return an unsigned result. Avoids risk (and
Andrew Cagney [Mon, 20 Oct 1997 07:27:55 +0000 (07:27 +0000)]
Have single bit macros return an unsigned result. Avoids risk (and
need) of sign extending results.

27 years agoMake mips registers of type unsigned_word.
Andrew Cagney [Mon, 20 Oct 1997 06:28:53 +0000 (06:28 +0000)]
Make mips registers of type unsigned_word.
Ensure all references to MIPS registers use same type.

27 years ago * som.c (som_bfd_ar_write_symbol_stuff): Account for trailing
Jeff Law [Mon, 20 Oct 1997 03:01:55 +0000 (03:01 +0000)]
    * som.c (som_bfd_ar_write_symbol_stuff): Account for trailing
        '/' in the extended name table.

27 years agoAdd 8 bit arithmetic to sim-alu.
Andrew Cagney [Mon, 20 Oct 1997 02:03:06 +0000 (02:03 +0000)]
Add 8 bit arithmetic to sim-alu.
Fix flags (Carry, oVerflow) for negate and subtract.
Add ALU*_RESULT macros for accessing final result of ALU op.

27 years ago * write.c (subsegs_finish): New function, broken out of
Ian Lance Taylor [Sun, 19 Oct 1997 18:14:01 +0000 (18:14 +0000)]
* write.c (subsegs_finish): New function, broken out of
write_object_file.
(write_object_file): Some code moves into subsegs_finish.
* write.c (subsegs_finish): Declare.
* as.c (main): Call subsegs_finish.
Fixes last frag when generating a listing for a file with an error.

27 years ago * read.c (s_include): Check for error return from
Ian Lance Taylor [Sun, 19 Oct 1997 17:51:31 +0000 (17:51 +0000)]
* read.c (s_include): Check for error return from
demand_copy_string.
PR 13566.

27 years ago * infcmd.c: Improve grammar of "set args" help.
Stan Shebs [Fri, 17 Oct 1997 20:24:02 +0000 (20:24 +0000)]
* infcmd.c: Improve grammar of "set args" help.

27 years agoopcodes/mips-opc.c (bnezl,beqzl): Mark these as also tx39.
Gavin Romig-Koch [Fri, 17 Oct 1997 17:26:45 +0000 (17:26 +0000)]
opcodes/mips-opc.c (bnezl,beqzl): Mark these as also tx39.

27 years ago * ldlang.c (lang_register_vers_node): Only check globals<=>locals,
Richard Henderson [Fri, 17 Oct 1997 07:05:05 +0000 (07:05 +0000)]
    * ldlang.c (lang_register_vers_node): Only check globals<=>locals,
        since we need to be able to export different versions of the same
        symbol.

27 years ago * elflink.h (elf_link_assign_sym_version): For explicitly versioned
Richard Henderson [Fri, 17 Oct 1997 07:04:28 +0000 (07:04 +0000)]
    * elflink.h (elf_link_assign_sym_version): For explicitly versioned
        symbols, check globals list before matching on locals.

27 years agoPreliminary tests for sim-alu module.
Andrew Cagney [Fri, 17 Oct 1997 03:57:53 +0000 (03:57 +0000)]
Preliminary tests for sim-alu module.

27 years agoMake decl of sds_load static
Michael Meissner [Thu, 16 Oct 1997 19:06:25 +0000 (19:06 +0000)]
Make decl of sds_load static

27 years agoopcodes/mips-opc.c: Note that 'jalx' is (probably incorrectly) marked I1.
Gavin Romig-Koch [Thu, 16 Oct 1997 16:03:22 +0000 (16:03 +0000)]
opcodes/mips-opc.c: Note that 'jalx' is (probably incorrectly) marked I1.

27 years agofix typo
Michael Meissner [Thu, 16 Oct 1997 12:22:05 +0000 (12:22 +0000)]
fix typo

27 years agoFix mangled patch
Michael Meissner [Thu, 16 Oct 1997 12:19:16 +0000 (12:19 +0000)]
Fix mangled patch

27 years agoMove register definitions and macros out of interp.c and into sim-main.h
Andrew Cagney [Thu, 16 Oct 1997 03:50:48 +0000 (03:50 +0000)]
Move register definitions and macros out of interp.c and into sim-main.h

27 years agoCheckpoint IGEN version of MIPS simulator.
Andrew Cagney [Thu, 16 Oct 1997 03:41:57 +0000 (03:41 +0000)]
Checkpoint IGEN version of MIPS simulator.

27 years agoRename generated file engine.c to oengine.c.
Andrew Cagney [Thu, 16 Oct 1997 03:39:13 +0000 (03:39 +0000)]
Rename generated file engine.c to oengine.c.

27 years ago* gencode.c (build_instruction): Use FPR_STATE not fpr_state.
Andrew Cagney [Thu, 16 Oct 1997 03:29:47 +0000 (03:29 +0000)]
* gencode.c (build_instruction): Use FPR_STATE not fpr_state.

27 years ago* gencode.c (build_instruction): For "FPSQRT", output correct number
Andrew Cagney [Thu, 16 Oct 1997 03:23:16 +0000 (03:23 +0000)]
* gencode.c (build_instruction): For "FPSQRT", output correct number
of arguments to Recip.

27 years ago* gen-semantics.c (print_semantic_body): Use CIA not cia.ip. Escape
Andrew Cagney [Thu, 16 Oct 1997 03:19:41 +0000 (03:19 +0000)]
* gen-semantics.c (print_semantic_body): Use CIA not cia.ip. Escape
newlines at end of generated call to sim_engine_abort.

27 years ago * peicode.h (pe_mkobject_hook): Set DLL flag.
Ian Lance Taylor [Wed, 15 Oct 1997 20:34:26 +0000 (20:34 +0000)]
* peicode.h (pe_mkobject_hook): Set DLL flag.
(pe_bfd_copy_private_bfd_data): Copy DLL flag.

27 years ago* sparc/tm-sparc.h (STORE_STRUCT_RETURN): Change to handle --enable-64-bit-bfd.
David Edelsohn [Wed, 15 Oct 1997 19:08:18 +0000 (19:08 +0000)]
* sparc/tm-sparc.h (STORE_STRUCT_RETURN): Change to handle --enable-64-bit-bfd.

27 years ago (STORE_STRUCT_RETURN): Change to handle --enable-64-bit-bfd.
David Edelsohn [Wed, 15 Oct 1997 19:07:30 +0000 (19:07 +0000)]
(STORE_STRUCT_RETURN): Change to handle --enable-64-bit-bfd.

27 years ago * scripttempl/pe.sc: Put .stab and .stabstr sections at end.
Ian Lance Taylor [Wed, 15 Oct 1997 18:53:18 +0000 (18:53 +0000)]
* scripttempl/pe.sc: Put .stab and .stabstr sections at end.

27 years ago * peicode.h (coff_swap_scnhdr_out): Set IMAGE_SCN_MEM_DISCARDABLE
Ian Lance Taylor [Wed, 15 Oct 1997 18:17:40 +0000 (18:17 +0000)]
* peicode.h (coff_swap_scnhdr_out): Set IMAGE_SCN_MEM_DISCARDABLE
for .stab* sections.  Replace strlen of constant strings with
number.

27 years ago * config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Mask off displacement
David Edelsohn [Wed, 15 Oct 1997 17:31:07 +0000 (17:31 +0000)]
* config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Mask off displacement
to 30 bits in call insn to handle --enable-64-bit-bfd.

27 years ago * gas/ieee-fp/x930509a.s: Tweak slightly to work on the PA.
Jeff Law [Wed, 15 Oct 1997 16:40:48 +0000 (16:40 +0000)]
    * gas/ieee-fp/x930509a.s: Tweak slightly to work on the PA.

[ pseudo-ops and directives must not start in column zero on the PA. ]

27 years ago * gas/hppa/unsorted/unsorted.exp: Update for recent disassembler
Jeff Law [Wed, 15 Oct 1997 16:37:03 +0000 (16:37 +0000)]
    * gas/hppa/unsorted/unsorted.exp: Update for recent disassembler
        changes.

27 years agoBring over from r5900 branch.
Jeff Law [Wed, 15 Oct 1997 04:11:06 +0000 (04:11 +0000)]
Bring over from r5900 branch.

27 years ago * read.c (get_line_sb): Accept any eol marker while scanning macros.
Richard Henderson [Wed, 15 Oct 1997 03:56:30 +0000 (03:56 +0000)]
    * read.c (get_line_sb): Accept any eol marker while scanning macros.

27 years ago * config/tc-alpha.h (DIFF_EXPR_OK): Define.
Richard Henderson [Wed, 15 Oct 1997 02:17:00 +0000 (02:17 +0000)]
    * config/tc-alpha.h (DIFF_EXPR_OK): Define.
        * config/tc-i386.h (DIFF_EXPR_OK): Define.
        * config/tc-alpha.c (md_apply_fix): Notice fx_pcrel and substitute
        the correct relocation when it exists.
        * config/tc-i386.c (md_apply_fix3): Likewise.
        * config/tc-ppc.h: Correct typo in comment.
        * config/tc-v850.h: Likewise.

27 years agoSanitize additional files.
Andrew Cagney [Wed, 15 Oct 1997 00:05:28 +0000 (00:05 +0000)]
Sanitize additional files.

27 years agoEnable d10v simulator testsuite - two tests: Hello World and exit47.
Andrew Cagney [Wed, 15 Oct 1997 00:00:41 +0000 (00:00 +0000)]
Enable d10v simulator testsuite - two tests: Hello World and exit47.

27 years agoHandle core regions which start at a poorly aligned address.
Andrew Cagney [Tue, 14 Oct 1997 23:45:52 +0000 (23:45 +0000)]
Handle core regions which start at a poorly aligned address.

27 years agoAdd function to determine if a symbol is located at a given address.
Nick Clifton [Tue, 14 Oct 1997 23:12:18 +0000 (23:12 +0000)]
Add function to determine if a symbol is located at a given address.