Andrew Cagney [Sat, 25 Jul 1998 06:45:18 +0000 (06:45 +0000)]
Add new file vr.igen which is a merge of vr5400.igen and vr4320.igen.
Hack sanitize so that it doesn't sanitize vrXXX when either of
keep-vr5400 or keep-vr4320 are specified.
Move two basic vr4100 instructions from mips.igen to vr.igen.
Doug Evans [Sat, 25 Jul 1998 03:09:51 +0000 (03:09 +0000)]
tweak wording of last entry
Doug Evans [Sat, 25 Jul 1998 03:03:45 +0000 (03:03 +0000)]
* Makefile.am (install-exec-local): Split into two ...
(install-exec-bindir,install-exec-tooldir): New rules.
* Makefile.in: Regenerate.
Doug Evans [Sat, 25 Jul 1998 02:58:09 +0000 (02:58 +0000)]
* Makefile.in (INSTALL_TARGET): Move EXTRA_TARGET_HOST_INSTALL_MODULES
to here ...
(install-no-fixedincludes): and here
(INSTALL_MODULES): ... to here.
Doug Evans [Sat, 25 Jul 1998 02:56:07 +0000 (02:56 +0000)]
* mt-sky (install-dvp-gas): New rule.
Jeff Holcomb [Fri, 24 Jul 1998 23:58:30 +0000 (23:58 +0000)]
Fri Jul 24 16:28:57 1998 Jeff Holcomb <jeffh@cygnus.com>
* readelf.c (get_dynamic_type): Remove empty default from switch
statement.
Joyce Janczyn [Fri, 24 Jul 1998 22:22:35 +0000 (22:22 +0000)]
Fri Jul 24 18:15:21 1998 Joyce Janczyn <janczyn@cygnus.com>
* op_utils.c (do_syscall): Rewrite to use common/syscall.c.
(syscall_read_mem, syscall_write_mem): New functions for syscall
callbacks.
* mn10300_sim.h: Add prototypes for syscall_read_mem and
syscall_write_mem.
* mn10300.igen: Change C++ style comments to C style comments.
Check for divide by zero in div and divu ops.
Keith Seitz [Fri, 24 Jul 1998 22:11:22 +0000 (22:11 +0000)]
* gdb.gdbtk/Makefile.in: Add new example program "stack".
* gdb.gdbtk/browser.test,browser.exp: Add browser window
tests.
* gdb.gdbtk/stack1.c,stack2.c: Test case for browser window.
Keith Seitz [Fri, 24 Jul 1998 22:02:39 +0000 (22:02 +0000)]
* gdbtk-cmds.c (gdb_search): Add missing NULL to switches.
Add missing flags to result_ptr.
Pass along any errors caused by getting the list of files from
tcl.
Allocate correct amount of memory for the file list.
Don't do any unecessary cleanups.
Jeff Law [Fri, 24 Jul 1998 21:52:43 +0000 (21:52 +0000)]
* gdb.disasm/am33.s: Add tests for autoincrement instructions.
* gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
to use a0-a3/d0-d3 as needed.
Ian Lance Taylor [Fri, 24 Jul 1998 21:52:03 +0000 (21:52 +0000)]
* stabs.texinfo (Method Type Descriptor): Expand and correct.
Michael Snyder [Fri, 24 Jul 1998 21:44:14 +0000 (21:44 +0000)]
Fri Jul 24 14:41:19 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* tracepoint.c (encode_actions): Treat register names and simple
variable names as special cases and don't convert them to byte-
codes: these things can be collected far more efficiently
without invoking the bytecode interpreter.
Jeff Law [Fri, 24 Jul 1998 21:23:35 +0000 (21:23 +0000)]
* m10300-dis.c: Do not emit a comma before a PLUS (autoincrement)
operand.
Ian Lance Taylor [Fri, 24 Jul 1998 21:13:43 +0000 (21:13 +0000)]
* config.sub: Merge with FSF.
Ian Lance Taylor [Fri, 24 Jul 1998 21:04:00 +0000 (21:04 +0000)]
* config.guess: Merge with FSF.
As part of this, the BePC entry is no longer sanitized, since it is
now in the FSF version of config.guess.
Nick Clifton [Fri, 24 Jul 1998 20:56:53 +0000 (20:56 +0000)]
Fix memory corruption due to generic_add_output_symbol being called after elf_map_symbols.
Mark Alexander [Fri, 24 Jul 1998 20:44:47 +0000 (20:44 +0000)]
* config/i386/tm-i386.h (STORE_STRUCT_RETURN): Make it
work on hosts of any endianness.
* config/i386/tm-i386v.h: Ditto.
Mark Alexander [Fri, 24 Jul 1998 20:38:43 +0000 (20:38 +0000)]
* config/i386/tm-i386.h (STORE_STRUCT_RETURN): Make it
work on hosts of any endianness.
Ian Lance Taylor [Fri, 24 Jul 1998 20:34:08 +0000 (20:34 +0000)]
tipo
Ian Lance Taylor [Fri, 24 Jul 1998 20:33:13 +0000 (20:33 +0000)]
* Makefile.am (install-exec-local): Don't remove the file before
checking whether $(bindir) == $(tooldir)/bin. From Maciej
W. Rozycki <macro@ds2.pg.gda.pl>.
* Makefile.in: Rebuild.
Ian Lance Taylor [Fri, 24 Jul 1998 20:29:01 +0000 (20:29 +0000)]
* Makefile.am (install-exec-local): Don't remove the file before
checking whether $(bindir) == $(tooldir)/bin. From "Maciej
W. Rozycki" <macro@ds2.pg.gda.pl>.
* Makefile.in: Rebuild.
Doug Evans [Fri, 24 Jul 1998 20:03:56 +0000 (20:03 +0000)]
* m32r.c: Include cgen-mem.h.
* traps.c (m32r_trap): Tweak for -Wall.
* m32rx.c: Include cgen-mem.h.
* semx.c: Regenerate, get -Wall cleanups.
Doug Evans [Fri, 24 Jul 1998 19:44:04 +0000 (19:44 +0000)]
* cgen-mem.h (DECLARE_SETT): Fix return type.
Ian Lance Taylor [Fri, 24 Jul 1998 19:16:35 +0000 (19:16 +0000)]
rebuild dependencies
Jeff Law [Fri, 24 Jul 1998 18:50:12 +0000 (18:50 +0000)]
* am33.igen (translate_xreg): New function. Use it as needed.
Doug Evans [Fri, 24 Jul 1998 18:45:58 +0000 (18:45 +0000)]
* cgen.h (cgen_macro_insn_count): Declare.
Doug Evans [Fri, 24 Jul 1998 18:45:13 +0000 (18:45 +0000)]
* m32r-asm.c,m32r-opc.c: Regenerate (-Wall cleanups).
Doug Evans [Fri, 24 Jul 1998 18:28:19 +0000 (18:28 +0000)]
* cgen.c: Include libiberty.h.
(cgen_md_apply_fix3): Update call to md_cgen_lookup_reloc.
(cgen_tc_gen_reloc): Use xmalloc, not bfd_alloc.
* cgen.h (cgen_md_apply_fix3,cgen_tc_gen_reloc): Declare.
(md_cgen_lookup_reloc)): Declare.
(md_cgen_record_fixup_exp): Declare.
* config/tc-m32r.h (md_pcrel_from_section): Declare.
(m32r_relax_frag): Declare.
(cgen_md_apply_fix3): Decls moved to cgen.h.
(cgen_record_fixup_exp,cgen_tc_gen_reloc): Ditto.
(m32r_cgen_record_fixup_exp): Delete decl.
* config/tc-m32r.c (m32r_cpu_desc): #if 0 out.
(assemble_nop): Delete.
(expand_debug_syms): Delete unused `exp'.
(md_cgen_lookup_reloc): Renamed from CGEN_SYM (lookup_reloc).
Add default case for -Wall.
(m32r_cgen_record_fixup_exp): Add default case for -Wall.
(md_atof): Delete unused wordP.
Jeff Law [Fri, 24 Jul 1998 18:24:31 +0000 (18:24 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Fix typo when relaxing
from 24bit operand to an 8bit operand.
Jeff Law [Fri, 24 Jul 1998 17:49:08 +0000 (17:49 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Do not relax "dmul",
"dmulu", "dmach", "dmachu" with 32bit operands.
Jeff Law [Fri, 24 Jul 1998 17:26:51 +0000 (17:26 +0000)]
* elf-m10300.c (mn10300_elf_howto): Add R_MN10300_24 entry.
(mn10300_elf_reloc_map): Similarly.
(mn10300_elf_final_link_relocate): Handle R_MN10300_24.
(mn10300_elf_relax_section): Support relaxing on the am33.
Jeff Law [Fri, 24 Jul 1998 17:22:50 +0000 (17:22 +0000)]
* mn10300.h: Add R_MN10300_24 relocation.
Doug Evans [Fri, 24 Jul 1998 17:16:02 +0000 (17:16 +0000)]
* sim-model.c (model_option_handler): Remove unused variable `n'.
Ian Lance Taylor [Fri, 24 Jul 1998 16:51:33 +0000 (16:51 +0000)]
start-sanitize-r5900
The value of R_MIPS15_S3 has changed:
* elf32-mips.c (elf_mips15_s3_howto): New static variable.
(mips_reloc_map): Remove BFD_RELOC_MIPS15_S3.
(bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS15_S3
specially.
(mips_info_to_howto_rel): Handle R_MIPS15_S3 specially.
(mips_elf_relocate_section): Check for R_MIPS15_S3.
end-sanitize-r5900
* elf32-mips.c (elf_mips_howto_table): Add reloc types used on
Irix 6.
(bfd_elf32_bfd_reloc_type_lookup): Add default case.
* elf64-mips.c: Replace all uses of mips_elf64_reloc_type with
elf_mips_reloc_type defined in elf/mips.h.
Doug Evans [Fri, 24 Jul 1998 16:44:43 +0000 (16:44 +0000)]
* Makefile.in (clean,mostlyclean): Change leading spaces to a tab.
Nick Clifton [Fri, 24 Jul 1998 16:40:56 +0000 (16:40 +0000)]
Remoe spurious header file inclusion.
Ulrich Drepper [Fri, 24 Jul 1998 16:39:19 +0000 (16:39 +0000)]
Remove reloc_type definition completely. It's now in elf/mips.h.
Ulrich Drepper [Fri, 24 Jul 1998 16:39:08 +0000 (16:39 +0000)]
Remove reloc_type definition completely. It's now in elf/mips.h.
Ulrich Drepper [Fri, 24 Jul 1998 16:38:32 +0000 (16:38 +0000)]
Add MIPS64 relocation names and values.
Doug Evans [Fri, 24 Jul 1998 16:18:22 +0000 (16:18 +0000)]
* config/tc-dvp.c (assemble_vif): Make label at start of overlay
a local label.
(create_vuoverlay_section): Put __start_ label at start of overlay
for gdb.
Ian Lance Taylor [Fri, 24 Jul 1998 16:01:28 +0000 (16:01 +0000)]
* configure.tgt: Recognize h8[35]00*-coff* as well as -hms*.
Doug Evans [Fri, 24 Jul 1998 15:48:47 +0000 (15:48 +0000)]
* mt-sky: New file.
Doug Evans [Fri, 24 Jul 1998 15:46:17 +0000 (15:46 +0000)]
* configure.in (mips64r5900-sky-elf*): Use config/mt-sky.
Set extraconfigdirs to build dvp-elf-as.
* configure (extraconfigdirs): New variable.
(SUBDIRS): Add extraconfigdirs and recurse on them too.
* Makefile.in (all): Move higher in file.
(EXTRA_TARGET_HOST_ALL_MODULES): New variable.
(EXTRA_TARGET_HOST_{INSTALL,CHECK}_MODULES): New variables.
(ALL_MODULES): Add EXTRA_TARGET_HOST_ALL_MODULES.
(CROSS_CHECK_MODULES): Add EXTRA_TARGET_HOST_CHECK_MODULES.
(INSTALL_MODULES): Add EXTRA_TARGET_HOST_INSTALL_MODULES.
Mark Alexander [Fri, 24 Jul 1998 14:48:41 +0000 (14:48 +0000)]
* mn10300-tdep.c (set_movm_offsets): New helper function
for mn10300_analyze_prologue.
(mn10300_analyze_prologue): Simplify by factoring out common code.
Fix bugs in setting frame address for optimized code.
Use read_memory_nobpt instead of target_read_memory.
Martin Hunt [Fri, 24 Jul 1998 08:09:03 +0000 (08:09 +0000)]
Fri Jul 24 01:08:37 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk-cmds.c (gdb_loadfile): When there are no
linenumbers, use only one tab.
Jeff Law [Fri, 24 Jul 1998 05:29:01 +0000 (05:29 +0000)]
* mips.h (R_MIPS16_S3): Change to a higher value.
Ian Lance Taylor [Fri, 24 Jul 1998 04:51:37 +0000 (04:51 +0000)]
remove d30v sanitization
Ian Lance Taylor [Fri, 24 Jul 1998 04:44:58 +0000 (04:44 +0000)]
remove d30v sanitization
Ian Lance Taylor [Fri, 24 Jul 1998 04:38:45 +0000 (04:38 +0000)]
remove d30v sanitization
Ian Lance Taylor [Fri, 24 Jul 1998 04:27:42 +0000 (04:27 +0000)]
remove d30v sanitization
Ian Lance Taylor [Fri, 24 Jul 1998 04:14:04 +0000 (04:14 +0000)]
remove d30v sanitization
Ian Lance Taylor [Fri, 24 Jul 1998 03:58:14 +0000 (03:58 +0000)]
remove d30v sanitization
Ian Lance Taylor [Fri, 24 Jul 1998 03:39:19 +0000 (03:39 +0000)]
remove d30v sanitization
Ian Lance Taylor [Fri, 24 Jul 1998 03:38:43 +0000 (03:38 +0000)]
rebuild
Michael Snyder [Fri, 24 Jul 1998 00:02:07 +0000 (00:02 +0000)]
Thu Jul 23 17:01:17 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* tracepoint.c (collect_symbol): handle LOC_ARG case.
Ian Lance Taylor [Thu, 23 Jul 1998 23:50:13 +0000 (23:50 +0000)]
remove d30v sanitization
Ian Lance Taylor [Thu, 23 Jul 1998 23:35:41 +0000 (23:35 +0000)]
rebuild
Ian Lance Taylor [Thu, 23 Jul 1998 23:21:17 +0000 (23:21 +0000)]
remove d30v sanitization
Dawn Perchik [Thu, 23 Jul 1998 22:14:48 +0000 (22:14 +0000)]
* sparc-tdep.c (sparc_init_extra_frame_info): Recognize when we're
in a function prologue before the SAVE instruction.
(sparc_frame_saved_pc): Ditto.
* config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Add in_prologue flag.
Dawn Perchik [Thu, 23 Jul 1998 21:59:49 +0000 (21:59 +0000)]
* i386-tdep.c (i386_get_frame_setup): Recognize function
prologues in code compiled with -fcheck-stack.
Ian Lance Taylor [Thu, 23 Jul 1998 21:49:12 +0000 (21:49 +0000)]
* configure.bat: Remove obsolete file.
* examples/configure.bat: Remove obsolete file.
Dawn Perchik [Thu, 23 Jul 1998 21:48:28 +0000 (21:48 +0000)]
* remote-mips.c (remote_mips_insert_hw_breakpoint,
remote_mips_remove_hw_breakpoint): New functions for hardware
breakpoints on LSI targets.
* config/mips/tm-embed.h (target_remove_hw_breakpoint,
target_insert_hw_breakpoint): Define to call
remote_mips_insert_hw_breakpoint and remote_mips_remove_hw_breakpoint,
respectively.
Doug Evans [Thu, 23 Jul 1998 20:37:42 +0000 (20:37 +0000)]
* elf64-mips.c (mips_elf64_reloc_type): #if 0 out more relocations
as they are defined in elf/mips.h now.
Brendan Kehoe [Thu, 23 Jul 1998 20:37:31 +0000 (20:37 +0000)]
* Makefile.in (all-target-libjava): Depend on all-gcc and
all-target-newlib.
(configure-target-libjava): Depend on $(ALL_GCC).
fix nightly build permanently to do the compiler before we do the libs.
Jeff Law [Thu, 23 Jul 1998 19:20:47 +0000 (19:20 +0000)]
* config/tc-mn10300.c (md_assemble): Make sure "errmsg" has a non-NULL
value.
Jeff Law [Thu, 23 Jul 1998 17:41:00 +0000 (17:41 +0000)]
* elf-m10300.c (compute_function_info): Keep track of stack space
needed by am33 movm instruction variant.
Jeff Law [Thu, 23 Jul 1998 17:30:54 +0000 (17:30 +0000)]
* Re-add lost change:
* elf-m10300.c (elf32_mn10300_link_hash_entry): Add new field
"movm_stack_size".
(mn10300_elf_relax_section): Include stack space for register saves
in the imm8 field of a "call" instruction.
(compute_function_info): Determine how much stack is allocated by
the movm instruction. Fix typo.
(elf32_mn10300_link_hash_newfunc): Initialize movm_stack_size.
Ian Carmichael [Thu, 23 Jul 1998 17:05:08 +0000 (17:05 +0000)]
* VU memory now accessed via kseg1.
Jeff Law [Thu, 23 Jul 1998 16:31:41 +0000 (16:31 +0000)]
* am33.igen: Add some missing instructions.
Missed a few last week... Grrr.
Ian Lance Taylor [Thu, 23 Jul 1998 16:31:01 +0000 (16:31 +0000)]
* scripttempl/aout.sc: If ALIGNMENT is defined, use it to set
alignment of end symbol.
* scripttempl/elf.sc: Likewise.
* emulparams/sun4.sh (ALIGNMENT): Define.
* emulparams/elf32_sparc.sh (ALIGNMENT): Define.
* ldint.texinfo (emulation parameters): Document ALIGNMENT.
Ian Lance Taylor [Thu, 23 Jul 1998 16:25:52 +0000 (16:25 +0000)]
rebuild
Ian Lance Taylor [Thu, 23 Jul 1998 16:24:15 +0000 (16:24 +0000)]
* ld-elfvers/vers.exp: Just check for i?86 rather than checking
for i386, i486, and i586.
(objdump_versionstuff): If we can't find the line, dump the file.
Jeff Law [Thu, 23 Jul 1998 16:06:50 +0000 (16:06 +0000)]
* am33.igen: Autoincrement loads/store fixes.
Jeff Law [Thu, 23 Jul 1998 15:52:27 +0000 (15:52 +0000)]
* gas/mn10300/am33_8.s: Test DSP autoincrement memory loads/stores.
* gas/mn10300/basic.exp: Corresponding changes.
Jeff Law [Thu, 23 Jul 1998 15:51:24 +0000 (15:51 +0000)]
* m10300-opc.c: Add DSP autoincrement memory loads/stores.
Ian Lance Taylor [Thu, 23 Jul 1998 15:40:18 +0000 (15:40 +0000)]
* elf32-sparc.c (elf_backend_got_header_size): Define as 4.
* elf64-sparc.c (elf_backend_got_header_size): Define as 8.
Jeff Law [Thu, 23 Jul 1998 15:23:16 +0000 (15:23 +0000)]
* gas/mn10300/am_*.s: Test autoincrement memory loads/stores.
* gas/mn10300/basic.exp: Corresponding changes.
Jeff Law [Thu, 23 Jul 1998 15:22:17 +0000 (15:22 +0000)]
* m10300-opc.c: Add autoincrement memory loads/stores.
Catherine Moore [Thu, 23 Jul 1998 00:32:11 +0000 (00:32 +0000)]
Wed Jul 22 19:29:00 Catherine Moore <clm@cygnus.com>
* arm.h: Rename relocations.
Ulrich Drepper [Thu, 23 Jul 1998 00:09:31 +0000 (00:09 +0000)]
Update.
Ulrich Drepper [Thu, 23 Jul 1998 00:08:44 +0000 (00:08 +0000)]
Consistantly use elf_ prefix for *_reloc_type functions.
Ulrich Drepper [Wed, 22 Jul 1998 23:46:33 +0000 (23:46 +0000)]
Update.
Nick Clifton [Wed, 22 Jul 1998 23:32:58 +0000 (23:32 +0000)]
Get relocation numbers from header files, rather than using built in
functions.
Nick Clifton [Wed, 22 Jul 1998 23:29:51 +0000 (23:29 +0000)]
Move reloc definitions into headers in include/elf
Nick Clifton [Wed, 22 Jul 1998 23:27:31 +0000 (23:27 +0000)]
Reloc macros tidied up. i386 and v850 reloc macros added.
New file created to contain reloc macros: reloc-macros.h
Jeff Law [Wed, 22 Jul 1998 23:07:38 +0000 (23:07 +0000)]
* mips-opc.c: Make phmadh and phmsbh synonyms for phmaddh and
phmsubh respectively.
pr16537
Ulrich Drepper [Wed, 22 Jul 1998 22:02:02 +0000 (22:02 +0000)]
Update.
Ulrich Drepper [Wed, 22 Jul 1998 22:01:56 +0000 (22:01 +0000)]
Rewrite relocation definition using macros.
Ulrich Drepper [Wed, 22 Jul 1998 22:00:20 +0000 (22:00 +0000)]
Remove definition of functions to return relocation symbol strings.
They now get implicitly defined when include the system specific ELF
header.
Ulrich Drepper [Wed, 22 Jul 1998 21:59:00 +0000 (21:59 +0000)]
Let ELF header now define the macros to get the enum.
Nick Clifton [Wed, 22 Jul 1998 20:58:50 +0000 (20:58 +0000)]
Chnage type from 'unsigned char' to 'unsigned int' to avoid K&R compatability issue.
Ulrich Drepper [Wed, 22 Jul 1998 20:55:31 +0000 (20:55 +0000)]
Before include system specific ELF header define
START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS. For now
used for ppc, mips, and mn10300.
Ulrich Drepper [Wed, 22 Jul 1998 20:50:46 +0000 (20:50 +0000)]
Fix typo.
Ian Lance Taylor [Wed, 22 Jul 1998 20:44:52 +0000 (20:44 +0000)]
* ieee.c (ieee_find_nearest_line): Change filename_ptr and
functionname_ptr to be const. Change line_ptr to be unsigned.
* coffcode.h (coff_link_output_has_begun): Simplify handling when
macro is not defined. Change second parameter from bfd_link_info
to coff_final_link_info. Add prototype.
(coff_final_link_postscript): Simplify handling when macro is not
defined. Add prototype.
Ulrich Drepper [Wed, 22 Jul 1998 20:40:28 +0000 (20:40 +0000)]
Before include system specific ELF header define
START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS.
Ulrich Drepper [Wed, 22 Jul 1998 20:40:09 +0000 (20:40 +0000)]
Rewrite relocation definition using macros.
Ulrich Drepper [Wed, 22 Jul 1998 20:11:54 +0000 (20:11 +0000)]
Rewrite relocation definition using macros.
Ulrich Drepper [Wed, 22 Jul 1998 20:11:16 +0000 (20:11 +0000)]
Before include system specific ELF header define
START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS.
Frank Ch. Eigler [Wed, 22 Jul 1998 18:38:27 +0000 (18:38 +0000)]
* Bringing over sky (dvp) gas change from branch.
Wed Jul 22 17:39:28 1998 Frank Ch. Eigler <fche@cygnus.com>
* config/tc-dvp.c (parse_float): Accept 0xhex constants
also for VU LOI operand.
Ian Lance Taylor [Wed, 22 Jul 1998 18:38:26 +0000 (18:38 +0000)]
* doc/as.texinfo: Add documentation for .end, .exitm, .fail,
.ifc, .ifeqs, .ifge, .ifgt, .ifle, .iflt, .ifnc, .ifne, .ifnes,
.print, .purgem, and .struct. Remove documentation for
.app-file.