David Edelsohn
fe2dd6424b
* cgen.h (<cpu>_cgen_assemble_insn): New arg for errmsg.
...
(cgen_asm_parse_operand_fn): Declare.
1997-04-10 21:55:09 +00:00
David Edelsohn
4e9d8deacb
* config/tc-m32r.c (md_begin): Set cgen_asm_parse_operand_fn.
...
(md_assemble): Call cgen_asm_init_parse.
Update call to m32r_cgen_assemble_insn, call as_bad if assembly failed.
1997-04-10 21:54:15 +00:00
David Edelsohn
841eff9e79
Tweak comment.
1997-04-10 21:51:01 +00:00
Geoffrey Noer
234a732de0
Thu Apr 10 13:20:53 1997 Geoffrey Noer <noer@cygnus.com>
...
* procfs.c: Substantial (but incomplete) changes to support
sysv4.2mp procfs as implemented in UnixWare 2.1. The procinfo
struct now has substructs like struct flt_ctl instead of
just a fltset_t and has a ctl_fd, status_fd, as_fd, and
map_fd instead of a single fd. Non-sysv4.2mp procfs models
still have the structs and multiple fds, but don't use the
entire struct and the four fds all point to the same thing.
We use PROCFS_USE_READ_WRITE to decide whether to talk to
procfs with reads/writes or use ioctl instead. We use
HAVE_MULTIPLE_PROC_FDS to determine whether procfs really has
multiple fds or not. PROC_NAME_FMT is split out into
CTL_PROC_NAME_FMT, AS_PROC_NAME_FMT, MAP_PROC_NAME_FMT,
STATUS_PROC_NAME_FMT.
(procfs_notice_signals): now a necessary wrapper around
(notice_signals): which are the new guts for noticing signals
(open_proc_file): gets a new flag arg used in sysv4.2mp to
determine whether or not to attempt to open the ctl_fd.
(procfs_read_status): new local function, reads procfs status
(procfs_write_pcwstop): new local function, writes a PCWSTOP
(procfs_write_pckill): new local function, writes a PCKILL
(unconditionally_kill_inferior): remove signo since we now
just call procfs_write_pckill().
(procfs_xfer_memory): call lseek with SEEK_SET rather than 0
(proc_iterate_over_mappings): the whole function is ifdefed
on UNIXWARE to keep things readable.
Expanded the syscall_table to include new potential sysv4.2mp
members. Note that all ifdefs of UNIXWARE should be eliminated
if possible or renamed to describe what's being selected for a
bit better. Sysv4.2mp and IRIX both have SYS_sproc so the
IRIX specific code now also checks it's not UNIXWARE.
* config/i386/tm-i386v42mp.h: also define HAVE_PSTATUS_T,
HAVE_NO_PRRUN_T, PROCFS_USE_READ_WRITE, and UNIXWARE
* config/mips/nm-irix4.h: set CTL_PROC_NAME_FMT et al to
"/debug/%d" as PROC_NAME_FMT used to be
1997-04-10 20:24:42 +00:00
Jeff Law
fc8d57c2dc
* mn10300-tdep.c: Almost completely rewritten based on mn10200
...
port.
* config/mn10300/tm-mn10300.h: Likewise.
=== gdb Summary ===
# of expected passes 3890
# of unexpected failures 8
# of expected failures 39
# of unresolved testcases 1
1997-04-09 17:43:26 +00:00
Ian Lance Taylor
47332446f5
Wed Apr 9 12:05:25 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* m68k-dis.c (print_insn_arg) [case 'd']: Print as address register,
not data register.
[case 'J']: Fix typo in register name.
1997-04-09 16:10:45 +00:00
Ian Lance Taylor
902a77ac80
* config/tc-m68k.c (m68k_ip): Handle #j.
1997-04-09 15:50:13 +00:00
Bob Manson
5f4c2f2db9
* gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
...
Don't call gdb_test when the command doesn't return to a gdb prompt.
Oops.
1997-04-09 05:54:15 +00:00
Bob Manson
614fb1b421
Fix typo.
1997-04-09 02:35:38 +00:00
Bob Manson
1a84b8b1b4
* lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratiutious
...
"Tests restarted" messages.
1997-04-09 02:35:07 +00:00
Michael Snyder
df04bd49f6
Remove mention of .Sanitize from ChangeLogs
1997-04-08 23:49:14 +00:00
Jeff Law
69f80b9d40
* gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
1997-04-08 22:50:33 +00:00
Jeff Law
967429536d
* config/tc-mn10300.c (md_convert_frag): Create fixup at the
...
right address for call label:32,regs,imm.
Fixes bug exposed by gdb testsuite.
1997-04-08 22:47:42 +00:00
Ian Lance Taylor
57a3027b38
Tue Apr 8 18:09:29 1997 Jamie Lokier <jamie@rebellion.co.uk>
...
* stabs.c (struct stab_section_info): New field
`cumulative_skips'.
(_bfd_link_section_stabs): Fill the above array.
(_bfd_stab_section_offset): Use `cumulative_skips' to
speed up offset calculation.
1997-04-08 22:10:27 +00:00
Stu Grossman
524f442b04
* config/pa/{hppabsd.mt hppahpux.mt hppaosf.mt}: Remove
...
remote-pa.o from TDEPFILES. Nobody uses it, and besides, it's a
lousy out-of-date clone of remote.c.
1997-04-08 17:50:50 +00:00
Jeff Law
6944401473
* elf32-mn10300.c (mn10300_elf_relax_section): Don't forget the
...
addend for non pc-relative relocations.
Bug exposed by testing relaxing linker.
1997-04-08 13:52:51 +00:00
Jeff Law
a01362cc63
* elf-m10300.c (bfd_elf32_mn10300_reloc): Remove prototype
...
for non-existent function.
Just something I noticed.
* elf-m10300.c (mn10300_elf_relax_section): New function.
(mn10300_elf_relax_delete_bytes): Likewise.
(mn10300_elf_symbol_address_p): Likewise.
(mn10300_elf_get_relocated_section_contents): Likewise.
(bfd_elf32_bfd_relax_section): Define.
(bfd_elf32_bfd_get_relocated_section_contents): Likewise.
Basic relaxing linker.
1997-04-08 06:08:29 +00:00
Jeff Law
81f13ed1f3
* simops.c (syscall): Handle new mn10300 calling conventions.
...
Forgot to check this in last week.
1997-04-08 06:01:20 +00:00
Michael Snyder
3ac09675e8
* .Sanitize: remove sanitization for m32r.
1997-04-08 00:55:42 +00:00
Michael Snyder
1397dff873
Mon Apr 7 17:46:23 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
...
* .Sanitize: remove sanitization for M32R target.
1997-04-08 00:51:12 +00:00
David Edelsohn
3990f1cdf3
Remove m32r sanitization.
1997-04-08 00:30:30 +00:00
David Edelsohn
038e48cf64
Remove m32r sanitization.
1997-04-07 23:01:27 +00:00
Jeff Law
e41369a45f
* config/tc-hppa.c (pa_subspace_start): If OBJ_ELF, then always return
...
zero.
* config/tc-hppa.h (tc_frob_symbol): Don't reset the value of the
symbol for OBJ_ELF anymore.
Fixes testsuite problem for hppa1.1-hp-*elf*.
1997-04-07 21:01:43 +00:00
Ian Lance Taylor
b4aa23f244
* configure.in: Substitute SHLIB_LIBS.
...
* configure: Rebuild.
* Makefile.in (SHLIB_LIBS): New variable.
($(SHLIB)): Use $(SHLIB_LIBS).
1997-04-07 21:01:00 +00:00
Ian Lance Taylor
418d5b058a
* configure.host: Set SHLIB_LIBS.
...
* configure.in: Substitute SHLIB_LIBS.
* configure: Rebuild.
* Makefile.in (SHLIB_LIBS): New variable.
($(SHLIB)): Use $(SHLIB_LIBS).
1997-04-07 21:00:31 +00:00
David Edelsohn
21b4ac1768
* cgen-dis.c (build_dis_hash_table): Fix xmalloc size computation.
1997-04-07 19:45:47 +00:00
David Edelsohn
70bb1aa163
* cgen-opc.c (hash_keyword_name): Improve algorithm.
1997-04-07 19:27:12 +00:00
Ian Lance Taylor
61e51cd730
* Makefile.in (distclean): Don't remove *.info files.
1997-04-07 19:24:32 +00:00
David Edelsohn
e4ba4112e3
* disassemble.c (disassembler): Handle m32r.
1997-04-07 18:46:21 +00:00
David Edelsohn
39ffbb4dcc
* Makefile.in: Regenerate dependencies.
...
(TARG_CPU): New variable.
(cgen.o): Depend on cgen.h, $(TARG_CPU)-opc.h.
(.dep1): Delete creating of cgen-opc.h.
(.tcdep): Put proper contents in cgen-opc.h.
* configure.in (m32r): Delete setting of extra_files, extra_links.
(AC_OUTPUT): Create cgen-opc.h.
* configure: Regenerated.
1997-04-07 18:38:33 +00:00
Michael Snyder
d9654a710e
Mon Apr 7 10:53:52 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
...
* bfd-in.h bfd-in2.h: add bfd_section_lma macro to correspond
with bfd_section_vma.
1997-04-07 17:56:18 +00:00
David Edelsohn
25a9c90b92
* sim-base.h (sim_state_base): Move `magic' to end of struct.
1997-04-07 17:47:38 +00:00
Andrew Cagney
b4d888275e
Check a program to run is present.
1997-04-07 06:07:13 +00:00
Andrew Cagney
08db4a658e
Get configure to define RETSIGTYPE
1997-04-07 05:58:59 +00:00
Andrew Cagney
2e4827348f
Build X11 targets before gcc/targetlib.
1997-04-07 05:37:46 +00:00
Andrew Cagney
7934ec88db
Use $(srcdir)/... instead of $< in make rules
1997-04-07 05:21:04 +00:00
Ian Lance Taylor
596c5b74fc
Sat Apr 5 13:19:12 1997 Klaus Kaempf <kkaempf@progis.de>
...
* makefile.vms: Update to build gasp.exe.
1997-04-05 18:20:59 +00:00
Ian Lance Taylor
c0d7b5346d
* i386.h: Revert last patch for the NON_BROKEN_OPCODES cases.
1997-04-05 18:15:32 +00:00
David Edelsohn
c8cf7e1737
* write.c (relax_frag): Make non-static.
...
* write.h (relax_frag): Add prototype for.
* config/tc-m32r.h (md_do_align): New arg `max'.
* config/tc-m32r.c (m32r_do_align): Likewise.
Update calls to frag_align, frag_align_pattern.
(fill_insn): Update call to m32r_do_align.
(m32r_scomm): Update call to frag_align.
1997-04-05 02:34:40 +00:00
Ian Lance Taylor
ea553f5643
* Makefile.in: Change mn10300-opc.o to m10300-opc.o, to match
...
corresponding change in opcodes directory.
1997-04-05 01:03:01 +00:00
Ian Lance Taylor
e358a062c9
* configure.in: Correct file names for bfd_mn10[23]00_arch.
...
* configure: Rebuild.
1997-04-05 00:57:46 +00:00
Ian Lance Taylor
b872076e96
* configure.in: Update file names for bfd_elf32_mn10[23]00_vec.
...
Correct CPU file names for mn10[23]00.
* configure: Rebuild.
1997-04-05 00:52:15 +00:00
David Edelsohn
403c708e0a
* frags.c (frag_var): fr_pcrel_adjust renamed to
...
fr_targ.ns32k.pcrel_adjust. fr_bsr renamed to fr_targ.ns32k.bsr.
(frag_variant): Likewise.
* Makefile.in: Tweak last entry, cgen.o is in extra_objects!
1997-04-05 00:35:29 +00:00
David Edelsohn
374bdac737
* config/tc-m32r.[ch]: New files.
...
* cgen.c: New file.
* Makefile.in (CPU_TYPES): Add m32r.
(CFILES): Add cgen.c.
(TARGET_CPU_CFILES): Add tc-m32r.c.
(TARGET_CPU_HFILES): Add tc-m32r.h.
(OBJS): Add cgen.o.
(DISTCLEAN_HERE): Add cgen-opc.h.
(.dep1,.tcdep): Create empty cgen-opc.h.
(cgen.o): Add dependencies.
(dependencies): Regenerate.
* as.h (struct frag): New member fr_targ.
(fr_pcrel_adjust,fr_bsr): Move into union fr_targ.ns32k.
* conf.in (USING_CGEN): New macro.
* configure.in (m32r-*-*): Add entry for.
* configure: Regenerate.
* write.c (relax_frag): fr_pcrel_adjust renamed to
fr_targ.ns32k.pcrel_adjust.
* config/tc-ns32k.c (*): Likewise.
fr_bsr renamed to fr_targ.ns32k.bsr.
1997-04-05 00:21:26 +00:00
David Edelsohn
9f719a5652
m32r support.
1997-04-05 00:09:41 +00:00
Ian Lance Taylor
5c57b91389
* gas/all/float.s: Put a tab before .text, to keep the PA happy.
1997-04-04 22:50:43 +00:00
Ian Lance Taylor
dc966dadf7
* config/tc-hppa.h (TC_EOL_IN_INSN): Check explicitly for '!',
...
rather than for any end of line character.
1997-04-04 22:49:21 +00:00
Ian Lance Taylor
5c11dba28a
* config/tc-hppa.c (tc_gen_reloc): If hppa_ren_reloc_type fails,
...
call abort (i.e., as_abort) rather than crashing.
1997-04-04 22:48:24 +00:00
Ian Lance Taylor
8d5f01200f
* gas/arm/arm.exp: Only run inst and arm7t on targets which can
...
handle -EL. Add setup_xfail for thumb.
1997-04-04 21:57:17 +00:00
Ian Lance Taylor
457a20b54a
* config/tc-mips.c: Protect uses of STO_MIPS16 with an ifdef of
...
OBJ_ELF, rather than of S_GET_OTHER.
1997-04-04 21:12:50 +00:00