external/binutils.git
26 years agoTweak.
Jeff Law [Wed, 1 Jul 1998 23:15:55 +0000 (23:15 +0000)]
Tweak.

26 years ago * am33.igen: New file with some am33 support.
Jeff Law [Wed, 1 Jul 1998 23:13:14 +0000 (23:13 +0000)]
    * am33.igen: New file with some am33 support.
Checking in work-to-date.

26 years ago * mn10300_sim.h (FETCH24): Define.
Jeff Law [Wed, 1 Jul 1998 23:11:59 +0000 (23:11 +0000)]
    * mn10300_sim.h (FETCH24): Define.
        * mn10300_sim.h: Add defines for some registers found on the AM33.

26 years ago* sim/m32r/hw-trap.ms: New testcase.
Doug Evans [Wed, 1 Jul 1998 22:57:07 +0000 (22:57 +0000)]
* sim/m32r/hw-trap.ms: New testcase.

26 years agoxfail ARM and Thumb coifftag test
Nick Clifton [Wed, 1 Jul 1998 22:36:33 +0000 (22:36 +0000)]
xfail ARM and Thumb coifftag test

26 years agofix indentation
Ian Lance Taylor [Wed, 1 Jul 1998 22:05:41 +0000 (22:05 +0000)]
fix indentation

26 years ago"propogate" -> "propagate"
Richard Henderson [Wed, 1 Jul 1998 21:53:34 +0000 (21:53 +0000)]
"propogate" -> "propagate"

26 years ago * sim/sky/vureloc{.brn,-main.c,.dvpasm}: New files.
Doug Evans [Wed, 1 Jul 1998 21:37:10 +0000 (21:37 +0000)]
* sim/sky/vureloc{.brn,-main.c,.dvpasm}: New files.

26 years ago * gas/ppc/simpshft.s: Add alignment so that it works on AIX.
Ian Lance Taylor [Wed, 1 Jul 1998 21:32:44 +0000 (21:32 +0000)]
* gas/ppc/simpshft.s: Add alignment so that it works on AIX.
* gas/ppc/simpshft.d: Change accordingly.  Only dump the .text
section.

26 years ago * coff-sh.c (sh_relax_delete_bytes): Correct address comparisons
Ian Lance Taylor [Wed, 1 Jul 1998 21:03:27 +0000 (21:03 +0000)]
* coff-sh.c (sh_relax_delete_bytes): Correct address comparisons
  when handling 32 bit immediate relocs.
* elf32-sh.c (sh_elf_relax_delete_bytes): Likewise.

26 years ago*** empty log message ***
Jim Blandy [Wed, 1 Jul 1998 20:51:19 +0000 (20:51 +0000)]
*** empty log message ***

26 years ago * gas/dvp/lower-2.[sd]: New testcase.
Doug Evans [Wed, 1 Jul 1998 20:50:44 +0000 (20:50 +0000)]
* gas/dvp/lower-2.[sd]: New testcase.
* gas/dvp/dvp.exp: Run it.

26 years ago * ltconfig: Update to correct AIX handling.
Ian Lance Taylor [Wed, 1 Jul 1998 20:45:45 +0000 (20:45 +0000)]
* ltconfig: Update to correct AIX handling.

26 years agoI found that the relax failure for execute/930628-1.c is due to gas
Joern Rennecke [Wed, 1 Jul 1998 20:42:42 +0000 (20:42 +0000)]
I found that the relax failure for execute/930628-1.c is due to gas
incorrectly relaxing an out-of-range conditional branch with delay slot.
It turned:
                        bf.s    L6              (slot mov.l   r12,@(44,r0))
into:

   2c:  8f 01 a0 8b     bf.s    32 <_main+32>   (slot bra       L6)
   30:  00 09           nop
   32:  10 cb           mov.l   r12,@(44,r0)

* config/tc-sh (COND_JUMP_DELAY, COND12_DELAY_LENGTH): Define.
Changed all users of COND12_DELAY.

26 years agoWed Jul 1 13:10:58 1998 Jim Ingham <jingham@cygnus.com>
Jim Ingham [Wed, 1 Jul 1998 20:17:31 +0000 (20:17 +0000)]
Wed Jul  1 13:10:58 1998  Jim Ingham   <jingham@cygnus.com>

* Moved gdbtk_hooks.c & gdbtk_cmds.c to gdbtk-hooks.c &
gdbtk-cmds.c to comply with the gdb conventions.  Changed the
configure & makefile to reflect the change...

26 years ago * reloc.c: New relocs BFD_RELOC_MIPS_DVP_11_S4,
Doug Evans [Wed, 1 Jul 1998 20:14:12 +0000 (20:14 +0000)]
* reloc.c: New relocs BFD_RELOC_MIPS_DVP_11_S4,
BFD_RELOC_MIPS_DVP_U15_S3.
* elf32-mips.c: Handle them.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.

