Andrew Cagney [Sun, 13 Dec 1998 23:28:46 +0000 (23:28 +0000)]
CARP:
Re-do TARGET_PRINT_INSN_INFO, TARGET_PRINT_INSN, TARGET_ARCHITECTURE,
TARGET_ARCHITECTURE_AUTO, TARGET_BYTE_ORDER_SELECTABLE_P,
TARGET_BYTE_ORDER so that they can all be overriden.
Document.
Convert mn10300 and PPC targets.
Gavin Romig-Koch [Sun, 13 Dec 1998 16:14:24 +0000 (16:14 +0000)]
for bfd:
* archures.c,bfd-in2.h (bfd_mach_mips4121): New.
* cpu-mips.c: Added vr4121.
* elf32-mips.c (elf_mips_mach): Same.
(_bfd_mips_elf_final_write_processing): Same.
for gas:
* config/tc-mips.c (mips_4121): New.
(md_begin,mips_ip,md_longopts,md_parse_option): Add vr4121.
for gcc:
* config/mips/mips.c (override_options): Add vr4121.
* config/mips/t-vr4xxx (MULTILIB_MATCHES): Same.
for include/elf:
* mips.h (E_MIPS_MACH_4121): New.
for include/opcode:
* mips.h (INSN_4121): New.
for opcodes:
* mips-dis.c (set_mips_isa_type): Add bfd_mach_mips4121.
(_print_insn_mips): Same.
* mips-opc.c: Add vr4121.
for sim/mips:
* configure.in,mips.igen,vr.igen: Add vr4121.
* configure: Rebuilt.
Doug Evans [Sun, 13 Dec 1998 01:33:24 +0000 (01:33 +0000)]
* Makefile.am (PROGS,bin_PROGRAMS): Add @BUILD_MISC@
(link.c,link.o,link): New rules.
* Makefile.in: Rebuild.
* configure.in (vpu-elf): Build `link' cover script if vpu-elf.
(BUILD_MISC): New variable, for target specific hacks (in the worst
sense of the word).
(AC_OUTPUT): Handle building of `link.c'.
* configure: Rebuild.
* link.c.in: New file.
bring over from sky-980617 branch.
link script converted to .c so sanitize with automake/autoconf is simpler
Gavin Romig-Koch [Sat, 12 Dec 1998 22:43:54 +0000 (22:43 +0000)]
* configure.in (mips64vr4xxx): Enable TARGET_ENABLE_FR.
Set mips_fpu, and mips_fpu_bitsize.
Set sim_gen, and sim_igen_machine.
* configure: Rebuild.
* mips.igen (BC1): Renamed to BC1a and BC1b to avoid conflicts.
* sim-main.h (SizeFGR): Handle TARGET_ENABLE_FR.
Gavin Romig-Koch [Sat, 12 Dec 1998 22:22:11 +0000 (22:22 +0000)]
elf32-mips.c (_bfd_mips_elf_final_write_processing): Handle bfd_mach_mips4300.
Doug Evans [Sat, 12 Dec 1998 17:07:24 +0000 (17:07 +0000)]
* config.bfd (mips64el-skyb-elf): added new target
Andrew Cagney [Sat, 12 Dec 1998 02:50:39 +0000 (02:50 +0000)]
CARP: Mechanism to replace EXTRA_FRAME_INFO.
Add two pointers (saved_regs, extra_info) to struct frame_info.
Introduce new macro FRAME_INIT_SAVED_REGS which replaces
FRAME_FIND_SAVED_REGS.
Document.
Use in mn10300 and rs6000 targets. Fix side effects on ALPHA, MIPS,
Z8K and SPARC targets.
Doug Evans [Sat, 12 Dec 1998 01:10:41 +0000 (01:10 +0000)]
Fri Aug 21 18:13:28 EDT 1998 Jim Lemke <jlemke@cygnus.com>
* configure.in (mips64el-skyb-elf): Use fragment mt-skyb and
exclude target-libiberty, target-libg++, etc.
* config/mt-skyb: Do not install gcc, g++, libc, libgcc, etc.
Mon Aug 10 23:04:56 EDT 1998 Jim Lemke <jlemke@cygnus.com>
* config.sub (vpu-elf): Add a "marketing name" for mips64el-skyb-elf.
Mon Aug 10 18:59:42 EDT 1998 Jim Lemke <jlemke@cygnus.com>
* configure.in (mips64el-skyb-elf): added new target
Bring over from sky-980617-branch.
Jeff Law [Fri, 11 Dec 1998 22:53:20 +0000 (22:53 +0000)]
* txvu-tdep.c (set_vxtu_prompt): Rename set_prompt.
Fernando Nasser [Fri, 11 Dec 1998 21:17:56 +0000 (21:17 +0000)]
1998-12-11 Fernando Nasser <fnasser@cygnus.com>
From J.T. Conklin <jtc@redbacknetworks.com>:
* i386-stub.c (handle_exception): Add support for 'P' command.
(NUMREGS): New macro.
Tom Tromey [Fri, 11 Dec 1998 18:56:32 +0000 (18:56 +0000)]
* Makefile.in (configure-target-libjava): Depend on
configure-target-newlib.
(configure-target-boehm-gc): New target.
(configure-target-qthreads): New target.
Jason Molenda [Fri, 11 Dec 1998 18:47:33 +0000 (18:47 +0000)]
1998-12-11 Jeff Law (law@cygnus.com)
* configure.in (with-sim-gpu2): Do not emit a -L argument without
an associated pathname. Link in the math library after the gpu2
library.
Assumes that libm is around (and doesn't take advantage of the
AC_CHECK_LIB(m) that is already in configure.in), but this is a
minor point and unlikely to cause problems.
Ulrich Drepper [Fri, 11 Dec 1998 17:14:50 +0000 (17:14 +0000)]
Update.
Gavin Romig-Koch [Fri, 11 Dec 1998 15:18:54 +0000 (15:18 +0000)]
Cleanups.
Ken Raeburn [Fri, 11 Dec 1998 07:55:04 +0000 (07:55 +0000)]
h8300: tweak "opcode not available in h8/300 mode" message
Andrew Cagney [Fri, 11 Dec 1998 06:00:55 +0000 (06:00 +0000)]
Compare with ZERO not NULL.
Andrew Cagney [Fri, 11 Dec 1998 01:30:59 +0000 (01:30 +0000)]
Fix compiler warnings on FreeBSD.
Dave Brolley [Thu, 10 Dec 1998 23:48:37 +0000 (23:48 +0000)]
Thu Dec 10 18:46:25 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30/div0s.cgs: New testcase.
* sim/fr30/div0u.cgs: New testcase.
* sim/fr30/div1.cgs: New testcase.
* sim/fr30/div2.cgs: New testcase.
* sim/fr30/div3.cgs: New testcase.
* sim/fr30/div4s.cgs: New testcase.
* sim/fr30/testutils.inc (mvi_h_dr,set_dbits,test_dbits): New Macros.
Dave Brolley [Thu, 10 Dec 1998 23:41:58 +0000 (23:41 +0000)]
Thu Dec 10 18:39:46 1998 Dave Brolley <brolley@cygnus.com>
* fr30-opc.c,fr30-opc.h: Regenerated.
Jeff Law [Thu, 10 Dec 1998 23:36:40 +0000 (23:36 +0000)]
Fixes.
Frank Ch. Eigler [Thu, 10 Dec 1998 23:20:48 +0000 (23:20 +0000)]
* Fix for endianness bugs in tx39 sio sim.
1998-12-10 Frank Ch. Eigler <fche@cygnus.com>
* dv-tx3904sio.c (tx3904sio_io_read_buffer): Endianness fixes.
(tx3904sio_tickle): fflush after a stdout character output.
Jeff Law [Thu, 10 Dec 1998 23:20:47 +0000 (23:20 +0000)]
Add missing sanitize markers.
Andrew Cagney [Thu, 10 Dec 1998 23:07:24 +0000 (23:07 +0000)]
CARP:
More replace reg_name[] with REGISTER_NAME().
Ulrich Drepper [Thu, 10 Dec 1998 22:48:35 +0000 (22:48 +0000)]
Update.
Ulrich Drepper [Thu, 10 Dec 1998 22:47:25 +0000 (22:47 +0000)]
(elf_i386_relocate_section): Don't fail relocations in debug sections
for symbol defined externally.
David Taylor [Thu, 10 Dec 1998 21:25:43 +0000 (21:25 +0000)]
Start of HP merge changes to GDB.
Doug Evans [Thu, 10 Dec 1998 21:20:00 +0000 (21:20 +0000)]
* gas/mips/vu0.[sd]: Update vmtir testcases.
Doug Evans [Thu, 10 Dec 1998 20:50:29 +0000 (20:50 +0000)]
* m32r-opc.c: Regenerate.
Doug Evans [Thu, 10 Dec 1998 19:36:01 +0000 (19:36 +0000)]
Bring over forgotten changelog entry from sky-980617-branch.
Thu Jul 23 18:31:03 1998 Frank Ch. Eigler <fche@cygnus.com>
* gas/dvp/upper-[12].[sd]: Test two-operand CLIP; remove
old one-operand CLIP.
Doug Evans [Thu, 10 Dec 1998 19:27:27 +0000 (19:27 +0000)]
* gas/dvp/lower-2.[sd]: Handle label as immediate data.
* gas/dvp/gifimage-1.[sd]: Add testcases for EOP.
* gas/dvp/upper-[12].[sd]: Test two-operand CLIP; remove
old one-operand CLIP.
Bring over from sky-980617-branch.
Ian Lance Taylor [Thu, 10 Dec 1998 16:16:08 +0000 (16:16 +0000)]
Thu Dec 10 11:12:28 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* Makefile.am (ALL_EMULATIONS): Remove pe-dll.o and deffilep.o.
(ALL_EMUL_EXTRA_OFILES): New variable. Put them here instead.
* configure.in: Set EMUL_EXTRA_OFILES to $(ALL_EMUL_EXTRA_OFILES)
if configuring with all targets.
* configure, Makefile.in, aclocal.m4: Rebuild.
* emultempl/pe.em (pe_enable_stdcall_fixup): Make static.
(pe_dll_do_default_excludes): Removed, unused.
(pe_def_file, pe_dll_export_everything, pe_dll_kill_ats,
pe_dll_stdcall_aliases): Don't initialize them, this file may be
compiled more than once.
* pe-dll.c (pe_def_file, pe_dll_export_everything,
pe_dll_do_default_excludes, pe_dll_kill_ats,
pe_dll_stdcall_aliases): Define and initialize them here instead.
(generate_reloc): Fix allocation of reloc_addresses array to use
bfd_vma instead of unsigned long. Fix element size in qsort call.
(reloc_sort): Compare pointers to bfd_vma instead of unsigned
long.
Ian Lance Taylor [Thu, 10 Dec 1998 16:01:06 +0000 (16:01 +0000)]
* targets.c (bfd_target_vector): Remove duplicate entry for
tekhex_vec.
Nick Clifton [Thu, 10 Dec 1998 12:04:21 +0000 (12:04 +0000)]
Add line separator character.
Andrew Cagney [Thu, 10 Dec 1998 06:54:36 +0000 (06:54 +0000)]
Include "sim-assert.h".
Andrew Cagney [Thu, 10 Dec 1998 06:10:03 +0000 (06:10 +0000)]
CARP:
Rename REGISTER_NAMES{} -> REGISTER_NAME().
Doug Evans [Thu, 10 Dec 1998 04:19:50 +0000 (04:19 +0000)]
* config/tc-mips.c (append_insn): Don't move INSN_SYNC
instructions into delay slot.
Bring over from sky-980617-branch.
Doug Evans [Thu, 10 Dec 1998 01:19:52 +0000 (01:19 +0000)]
* config/tc-dvp.h (md_end): Define.
* config/tc-dvp.c (dvp_end): New function.
Bring over from sky-980617-branch.
Doug Evans [Thu, 10 Dec 1998 00:03:43 +0000 (00:03 +0000)]
* mips-opc.c (sync*): Flag these instructions with INSN_SYNC.
Doug Evans [Wed, 9 Dec 1998 23:50:06 +0000 (23:50 +0000)]
* mips.h (INSN_SYNC): New flag.
Doug Evans [Wed, 9 Dec 1998 23:28:41 +0000 (23:28 +0000)]
bring changes over from sky-980617-branch
Doug Evans [Wed, 9 Dec 1998 23:10:52 +0000 (23:10 +0000)]
* mips-opc.c (mips_builtin_opcodes): Update vmtir syntax.
* dvp-opc.c (vu_lower_opcodes): Update mtir entry.
(extract_ffstreg): Fix calculation of reg part of returned value.
PR 18402
Jim Blandy [Wed, 9 Dec 1998 21:25:05 +0000 (21:25 +0000)]
Keep agentexpr.texi.
Jeff Law [Wed, 9 Dec 1998 21:04:28 +0000 (21:04 +0000)]
* gas/vtable/vtable.exp: Do not run these tests for the dvp assembler.
Doug Evans [Wed, 9 Dec 1998 20:44:30 +0000 (20:44 +0000)]
* cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
* cpux.h,decodex.c,semx-switch.c: Regenerate.
Jeff Law [Wed, 9 Dec 1998 19:33:06 +0000 (19:33 +0000)]
* config/tc-mips.c (gpr_interlocks): The r5900 always has
gpr interlocks.
Fixes minor assembler testsuite failure on the r5900.
Doug Evans [Wed, 9 Dec 1998 18:18:15 +0000 (18:18 +0000)]
* sim-if.c: Include string.h or strings.h if present.
Doug Evans [Wed, 9 Dec 1998 18:09:55 +0000 (18:09 +0000)]
* cgen-scache.c (scache_flush): Delete unused locals i,sc.
Doug Evans [Wed, 9 Dec 1998 18:07:26 +0000 (18:07 +0000)]
* sim-trace.c: Include stdlib.h if present.
Doug Evans [Wed, 9 Dec 1998 18:03:24 +0000 (18:03 +0000)]
* sim-arange.c: Include libiberty.h, and stdlib.h if present.
Doug Evans [Wed, 9 Dec 1998 17:56:41 +0000 (17:56 +0000)]
* dv-sockser.c: Include unistd.h if present.
(dv_sockser_init): Add missing arg to call to sim_io_eprintf.
David Taylor [Wed, 9 Dec 1998 16:08:26 +0000 (16:08 +0000)]
define completer_chars so that opcodes/hppa-dis.c compiles.
Nick Clifton [Wed, 9 Dec 1998 10:26:33 +0000 (10:26 +0000)]
Fix generic relocs to work as RELAs not RELs.
Jim Wilson [Wed, 9 Dec 1998 06:54:51 +0000 (06:54 +0000)]
Link with i960 simulator.
* config/i960/mon960.mt (SIM_OBJS, SIM): Define.
Jim Wilson [Wed, 9 Dec 1998 06:52:14 +0000 (06:52 +0000)]
i960 simulator.
* configure.in (i960-*-*): Add.
* configure: Rebuild.
Jim Wilson [Wed, 9 Dec 1998 06:41:29 +0000 (06:41 +0000)]
Add i960 support to sim/common.
* gennltvals.sh: Add i960.
* nltvals.def: Rebuild.
Ian Lance Taylor [Wed, 9 Dec 1998 03:23:25 +0000 (03:23 +0000)]
SCO Open Server Release 5 core file support, from Jouke Numan
<jnuman@hiscom.nl>:
* sco5-core.c: New file.
* configure.in (i[3456]86-*-sco3.2v5*): Use sco5-core.lo.
(sco5-core.lo): Define SCO5_CORE in COREFLAG.
* Makefile.am: Rebuild dependencies.
(OPTIONAL_BACKENDS): Add sco5-core.lo.
(OPTIONAL_BACKENDS_CFILES): Add sco5-core.c.
* bfd.c (struct _bfd): Add sco5_core_data field to tdata.
* targets.c (sco5_core_vec): Add to target list if SCO5_CORE.
* bfd-in2.h, configure, Makefile.in: Rebuild.
Jeff Law [Wed, 9 Dec 1998 01:29:11 +0000 (01:29 +0000)]
Fixes.
Jeff Law [Wed, 9 Dec 1998 01:02:26 +0000 (01:02 +0000)]
Fixes.
Ian Lance Taylor [Wed, 9 Dec 1998 00:55:55 +0000 (00:55 +0000)]
Tue Dec 8 19:51:50 1998 Mark Klein <mklein@dis.com>
* configure.in (hppa-*-mpeix*): New target.
* config/obj-som.h (obj_som_compiler): Declare.
* config/obj-som.c (compiler_seen): New static variable.
(obj_som_compiler): New function.
* config/tc-hppa.c: Update tc_data uses for change to bfd/som.h.
(md_pseudo_table): Add "compiler" if OBJ_SOM.
(pa_type_args): Set hppa_priv_level.
(pa_compiler): New static function if OBJ_SOM.
* configure: Rebuild.
Stan Shebs [Wed, 9 Dec 1998 00:51:48 +0000 (00:51 +0000)]
* NEWS: Add mentions of newly-added configurations.
Ian Lance Taylor [Wed, 9 Dec 1998 00:49:31 +0000 (00:49 +0000)]
Tue Dec 8 19:38:42 1998 Mark Klein <mklein@dis.com>
* config.bfd (hppa*-*-mpeix*): New target.
* configure.in: Add AC_HEADER_DIRENT.
(hppa*-*-mpeix*): New target.
* configure.host (hppa*-*-mpeix*): New host.
* hpux-core.c: Check HOST_HPPAMPEIX. Use HAVE_DIRENT_H and
friends rather than just including <sys/dir.h>.
* som.h (struct som_symbol): Add hppa_priv_level and apto
tc_data. Change all users.
(struct somdata): Add comp_unit field.
(obj_som_compilation_unit): Define.
(bfd_som_attach_compilation_unix): Declare.
* som.c: Check HOST_HPPAMPEIX.
(struct som_misc_symbol_info): Add new field priv_level.
(som_object_setup): Add current_offset parameter. Change all
callers.
(setup_sections): Likewise.
(som_object_p): For EXECLIBMAGIC, read the lst header.
(som_write_symbol_strings): Add compilation_unit parameter.
Change all callers.
(som_finish_writing): Write out compilation_unit.
(som_bfd_derive_misc_symbol_info): Set priv_level.
(som_build_and_write_symbol_table): Set xleast field to 3.
(som_slurp_symbol_table): Set symbol priv_level.
(bfd_som_attach_compilation_unit): New function.
(som_bfd_ar_write_symbol_stuff): Set xleast field to 3. Set
priv_level into symbol_value.
* configure, config.in: Rebuild.
Jason Molenda [Wed, 9 Dec 1998 00:38:46 +0000 (00:38 +0000)]
1998-12-08 Philippe De Muyter <phdm@macqel.be>
* config/xm-aix4.h (SIGWINCH_HANDLER): Function `aix_resize_window'
must accept a signal number as parameter.
* config/rs6000/xm-rs6000.h (SIGWINCH_HANDLER): Ditto.
* utils.c (initialize_utils): Give a parameter to `SIGWINCH_HANDLER'.
* inferior.h (register_valid): Variable's type is `SIGNED char', not
`char'.
* findvar.c (register_valid): Ditto.
* defs.h (make_cleanup_func): Protect parameter list by `PARAMS'.
* gdbthread.h (unbind_target_thread_vector): Likewise.
Jeff Law [Tue, 8 Dec 1998 22:52:54 +0000 (22:52 +0000)]
Fixes.
Jeff Law [Tue, 8 Dec 1998 22:51:49 +0000 (22:51 +0000)]
*** empty log message ***
Jeff Law [Tue, 8 Dec 1998 22:01:16 +0000 (22:01 +0000)]
Keep restore.c and restore.exp
Edith Epstein [Tue, 8 Dec 1998 21:57:35 +0000 (21:57 +0000)]
Tue Dec 8 15:09:44 1998 Edith Epstein <eepstein@sophia.cygnus.com>
Merged in m68k-linux patch from Andreas Schwab
1998-12-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* Makefile.in, configure.host, configure.tgt: Add support for
m68k-linux.
* config/m68k/linux.mh: New file.
* config/m68k/linux.mt: New file.
* config/m68k/nm-linux.h: New file.
* config/m68k/tm-linux.h: New file.
* config/m68k/xm-linux.h: New file.
* gdb/m68klinux-nat.c: New file.
* gdbserver/low-linux.c: Add support for m68k-linux.
* gdb/config/m68k/tm-m68k.h (NUM_FREGS): New macro.
Ian Lance Taylor [Tue, 8 Dec 1998 21:55:15 +0000 (21:55 +0000)]
* libbfd.c (COERCE32): Cast through unsigned long and long to
avoid bug in old version of gcc.
Ian Lance Taylor [Tue, 8 Dec 1998 21:30:59 +0000 (21:30 +0000)]
* objdump.1: Fix typo (-d to -D). From Nokubi Hirotaka
<hnokubi@yyy.or.jp>.
Ian Lance Taylor [Tue, 8 Dec 1998 21:22:47 +0000 (21:22 +0000)]
* elf64-alpha.c (elf64_alpha_additional_program_headers): Remove.
(elf_backend_additional_program_headers): Don't define.
Edith Epstein [Tue, 8 Dec 1998 20:41:19 +0000 (20:41 +0000)]
Tue Dec 8 15:09:44 1998 Edith Epstein <eepstein@sophia.cygnus.com>
* config/m68k/tm-m68k.h (NUM_FREGS): m68k-linux patch.
Added NUM_FREGS macro.
* config/m68k/xm-linux.h: m68k-linux patch. New file.
* config/m68k/tm-linux.h: m68k-linux patch. New file.
* config/m68k/nm-linux.h: m68k-linux patch. New file.
* config/m68k/linux.mt: m68k-linux patch. New file.
* config/m68k/linux.mh: m68k-linux patch. New file.
* gdbserver/low-linux.c: m68k-linux patch. Added an ifdef
that checks the value of __GLIBC to decide whether or
not to include sys/reg.h.
* m68klinux-nat.c: m68k-linux patch. New file. Note
both m68k-tdep.c and m68klinux-nat.c contain definitions
for supply_gregset and supply_fpregset. The definitions
in m68k-tdep.c are valid is USE_PROC_FS is defined. Otherwise,
the definitions in m68klinux-nat.c will be used. This is a
bit of a hack. The supply_* routines do not belong in
*_tdep.c files. But, there are several lynx ports that currently
depend on these definitions.
* configure.tgt: m68k-linux patch. Added m68*-*-linux*
gdb_target.
* configure.host: m68k-linux patch. Added m68*-*-linux*
gdb_host.
* Makefile.in: m68k-linux patch. Added compile line for
m68klinux-nat.o
Ian Lance Taylor [Tue, 8 Dec 1998 20:01:58 +0000 (20:01 +0000)]
* read.c (output_leb128): Don't mark as inline.
David Taylor [Tue, 8 Dec 1998 19:01:34 +0000 (19:01 +0000)]
(generic_strcat_address): reformat to GNU coding
conventions. change sprintf call to an sprintf_vma call.
Dave Brolley [Tue, 8 Dec 1998 18:22:44 +0000 (18:22 +0000)]
Tue Dec 8 13:16:53 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30/testutils.inc (set_s_user): Correct Mask.
(set_s_system): Correct Mask.
* sim/fr30/ld.cgs (ld): Move previously failing test back
into place.
* sim/fr30/ldm0.cgs: New testcase.
* sim/fr30/ldm1.cgs: New testcase.
* sim/fr30/stm0.cgs: New testcase.
* sim/fr30/stm1.cgs: New testcase.
Dave Brolley [Tue, 8 Dec 1998 18:22:25 +0000 (18:22 +0000)]
Tue Dec 8 13:16:53 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30/ldm0.cgs: New testcase.
* sim/fr30/ldm1.cgs: New testcase.
* sim/fr30/stm0.cgs: New testcase.
* sim/fr30/stm1.cgs: New testcase.
Dave Brolley [Tue, 8 Dec 1998 18:19:13 +0000 (18:19 +0000)]
Tue Dec 8 13:16:53 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30/testutils.inc (set_s_user): Correct Mask.
(set_s_system): Correct Mask.
* sim/fr30/ld.cgs (ld): Move previously failing test back
into place.
Dave Brolley [Tue, 8 Dec 1998 18:14:38 +0000 (18:14 +0000)]
Tue Dec 8 13:12:44 1998 Dave Brolley <brolley@cygnus.com>
* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.
Andrew Macleod [Tue, 8 Dec 1998 17:05:38 +0000 (17:05 +0000)]
* config/tc-ppc.c (ppc_vbyte): Prototype and new function for
AIX .vbyte unaligned data support.
(md_pseudo_table): Add 'vbyte' to list of valid pseudos.
(ppc_elf_validate_fix): Add eh_frame to list of ELF relocatable
sections.
David Taylor [Tue, 8 Dec 1998 16:33:13 +0000 (16:33 +0000)]
The following changes were made by Jim Blandy
<jimb@zwingli.cygnus.com> and David Taylor
<taylor@texas.cygnus.com> as part of a project to merge in changes
made by HP; HP did not create ChangeLog entries.
* config/mp-enable-tui: New file.
(TUI_CFLAGS): Search devo's include directory, as long as we're
totally ruining modularity.
(INCLUDE_SRCDIR): New var.
(GDB_TUI_SRCDIR): Fix syntax error.
* configure.in: Check the --enable-tui flag; if it's set, include
a makefile fragment that #defines TUI and adds the needed #include
directories.
(*-*-hpux*): New host; use sysdep-hpux.h.
* Makefile.in (.c.o): Check the variable set in the makefile
fragment above.
* display.c (term_goto): declare it.
(insert_some_chars): set it.
(delete_chars): set it.
* readline.c: add tui include files surrounded by TUI.
(rl_reset): new function, move some of rl_abort functionality to
here.
(rl_abort): call rl_reset.
(rl_getc): tui changes.
(init_terminal_io): tui changes.
* readline.h (tui_version, fputc_unfiltered, fputs_unfiltered,
tui_tputs): declare if TUI is defined.
* rltty.c (prepare_terminal_settings): additional comment.
* signals.c: add tui include files surrounded by TUI. move #if
and #endif to column 1 so HP's compiler will accept them. Remove
declaration of tuiDoAndReturnToTop since it's declared in tui.h.
(rl_handle_sigwinch): call tuiDoAndReturnToTop if TUI defined.
(rl_handle_sigwinch_on_clear): define if TUI defined.
(rl_set_signals): if TUI, avoid infinite recursion.
(rl_clear_signals): install rl_handle_sigwinch_on_clear.
* sysdep-hpux.h: New file.
David Taylor [Tue, 8 Dec 1998 15:54:10 +0000 (15:54 +0000)]
The following changes were made by
Elena Zannoni <ezannoni@kwikemart.cygnus.com>,
David Taylor <taylor@texas.cygnus.com>, and
Edith Epstein <eepstein@sophia.cygnus.com> as part of a project to
merge in changes by HP; HP did not create ChangeLog entries.
* dis-buf.c (generic_strcat_address): new function.
* hppa-dis.c: Changes to improve hppa disassembly.
Changed formatting in : reg_names, fp_reg_names,control_reg,
New variables : sign_extension_names, deposit_names, conversion_names
float_test_names, compare_cond_names_double, add_cond_names_double,
logical_cond_names_double, unit_cond_names_double,
branch_push_pop_names, saturation_names, shift_names, mix_names,
New Macros : GET_COMPL_O, GET_PUSH_POP,MERGED_REG
Move some definitions to libhppa.h: GET_FIELD, GET_BIT
(fput_const): renamed as fput_hex_const
(print_insn_hppa):
- use the macros fputs_filtered and
fput_decimal_const whenever possible; calls to sign_extend require
2 params -- add a missing second param of 0.
- Some new code ifdefed for LOCAL_ONLY, all related to figuring out
architecture version number of current machine. HP folks are
trying to handle situation where the target program was compiled
for PA 1.x (32-bit), but is running on a PA 2.0 machine and
visa versa.
- added new cases : 'g', 'B', 'm'
- added cases specifically for PA 2.0
- changed the following cases : '"', 'n', 'N', 'p', 'Z',
- calls to fput_const become calls to fput_hex_const
Nick Clifton [Tue, 8 Dec 1998 15:44:06 +0000 (15:44 +0000)]
Fix pc relative relocs.
David Taylor [Tue, 8 Dec 1998 15:44:05 +0000 (15:44 +0000)]
HP merge changes by David Taylor, Edith Epstein, Jim Blandy, and Elena
Zannoni.
* hpux-core.c (hpux_core_core_file_p): this function now
understands HPUX 10.30 thread info. Yes, the thread stacks can be
found in the corefile! Also, in hpux_core_core_file_p, if we
encounter a section with an unknown type, don't punt. Instead,
just skip it. Also, count the number of sections of known type
that we encounter. If we encounter at least one good one, then
we'll declare that the file is a core file. If we encounter any
unknown ones but some known ones, then we'll issue a warning (but
still declare it to be a core file). Also, correctly decide when a
file is not a core.
(PROC_INFO_HAS_THREAD_ID): define if CORE_ANON_SHMEM defined.
(CORE_ANON_SHMEM): define if not defined.
(hpux_core_struct): add members lwpid and user_tid.
(core_kernel_thread_id, core_user_thread_id): new macros.
(make_bfd_asection): use bfd_alloc to allocate room for a copy of
the name before storing it in the bfd.
(hpux_core_core_file_p): handle threads.
* libhppa.h (GET_FIELD): protect against redefinition.
(HPPA_WIDE): define.
(GET_FIELD): define.
(GET_BIT): define.
(MASK): define.
(CATENATE): define.
(ELEVEN): define.
(sign_extend): redefine.
(assemble_6): define.
(assemble_12): rewrite.
(assemble_16): define.
(assemble_16a): define.
(assemble_17): rewrite.
(assemble_22): define.
Frank Ch. Eigler [Tue, 8 Dec 1998 12:23:26 +0000 (12:23 +0000)]
* sky->devo merge, final part of sim merge
[ChangeLog.sky]
1998-12-08 Frank Ch. Eigler <fche@cygnus.com>
* sim-main.h (sim_state): Add multi-phase load tracking fields.
* sky-gdb.c (sky_option_handler): Add --load-next option handling.
* mips.igen (BREAK): Add multi-phase load and printf code handling.
Frank Ch. Eigler [Tue, 8 Dec 1998 08:53:58 +0000 (08:53 +0000)]
* Test case for PR 18452.
1998-12-08 Frank Ch. Eigler <fche@cygnus.com>
* do-2wordops.S: New test for double-word load-like operations.
Jim Wilson [Tue, 8 Dec 1998 07:40:07 +0000 (07:40 +0000)]
i960 cgen simulator support.
* Makefile.am (CFILES): Add i960c-asm, i960c-dis.c, i960c-opc.c.
(ALL_MACHINES): Add i960c-asm.lo, i960c-dis.lo, i960-opc.lo.
start-sanitize-cygnus
(CLEANFILES): Add stamp-i960.
(I960_DEPS): Define.
(i960c-opc.h, i960c-opc.c, i960c-asm.c, i960c-dis.c, stamp-i960):
New makefile rules.
end-sanitize-cygnus
(i960-asm.lo, i960c-dis.lo, i960c-opc.lo): New Makefile rules.
* Makefile.in: Rebuilt.
* configure.in (bfd_i960_arch): Add i960c-opc.lo, i960-asm.o,
i960-dis.c to ta.
* i960-dis.c (print_insn_i960): Rename to print_insn_i960_orig.
* i960c-asm.c, i960c-dis.c, i960c-opc.c, i960c-opc.h: New files.
Ian Lance Taylor [Tue, 8 Dec 1998 02:11:38 +0000 (02:11 +0000)]
Mon Dec 7 21:10:09 1998 J.J. van der Heijden <j.j.vanderheijden@student.utwente.nl>
* configure.tgt (i[3456]86-*-mingw32*): Add cygwin target specific
files.
Jim Blandy [Mon, 7 Dec 1998 23:15:12 +0000 (23:15 +0000)]
*** empty log message ***
Jason Molenda [Mon, 7 Dec 1998 23:07:17 +0000 (23:07 +0000)]
1998-12-07 Jason Molenda (jsm@bugshack.cygnus.com)
* config/i386/xm-cygwin.h: Remove REQUEST_QUIT definition.
* config/powerpc/xm-cygwin.h: Ditto.
PR 17664.
With this define in place, you can't type "q" to get out of GDB's pager
under Cygwin.
Jim Blandy [Mon, 7 Dec 1998 20:28:54 +0000 (20:28 +0000)]
* rs6000-tdep.c (pop_frame): Correctly find the registers saved in
the stack frame. Their offset from the previous stack frame is in
fdata.gpr_offset and fdata.fpr_offset, not fdata.offset.
(gdb.base/return.exp)
* config/rs6000/tm-rs6000.h: Doc fixes.
Jim Blandy [Mon, 7 Dec 1998 20:28:31 +0000 (20:28 +0000)]
*** empty log message ***
Dave Brolley [Mon, 7 Dec 1998 19:34:45 +0000 (19:34 +0000)]
Mon Dec 7 14:33:44 1998 Dave Brolley <brolley@cygnus.com>
* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.
Nick Clifton [Mon, 7 Dec 1998 15:54:34 +0000 (15:54 +0000)]
Imrpve handling of erroneous input.
Catherine Moore [Mon, 7 Dec 1998 15:54:33 +0000 (15:54 +0000)]
Check for BFD_RELOC_ARM_PCREL_BRANCH in elf32_arm_force_relocation.
Nick Clifton [Mon, 7 Dec 1998 13:23:17 +0000 (13:23 +0000)]
Use signed values for signed relocaitons.
Ian Lance Taylor [Mon, 7 Dec 1998 03:41:40 +0000 (03:41 +0000)]
* configure.in: Define TARGET_BYTES_{BIG,LITTLE}_ENDIAN after
checking the target type.
(mips-dec-bsd*): Set endian to little.
* configure: Rebuild.
Ian Lance Taylor [Mon, 7 Dec 1998 03:39:20 +0000 (03:39 +0000)]
* mipsbsd.c (MY(set_arch_mach)): Make static.
* aoutx.h (NAME(aout,machine_type)): For bfd_arch_mips, use
bfd_mach_mips* macros rather than simple numbers.
Ian Lance Taylor [Mon, 7 Dec 1998 02:58:45 +0000 (02:58 +0000)]
* gprof.texi (Symspecs): Mention that you have to add any
underscore yourself when naming a symbol.
Ian Lance Taylor [Mon, 7 Dec 1998 02:47:22 +0000 (02:47 +0000)]
COFF weak symbol support, based on patches from Mark Elbrecht
<snowball3@usa.net>:
* coffcode.h (coff_slurp_symbol_table): Handle C_WEAKEXT.
* coffgen.c (coff_renumber_symbols): Handle weak symbols.
(coff_write_alien_symbol): Likewise.
* cofflink.c (coff_link_check_ar_symbols): Likewise.
(coff_link_add_symbols): Likewise.
(_bfd_coff_link_input_bfd): Likewise.
(_bfd_coff_write_global_sym): Likewise.
Ian Lance Taylor [Mon, 7 Dec 1998 02:46:56 +0000 (02:46 +0000)]
COFF weak symbol support, based on patches from Mark Elbrecht
<snowball3@usa.net>:
* config/obj-coff.h (S_IS_WEAK): Define if not BFD_ASSEMBLER.
* config/obj-coff.c (obj_coff_weak): New static function.
(obj_coff_endef) [both versions]: Handle weak symbols.
(coff_frob_symbol): Likewise.
(yank_symbols): Likewise.
(obj_pseudo_table): Add "weak".
Ian Lance Taylor [Mon, 7 Dec 1998 01:07:02 +0000 (01:07 +0000)]
* objdump.c (SFILE): Add size field.
(objdump_sprintf): Merge both versions into one. Increase buffer
size as needed to avoid overflow.
(disassemble_bytes): Change buf from 1000 bytes to 50. Change
initialization and use of sfile to match changes to
objdump_sprintf.
Ian Lance Taylor [Mon, 7 Dec 1998 00:33:13 +0000 (00:33 +0000)]
* elf.c (copy_private_bfd_data): Always initialize the
includes_phdrs field.