26 years ago * config/tc-dvp.c (md_apply_fix3): Handle new relocs
Doug Evans [Wed, 1 Jul 1998 19:40:56 +0000 (19:40 +0000)]
* config/tc-dvp.c (md_apply_fix3): Handle new relocs
BFD_RELOC_MIPS_DVP_11_S4, BFD_RELOC_MIPS_DVP_U15_S3.

26 years ago * dvp-opc.c (DVP_OPERAND_RELOC_11_S4): Temporarily back out
Doug Evans [Wed, 1 Jul 1998 19:34:55 +0000 (19:34 +0000)]
* dvp-opc.c (DVP_OPERAND_RELOC_11_S4): Temporarily back out
the DVP_OPERAND_RELOC_11_S4 relocation.
* dvp-opc.c (LIMM11, LUIMM15): New symbol types
DVP_OPERAND_RELOC_U15_S3 and DVP_OPERAND_RELOC_11_S4 to allow labels to
be used as immediate values.

26 years agoWed Jul 1 11:07:21 1998 Jim Ingham <jingham@cygnus.com>
Jim Ingham [Wed, 1 Jul 1998 19:29:14 +0000 (19:29 +0000)]
Wed Jul  1 11:07:21 1998  Jim Ingham   <jingham@cygnus.com>

* main.tcl (gdbtk_preloop): Call gdbtk_idle on spec.  If there was an
        error in loading an executible specified on the command line,
then the pre_add_symbol hook would have called gdbtk_busy but
        the corresponding call to gdbtk_idle would not have occured.

        Also changed some catch calls so they didn't use
        "catch {set foo [real_command]}"
    but rather the more efficient:
"catch {real_command} foo"

* register.tcl: more catch cleanups
* src.tcl: more catch cleanups
* stack.tcl: more catch cleanups
* target.tcl: more catch cleanups
* tdump.tcl: more catch cleanups
* variables.tcl: more catch cleanups
* watch.tcl: more catch cleanups

* gdbtk.c (gdbtk_init): Fixed a bug in the startup code on Windows
that caused gdbtk not to find the share directory unless
GDBTK_LIBRARY was set.

* gdbtk.c: removed all the commands and hooks from this file so
now it contains only the startup code.
  * gdbtk_cmds.c: New file - this contains all the Tcl commands that
gdb defines.  All the old commands were moved here, the
string-based commands were converted to object commands, and the
object-based commands were all converted to uniformly use the
call_wrapper.  A new function, Gdbtk_Init was added to centralize
initializing the gdb package.  Also added gdbtk as a package
into gdbtk_interp.
* gdbtk_hooks.c: New file - All the hooks were moved here, and a new
function, gdbtk_add_hooks was added to centralize adding all these
hook functions.  gdbtk_fputs was also modified to handle the new
result_ptr structure.  See the comments in gdbtk.h for more
details.
* gdbtk.h: New file - this contains all the defines and globals
shared by gdbtk.c, gdbtk_cmds.c & gdbtk_hooks.c
* Makefile.in, configure.in & configure: mutatis mutandi for the
new files.

26 years agorebuild
Ian Lance Taylor [Wed, 1 Jul 1998 18:34:33 +0000 (18:34 +0000)]
rebuild

26 years agonew files for windres
Ian Lance Taylor [Wed, 1 Jul 1998 18:33:06 +0000 (18:33 +0000)]
new files for windres

26 years agox
Ian Lance Taylor [Wed, 1 Jul 1998 18:32:49 +0000 (18:32 +0000)]
x

26 years ago * rclex.l: Add casts and change types to avoid warnings.
Ian Lance Taylor [Wed, 1 Jul 1998 18:30:20 +0000 (18:30 +0000)]
* rclex.l: Add casts and change types to avoid warnings.
* rcparse.y: Likewise.
* resbin.c: Likewise.
* rescoff.c: Likewise.
* resrc.c: Likewise.

* Makefile.am: Rebuild dependencies.
  (HFILES): Remove readelf.h.
* Makefile.in: Rebuild.

Based on patches from Andrew Kozin
<Andrew.Kozin@p14.f960.n5020.z2.fidonet.org>:
* winduni.h: New file, from windres.h.
* winduni.c: New file, from windres.c.
* windres.c: Move Unicode functions into winduni.c.
* windres.h: Move Unicode declarations into winduni.h.  Include
winduni.h.
  (RT_ACCELERATOR): Rename from RT_ACCELERATORS to match Windows
macro.  Change all uses.
(RT_PLUGPLAY, RT_VXD): Correct values.
* Makefile.am (HFILES): Add windres.h.
(CFILES): Add winduni.c.
(windres_SOURCES): Add winduni.c.

26 years agoPass thumb-pe and arm-pe
Nick Clifton [Wed, 1 Jul 1998 17:52:43 +0000 (17:52 +0000)]
Pass thumb-pe and arm-pe

26 years agoReplace object.scm with cos.scm
Nick Clifton [Wed, 1 Jul 1998 16:42:36 +0000 (16:42 +0000)]
Replace object.scm with cos.scm

26 years ago * mn10300_sim.h: Include bfd.h
Jeff Law [Tue, 30 Jun 1998 17:28:54 +0000 (17:28 +0000)]
    * mn10300_sim.h: Include bfd.h
        (struct state): Add more room for processor specific registers.
start-sanitize-am33
        (REG_E0): Define.
end-sanitize-am33

26 years ago * section.c (STD_SECTION): Account for recently added gc_mark
Jeff Law [Tue, 30 Jun 1998 17:09:28 +0000 (17:09 +0000)]
    * section.c (STD_SECTION): Account for recently added gc_mark
        field in struct asection.

26 years agoremove readelf.h from file list
Nick Clifton [Tue, 30 Jun 1998 16:25:20 +0000 (16:25 +0000)]
remove readelf.h from file list

26 years ago * m10300-opc.c: Reorder "movbu" and "movhu" instructions too.
Jeff Law [Tue, 30 Jun 1998 16:04:44 +0000 (16:04 +0000)]
    * m10300-opc.c: Reorder "movbu" and "movhu" instructions too.
Why oh why didn't they take our advice about register prefixing.  It would
have avoided the ambigious syntax issues.  Sigh.

26 years ago * elf-m10300.c (bfd_mn10300_elf_merge_private_bfd_data): New function.
Jeff Law [Tue, 30 Jun 1998 16:00:12 +0000 (16:00 +0000)]
    * elf-m10300.c (bfd_mn10300_elf_merge_private_bfd_data): New function.
        (bfd_elf32_bfd_merge_private_bfd_data): Define.
So the machine id gets propagated into executables.

26 years agoELF Section-level Garbage Collection.
Richard Henderson [Tue, 30 Jun 1998 10:02:22 +0000 (10:02 +0000)]
ELF Section-level Garbage Collection.

26 years agoMon Jun 29 19:01:18 1998 Jim Wilson <wilson@cygnus.com>
Jason Molenda [Tue, 30 Jun 1998 02:40:12 +0000 (02:40 +0000)]
Mon Jun 29 19:01:18 1998  Jim Wilson  <wilson@cygnus.com>

        * gnu-regex.c (re_comp): Add cast to char * before gettext calls.

26 years agoImproved portability of readelf
Nick Clifton [Tue, 30 Jun 1998 00:03:05 +0000 (00:03 +0000)]
Improved portability of readelf

26 years ago * config/tc-mn10300.c (r_registers): Fix typo and add some missing
Jeff Law [Mon, 29 Jun 1998 21:01:03 +0000 (21:01 +0000)]
    * config/tc-mn10300.c (r_registers): Fix typo and add some missing
        registers.

26 years ago * m10300-opc.c: Reorder more instructions so that we do not
Jeff Law [Mon, 29 Jun 1998 20:57:25 +0000 (20:57 +0000)]
    * m10300-opc.c: Reorder more instructions so that we do not
        accidentally match a mn10300 instruction when we really
        wanted an am33 instruction.

26 years ago * main.c (main): Don't include gdbtk test code if GDBTK is
Keith Seitz [Mon, 29 Jun 1998 19:04:30 +0000 (19:04 +0000)]
    * main.c (main): Don't include gdbtk test code if GDBTK is
        not defined by configure.

        * configure.in: When enabling gdbtk, add "-DGDBTK" to ENABLE_CFLAGS.

        * configure: Regenerate.

26 years ago * config/tc-mips.c (prev_insn_labels): New.
Gavin Romig-Koch [Mon, 29 Jun 1998 13:38:34 +0000 (13:38 +0000)]
* config/tc-mips.c (prev_insn_labels): New.
(mips_fix_4011_branch_bug): New.
(append_insn): Watch for and handle branchs with labels.
(mips_no_prev_insn): Initialize prev_insn_labels.
(md_longopts,md_parse_option): Add {no-}fix-4011-branch-bug option.

26 years ago * interp.c (OPTION_BRANCH_BUG_4011): Add.
Gavin Romig-Koch [Mon, 29 Jun 1998 13:30:01 +0000 (13:30 +0000)]
* interp.c (OPTION_BRANCH_BUG_4011): Add.
(mips_option_handler): Handle OPTION_BRANCH_BUG_4011.
(mips_options): Define the option.
* mips.igen (check_4011_branch_bug): New.
(mark_4011_branch_bug): New.
(all branch insn): Call mark_branch_bug, and check_branch_bug.
* sim-main.h (branchbug4011_option, branchbug4011_last_target,
branchbug4011_last_cia, BRANCHBUG4011_OPTION,
BRANCHBUG4011_LAST_TARGET, BRANCHBUG4011_LAST_CIA,
check_branch_bug, mark_branch_bug): Define.

26 years ago * mips.igen (check_mf_hilo): Correct check.
Gavin Romig-Koch [Mon, 29 Jun 1998 13:22:31 +0000 (13:22 +0000)]
* mips.igen (check_mf_hilo): Correct check.

26 years ago* Attempt to make readelf.c compile under IRIX6 cc by inserting
Frank Ch. Eigler [Mon, 29 Jun 1998 07:40:02 +0000 (07:40 +0000)]
* Attempt to make readelf.c compile under IRIX6 cc by inserting
  non-functional "break;" in switch statement.

26 years agoSun Jun 28 22:34:34 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Mon, 29 Jun 1998 05:31:35 +0000 (05:31 +0000)]
Sun Jun 28 22:34:34 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdb.gdbtk/simple.c (main): Make main return an
int so compiler will stop complaining.

26 years ago Improve support for SunPro F77.
Peter Schauer [Sun, 28 Jun 1998 18:36:50 +0000 (18:36 +0000)]
Improve support for SunPro F77.
* dbxread.c (end_psymtab, process_one_symbol):  Handle minimal
symbols with trailing underscore names.
* minsyms.c (find_stab_function_addr):  Ditto.
* dbxread.c (process_one_symbol):  Ignore N_ALIAS for now.
* partial-stab.h (case N_ALIAS):  Ditto.
* stabsread.c (read_sun_builtin_type):  Handle boolean types.

26 years ago * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
Keith Seitz [Sat, 27 Jun 1998 00:47:35 +0000 (00:47 +0000)]
    * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.

        * configure.in: Add options for gdbtk testsuite.

        * configure: Regenerate.

        * gdb.gdbtk: New directory to hold gdbtk tests.

        * gdb.gdbtk/console.{exp, test}: New console window tests.

26 years ago * symtab.h (enum namespace): Add new namespaces FUNCTIONS_NAMESPACE,
Keith Seitz [Sat, 27 Jun 1998 00:45:20 +0000 (00:45 +0000)]
    * symtab.h (enum namespace): Add new namespaces FUNCTIONS_NAMESPACE,
        TYPES_NAMESPACE, METHODS_NAMESPACE, and VARIABLES_NAMESPACE used by
        new search_symbols.
        Add prototype for search_symbols and free_search_symbols.

        * symtab.c (list_symbols): Rewrite to use new search_symbols.
        (file_matches): New helper function for search_symbols.
        (free_search_symbols): New function which frees data returned from
        search_symbols.
        (print_symbol_info): New helper function which prints info about a
        matched symbol to stdout. Extracted from old list_symbols.
        (print_msymbol_info): New helper function which prints info about
        a matched msymbol to stdout. Extracted from old list_symbols.
        (symtab_symbol_info): Extracted from old list_symbols.
        (variables_info): Use symtab_symbol_info.
        (functions_info): Use symtab_symbol_info.
        (types_info): Use symtab_symbol_info.
        (rbreak_command): Rewrite to use new search_symbols.

        * gdbtk.c: Change all references to static global "interp" to
        "gdbtk_interp" and export this global.
        (gdbtk_init): If gdbtk_source_filename is not NULL, source this file
        into the interpreter when it goes idle.
        Add new command "gdb_search".
        (gdb_search): New function which searches the symbol table.
        (gdbtk_test): New function called by main when the --tclcommand
        option is used.

        * main.c (main): Add a new option "--tclcommand" which is used
        by the testsuite to source a file into the interpreter when it
        goes idle.

26 years ago * objcopy.c (strip_main): keep_specific_list == NULL as additional
Vladimir Makarov [Fri, 26 Jun 1998 22:25:39 +0000 (22:25 +0000)]
* objcopy.c (strip_main): keep_specific_list == NULL as additional
condition to set up strip all symbols by default.
(copy_archive): don't change archive when error in object files of
the archive.
PR16197

26 years ago * gdb.fortran/types.exp: Escape brackets in expect patterns
Peter Schauer [Fri, 26 Jun 1998 21:59:29 +0000 (21:59 +0000)]
* gdb.fortran/types.exp:  Escape brackets in expect patterns
for test_float_literal_types_accepted tests.
* gdb.base/scope.exp:  Remove extraneous newline in filelocal_bss
before run test.

26 years agoDo not try to include sys/mount.h anymore
Michael Meissner [Fri, 26 Jun 1998 18:22:48 +0000 (18:22 +0000)]
Do not try to include sys/mount.h anymore

26 years ago * config/tc-mn10300.c (set_arch_mach): New function.
Jeff Law [Fri, 26 Jun 1998 17:24:34 +0000 (17:24 +0000)]
    * config/tc-mn10300.c (set_arch_mach): New function.
        (md_pseudo_table): Add pseudo-ops to set the current machine type.
        (md_begin): Default to mn10300 mode.
        (md_assemble): Only accept instructions for the core mn10300
        chip and the active machine type.

26 years ago * gas/mn10300/am33.s: Add .am33 pseudo-op to force am33 mode.
Jeff Law [Fri, 26 Jun 1998 17:20:53 +0000 (17:20 +0000)]
    * gas/mn10300/am33.s: Add .am33 pseudo-op to force am33 mode.
        * gas/mn10300/{am33_2.s, am33_3.s, am33_4.s, am33_5.s}: Likewise.
        * gas/mn10300/{am33_6.s, am33_7.s, am33_8.s}: Likewise.
        * gas/mn10300/basic.exp: Corresponding changes.

26 years ago * am33.exp: Just compile, do not link the testcase.
Jeff Law [Fri, 26 Jun 1998 17:17:03 +0000 (17:17 +0000)]
    * am33.exp: Just compile, do not link the testcase.
        * am33.s: Add ".am33" pseudoop to force am33 mode.

26 years ago * mn10300.h: Add "machine" field for instructions.
Jeff Law [Fri, 26 Jun 1998 17:14:20 +0000 (17:14 +0000)]
    * mn10300.h: Add "machine" field for instructions.
        (MN103, AM30): Define machine types.
        (AM33): Define machine type.

26 years ago * m10300-dis.c: Only recognize instructions from the currently
Jeff Law [Fri, 26 Jun 1998 17:12:10 +0000 (17:12 +0000)]
    * m10300-dis.c: Only recognize instructions from the currently
        selected machine.
        * m10300-opc.c: Add field indicating the particular variant of
        the mn10300 each instruction is available on.

26 years ago * archures.c (bfd_mach_mn10300): Define.
Jeff Law [Fri, 26 Jun 1998 16:59:08 +0000 (16:59 +0000)]
    * archures.c (bfd_mach_mn10300): Define.
        * elf-m10300.c: Include elf/mn10300.h
        (elf_mn10300_mach): New function.
        (_bfd_mn10300_elf_final_write_processing): Likewise.
        (_bfd_mn10300_elf_object_p): Likewise.
        (elf_backendfinal_write_processing): Define.
        (elf_backend_object_p): Likewise.
start-sanitize-am33
        * archures.c (bfd_mach_am33): Define.
        * cpu-m10300.c (bfd_am33_arch): New arch info structure.  Link it
        into the NEXT field of bfd_mn10300_arch.
end-sanitize-am33

26 years ago * mn10300.h: New file.
Jeff Law [Fri, 26 Jun 1998 16:50:13 +0000 (16:50 +0000)]
    * mn10300.h: New file.

26 years ago * configure.in: For bfd_vax_arch, build vax-dis.lo.
Ian Lance Taylor [Fri, 26 Jun 1998 16:08:02 +0000 (16:08 +0000)]
* configure.in: For bfd_vax_arch, build vax-dis.lo.
* Makefile.am: Rebuild dependencies.
  (CFILES): Add vax-dis.c.
(ALL_MACHINES): Add vax-dis.lo.
* aclocal.m4: Rebuild with current libtool.
* configure, Makefile.in: Rebuild.

Fri Jun 26 12:03:20 1998  Klaus Kaempf  <kkaempf@progis.de>

* vax-dis.c: New file, from work by Pauline Middelink
<middelin@polyware.iaf.nl>.
* disassemble.c (ARCH_vax): Define if ARCH_all.
(disassembler): Add case for ARCH_vax.
* makefile.vms: Support compilation on vms/vax.

26 years agoFix HI16_S relocation
Nick Clifton [Fri, 26 Jun 1998 01:31:43 +0000 (01:31 +0000)]
Fix HI16_S relocation

26 years ago * gdb.base/setshow.exp: make sure $pc is sane.
Felix Lee [Thu, 25 Jun 1998 22:39:02 +0000 (22:39 +0000)]
* gdb.base/setshow.exp: make sure $pc is sane.

* gdb.stabs/weird.exp: split expect patterns properly.

26 years ago* Fix gdb inferior calls on 128-bit MIPS targets.
Frank Ch. Eigler [Thu, 25 Jun 1998 20:36:57 +0000 (20:36 +0000)]
* Fix gdb inferior calls on 128-bit MIPS targets.
Thu Jun 25 22:38:32 1998  Frank Ch. Eigler  <fche@cygnus.com>
* mips-tdep.c (mips_push_arguments): Use 128-bit stack frame
alignment for inferior calls.

26 years ago * sky-pke.c (pke_issue): use default trace file name if the
Patrick Macdonald [Thu, 25 Jun 1998 18:58:10 +0000 (18:58 +0000)]
* sky-pke.c (pke_issue): use default trace file name if the
--log-file option not used

26 years agoThu Jun 25 10:12:03 1998 Joyce Janczyn <janczyn@cygnus.com>
Joyce Janczyn [Thu, 25 Jun 1998 14:17:47 +0000 (14:17 +0000)]
Thu Jun 25 10:12:03 1998  Joyce Janczyn  <janczyn@cygnus.com>

* dv-mn103tim.c: Include sim-assert.h
* dv-mn103ser.c (do_polling_event): Check for incoming data on
serial line and schedule next polling event.
(read_status_reg): schedule events to check for incoming data on
serial line and issue interrupt if necessary.

26 years ago* Bringing over SKY PKE disassembler feature from sky branch.
Frank Ch. Eigler [Thu, 25 Jun 1998 11:41:20 +0000 (11:41 +0000)]
* Bringing over SKY PKE disassembler feature from sky branch.

26 years ago* Bringing sky pke disasm from sky branch.
Frank Ch. Eigler [Thu, 25 Jun 1998 11:35:43 +0000 (11:35 +0000)]
* Bringing sky pke disasm from sky branch.

26 years ago * mn10200-tdep.c (mn10200_analyze_prologue): Fix calculation
Mark Alexander [Thu, 25 Jun 1998 06:20:35 +0000 (06:20 +0000)]
* mn10200-tdep.c (mn10200_analyze_prologue): Fix calculation
of jsr target address.

26 years agorebuild dependencies
Ian Lance Taylor [Thu, 25 Jun 1998 00:02:38 +0000 (00:02 +0000)]
rebuild dependencies

26 years agoremove CVS conflict marker
Ian Lance Taylor [Wed, 24 Jun 1998 23:09:05 +0000 (23:09 +0000)]
remove CVS conflict marker

26 years ago * subsegs.h (segment_info_type): Give the struct a name.
Ian Lance Taylor [Wed, 24 Jun 1998 23:08:26 +0000 (23:08 +0000)]
* subsegs.h (segment_info_type): Give the struct a name.
* config/tc-h8300.h (tc_reloc_mangle): Add prototype.
* config/tc-h8500.h (tc_reloc_mangle): Declare.
* config/tc-sh.h (sh_coff_reloc_mangle): Add prototype.
* config/tc-w65.h (tc_reloc_mangle): Declare.
* config/tc-z8k.h (tc_reloc_mangle): Declare.

26 years ago * configure.in (noconfigdirs): Add configure pattern for mips tx39
John Metzler [Wed, 24 Jun 1998 23:03:02 +0000 (23:03 +0000)]
* configure.in (noconfigdirs): Add configure pattern for mips tx39
  cygmon

26 years ago* sim/sky/t-int.c, sim/sky/t-int-handler.c:
James Lemke [Wed, 24 Jun 1998 22:19:38 +0000 (22:19 +0000)]
* sim/sky/t-int.c, sim/sky/t-int-handler.c:
Testcase errors: two in the former file, one in the latter.

26 years agoUpdated sim/sky/t-dma.c: It missed check-in earlier today.
James Lemke [Wed, 24 Jun 1998 21:55:45 +0000 (21:55 +0000)]
Updated sim/sky/t-dma.c: It missed check-in earlier today.

26 years ago * stabs.c (parse_number): Sign extend negative values correctly if
Ian Lance Taylor [Wed, 24 Jun 1998 21:54:13 +0000 (21:54 +0000)]
* stabs.c (parse_number): Sign extend negative values correctly if
bfd_vma is larger than unsigned long.

26 years ago * elflink.h (elf_bfd_final_link): Loop over input_bfds using the
Ian Lance Taylor [Wed, 24 Jun 1998 21:18:25 +0000 (21:18 +0000)]
* elflink.h (elf_bfd_final_link): Loop over input_bfds using the
link_next field, not the next field.

26 years agoRestore old section after common creation.
Catherine Moore [Wed, 24 Jun 1998 19:25:49 +0000 (19:25 +0000)]
Restore old section after common creation.

26 years ago * gdb.disasm/am33.s: New disassembler testfile for the am33.
Jeff Law [Wed, 24 Jun 1998 19:07:51 +0000 (19:07 +0000)]
    * gdb.disasm/am33.s: New disassembler testfile for the am33.
        * gdb.disasm/am33.exp: Run it.

26 years ago * m10300-dis.c (print_insn_mn10300): 0xf7 opcode prefix specifies
Jeff Law [Wed, 24 Jun 1998 19:04:06 +0000 (19:04 +0000)]
    * m10300-dis.c (print_insn_mn10300): 0xf7 opcode prefix specifies
        4 byte instructions.
        (disassemble): Correctly handle FMT_D10 instructions.

26 years ago * mn10300-opc.c (mn10300_opcodes): Fix typo in IMM24 versions of the
Jeff Law [Wed, 24 Jun 1998 19:02:27 +0000 (19:02 +0000)]
    * mn10300-opc.c (mn10300_opcodes): Fix typo in IMM24 versions of the
        am33 shift instructions.

26 years agoFixed parsing of output to cope with .call_table_data sections on v850
Nick Clifton [Wed, 24 Jun 1998 16:22:25 +0000 (16:22 +0000)]
Fixed parsing of output to cope with .call_table_data sections on v850

26 years ago * gas/mn10300/basic.exp (do_am33_3): Fix typo.
Jeff Law [Wed, 24 Jun 1998 16:15:21 +0000 (16:15 +0000)]
    * gas/mn10300/basic.exp (do_am33_3): Fix typo.

26 years agoUpdated sim/sky/t-dma.{brn|dmaexpect} because a warning msg being checked
James Lemke [Wed, 24 Jun 1998 16:02:01 +0000 (16:02 +0000)]
Updated sim/sky/t-dma.{brn|dmaexpect} because a warning msg being checked
for, contains an address that differs between -mhard-float and -msoft-float.

26 years ago * mn10300-dis.c (print_insn_mn10300): 0xf9 opcode prefix specifies
Jeff Law [Wed, 24 Jun 1998 16:00:43 +0000 (16:00 +0000)]
    * mn10300-dis.c (print_insn_mn10300): 0xf9 opcode prefix specifies
        3 byte instructions.
        (disassemble): Handle new instruction formats FMT_D6, FMT_D7, FMT_D8
        FMT_D9 and FMT_D10.  Handle various new opcode flags for the am33.

26 years ago * mn10300-opc.c (IMM32_HIGH8_MEM): New operand type.
Jeff Law [Wed, 24 Jun 1998 15:56:40 +0000 (15:56 +0000)]
    * mn10300-opc.c (IMM32_HIGH8_MEM): New operand type.
        (mn10300_opcodes): Reorder so as to try and select opcodes from
        the core chip when multiple alternatives exist.  Change several
        am33 instructions to use IMM32_HIGH8_MEM.  Fix typos in "mac" and
        "macbu" instructions.  Fix typos in a couple DSP instructions too.

26 years agoWed Jun 24 11:50:54 1998 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Wed, 24 Jun 1998 15:54:05 +0000 (15:54 +0000)]
Wed Jun 24 11:50:54 1998  Klaus Kaempf  <kkaempf@progis.de>

* config/obj-vms.c (Create_VMS_Object_File): Force binary file.

26 years ago * config/tc-mn10300.c (r_registers): Add a0-a3,d0-d3 and e0-e7
Jeff Law [Wed, 24 Jun 1998 15:44:27 +0000 (15:44 +0000)]
    * config/tc-mn10300.c (r_registers): Add a0-a3,d0-d3 and e0-e7
        as synonyms for "rN" registers.
        (xr_registers): Add mcrh, mcrl, mcvf, mdrq and sp as synonyms
        for "xrN" registers.
        (md_assemble): Fix typo computing the size of relocations.

26 years ago * configure.in: Add cygmon and libstub support for mn10200.
Mark Alexander [Wed, 24 Jun 1998 05:44:46 +0000 (05:44 +0000)]
* configure.in: Add cygmon and libstub support for mn10200.

26 years ago * m10200-dis.c (print_insn_mn10200): Fix various non-portabilities
Mark Alexander [Wed, 24 Jun 1998 02:49:07 +0000 (02:49 +0000)]
* m10200-dis.c (print_insn_mn10200): Fix various non-portabilities
related to sign extension and the size of ints.

26 years ago * config/mn10200/tm-mn10200.h (SAVED_PC_AFTER_CALL): Don't
Mark Alexander [Wed, 24 Jun 1998 02:40:54 +0000 (02:40 +0000)]
* config/mn10200/tm-mn10200.h (SAVED_PC_AFTER_CALL):  Don't
zero upper byte of address.

26 years agoFix irix6-x-h8300 gas bug found while looking at gcc nightly testing failure.
Jim Wilson [Wed, 24 Jun 1998 01:48:42 +0000 (01:48 +0000)]
Fix irix6-x-h8300 gas bug found while looking at gcc nightly testing failure.
* config/tc-h8300.c (do_a_fix_imm, build_bytes): Replace cast to
char with code that explicitly sign-extends.

26 years agoTue Jun 23 17:32:26 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Wed, 24 Jun 1998 00:37:49 +0000 (00:37 +0000)]
Tue Jun 23 17:32:26 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * rs6000-tdep.c (pop_dummy_frame): use memcpy.
        (push_arguments): use memset.
        (various other places): fix up indentation and long lines.

26 years agoFix tests to match latest assembler results.
Nick Clifton [Tue, 23 Jun 1998 22:17:19 +0000 (22:17 +0000)]
Fix tests to match latest assembler results.

26 years agoFixed testsuite macros/reloc.s failure.
Nick Clifton [Tue, 23 Jun 1998 22:14:25 +0000 (22:14 +0000)]
Fixed testsuite macros/reloc.s failure.

26 years agoConceal ugly code behing macro.
Nick Clifton [Tue, 23 Jun 1998 20:56:19 +0000 (20:56 +0000)]
Conceal ugly code behing macro.

26 years ago * Makefile.am (install-data-local): Make ldscripts subdirectory.
Ian Lance Taylor [Tue, 23 Jun 1998 19:17:56 +0000 (19:17 +0000)]
* Makefile.am (install-data-local): Make ldscripts subdirectory.
* Makefile.in: Rebuild.

Tue Jun 23 15:17:04 1998  Mike Stump  <mrs@wrs.com>

* Makefile.am (install-exec-local): Don't let EXEEXT interfere
with the program transform name.
* Makefile.in: Rebuild.

26 years agoTue Jun 23 15:09:27 1998 Mike Stump <mrs@wrs.com>
Ian Lance Taylor [Tue, 23 Jun 1998 19:10:19 +0000 (19:10 +0000)]
Tue Jun 23 15:09:27 1998  Mike Stump  <mrs@wrs.com>

* Makefile.am (install-exec-local): Don't let EXEEXT interfere
with the program transform name.
* Makefile.in: Rebuild.

26 years agoTue Jun 23 14:55:05 1998 Mike Stump <mrs@wrs.com>
Ian Lance Taylor [Tue, 23 Jun 1998 19:01:50 +0000 (19:01 +0000)]
Tue Jun 23 14:55:05 1998  Mike Stump  <mrs@wrs.com>

* Makefile.am (install-exec-local): Don't let EXEEXT interfere
with the program transform name.
* Makefile.in: Rebuild.

26 years agoTue Jun 23 11:58:35 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Tue, 23 Jun 1998 19:01:10 +0000 (19:01 +0000)]
Tue Jun 23 11:58:35 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * configure.in: s/lXext/-lXext/ for Jillian's change.

26 years agofix indentation.
Michael Snyder [Tue, 23 Jun 1998 18:55:13 +0000 (18:55 +0000)]
fix indentation.

26 years agoTue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 23 Jun 1998 18:46:00 +0000 (18:46 +0000)]
Tue Jun 23 11:45:01 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * gdb.base/funcargs.exp: simplify expect strings to ease pattern
        match processing (and eliminate spurious timeouts when running).

26 years agoTue Jun 23 11:14:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 23 Jun 1998 18:22:43 +0000 (18:22 +0000)]
Tue Jun 23 11:14:04 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

* config/mips/tm-irix5.h: Modify to work better on irix 6, by
making FP registers 8 bytes instead of 4.
REGISTER_BYTES: redefine.  REGISTER_BYTE(): redefine.
REGISTER_VIRTUAL_TYPE: redefine.  MIPS_LAST_ARG_REGNUM: redefine.
* irix5-nat.c (fetch_core_registers): read 8 bytes per FP register.
* mips-tdep.c (FP_REGISTER_DOUBLE): new macro to distinguish
targets with 8-byte FP registers (don't use TARGET_MIPS64).
(STACK_ARGSIZE): new macro, how much space is taken up on the
stack for each function argument (don't use TARGET_MIPS64).
(mips_push_arguments): modify logic to work better on Irix 6
(n32 ABI).

26 years agoRewrite of readelf to use fopen/fread rather than mmap.
Nick Clifton [Tue, 23 Jun 1998 18:12:44 +0000 (18:12 +0000)]
Rewrite of readelf to use fopen/fread rather than mmap.

26 years agoconfigure.in: Add -lXext to mips_extra_libs
Jillian Ye [Tue, 23 Jun 1998 17:59:31 +0000 (17:59 +0000)]
configure.in: Add -lXext to mips_extra_libs

26 years ago * m10300-opc.c: Support one operand "asr", "lsr" and "asl"
Jeff Law [Tue, 23 Jun 1998 17:01:44 +0000 (17:01 +0000)]
    * m10300-opc.c: Support one operand "asr", "lsr" and "asl"
        instructions.  Support (sp) addressing mode by expanding it into
        (0,sp).