Ian Lance Taylor [Tue, 16 Apr 1996 17:46:54 +0000 (17:46 +0000)]
* coffgen.c (bfd_coff_get_syment): New function.
(bfd_coff_get_auxent): New function.
* bfd-in.h (bfd_coff_get_syment): Declare.
(bfd_coff_get_auxent): Declare.
* bfd-in2.h: Rebuild.
Michael Meissner [Tue, 16 Apr 1996 15:19:51 +0000 (15:19 +0000)]
Add clean-apache rule
Michael Meissner [Tue, 16 Apr 1996 14:48:02 +0000 (14:48 +0000)]
Add Solaris/linux support
Michael Meissner [Tue, 16 Apr 1996 14:41:45 +0000 (14:41 +0000)]
Add -m{,no-}regnames support; Add Solaris/linux support
Per Bothner [Mon, 15 Apr 1996 23:45:51 +0000 (23:45 +0000)]
* stabsread.c (read_type): Move handling of '@' from type
number handling to handling of types proper (as emitted by gcc!).
For typedefs, allocate the typedef type before reading its
definition, to properly handling recursive types.
This fixes PR 9434.
Ian Lance Taylor [Mon, 15 Apr 1996 23:10:52 +0000 (23:10 +0000)]
* elf32-mips.c (struct mips_hi16): Define.
(mips_hi16_addr, mips_hi16_addend): Remove.
(mips_hi16_list): New static variable.
(mips_elf_hi16_reloc): Maintain a list of unmatched HI16 relocs.
(mips_elf_lo16_reloc): Process mips_hi16_list.
(mips_elf_relocate_section): Permit an arbitrary number of HI16
relocs before the associated LO16 reloc.
Ian Lance Taylor [Mon, 15 Apr 1996 23:01:50 +0000 (23:01 +0000)]
* config/tc-mips.c (mips_frob_file): Permit multiple %hi relocs to
be associated with a single %lo reloc.
David Edelsohn [Mon, 15 Apr 1996 22:57:02 +0000 (22:57 +0000)]
* nlmconv.c (choose_temp_base{,_try}): Delete, in libiberty now.
(link_inputs): Update call to choose_temp_base.
Ian Lance Taylor [Mon, 15 Apr 1996 21:29:27 +0000 (21:29 +0000)]
* gas/mips/la.d: Updated for April 5 MIPS assembler changes.
* gas/mips/lb.d, gas/mips/ld.d, gas/mips/sb.d: Likewise.
* gas/mips/uld.d, gas/mips/ulh.d, gas/mips/ulw.d: Likewise.
* gas/mips/usd.d, gas/mips/ush.d, gas/mips/usw.d: Likewise.
Tom Tromey [Mon, 15 Apr 1996 21:14:30 +0000 (21:14 +0000)]
* Makefile.in (ALL_MODULES): Include all-apache.
(CROSS_CHECK_MODULES): Include check-apache.
(INSTALL_MODULES): Include install-apache.
(all-apache): New target.
* configure.in: Added apache everywhere perl is seen.
Rob Savoye [Mon, 15 Apr 1996 20:53:00 +0000 (20:53 +0000)]
* scripttempl/aout.sc: Add PROVIDE (__stack = 0) so I can use it
in m68k/crt0.S without things blowing up.
Michael Meissner [Mon, 15 Apr 1996 19:12:30 +0000 (19:12 +0000)]
Add clean-{module} support
Jeff Law [Mon, 15 Apr 1996 17:17:19 +0000 (17:17 +0000)]
* ch-exp.c (calculate_array_length): Fix prototype.
So gdb will build with non-ansi compilers.
Ian Lance Taylor [Mon, 15 Apr 1996 16:28:19 +0000 (16:28 +0000)]
* config/tc-mips.c (load_address): Cast X_add_number to valueT
before comparing against MAX_GPREL_OFFSET, so that negative
numbers are handled correctly.
(macro): Likewise.
Stu Grossman [Sat, 13 Apr 1996 21:33:59 +0000 (21:33 +0000)]
* remote-nindy.c (nindy_open): Acquire more target state so that
user can attach to a previously running program.
* (nindy_fetch_registers nindy_store_registers): Get rid of fp
conversion code. That's all handled in {extract store}_floating
now.
* utils.c (floatformat_to_double): Don't bias exponent when
handling zero's, denorms or NaNs.
* config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
REGISTER_CONVERT_TO_RAW): Change to using DOUBLST and
FLOATFORMAT_TO/FROM_DOUBLEST macros.
* config/i960/tm-nindy960.h: Undefine
REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, and
REGISTER_CONVERTIBLE. These are no longer necessary now that all
the magic happens in extract/store_floating.
Peter Schauer [Sat, 13 Apr 1996 10:01:49 +0000 (10:01 +0000)]
* eval.c (evaluate_subexp_standard): Report error when attempting to
evaluate subscripts for types which cannot be subscripted.
* valarith.c (value_x_binop, value_x_unop): Add noside parameter.
Return a zero value with the return type of the member function
if noside is EVAL_AVOID_SIDE_EFFECTS instead of calling the member
function.
* values.h (value_x_binop, value_x_unop): Update prototypes
accordingly.
* eval.c (evaluate_subexp_standard): Update all callers of
value_x_binop, value_x_unop accordingly.
* valarith.c (value_neg, value_complement): Perform ANSI C/C++
integral promotion on operands.
Fred Fish [Sat, 13 Apr 1996 04:38:55 +0000 (04:38 +0000)]
* README: Update for 4.16 release.
* configure.in (AC_CHECK_FUNCS): Also check for sbrk.
* configure: Regenerate with autoconf.
* config.in: Regenerate with autoheader.
* main.c (main): Only use sbrk() when HAVE_SBRK is defined.
* top.c (command_loop): Ditto.
Rob Savoye [Fri, 12 Apr 1996 22:47:01 +0000 (22:47 +0000)]
* scripttempl/m68kcoff.sc: Remove default address for .data so
.text, .data, and .bss are all sequential.
Jeff Law [Fri, 12 Apr 1996 22:42:03 +0000 (22:42 +0000)]
* compile.c (sim_load): Re-allocate memory for the simulator
here.
HMSE.
Stu Grossman [Fri, 12 Apr 1996 16:53:08 +0000 (16:53 +0000)]
* defs.h: Define TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT
defaults for bi-endian targets. Replace function pointers for
floatformat routines with macros. No need for these to be runtime
selectable.
* findvar.c: Get rid of floatformat function pointers. Use
macros in extract_floating and store_floating.
* remote-nindy.c (nindy_fetch_registers nindy_store_registers):
Use floatformat macros.
Jeff Law [Fri, 12 Apr 1996 15:38:08 +0000 (15:38 +0000)]
* compile.c (sim_resume): Fix and simplify overflow and carry
handling for 32bit ALU insns.
Fred Fish [Fri, 12 Apr 1996 06:15:16 +0000 (06:15 +0000)]
* config/nm-m3.h (ATTACH_NO_WAIT): Define.
Fred Fish [Fri, 12 Apr 1996 06:14:46 +0000 (06:14 +0000)]
From: Miles Bader <miles@gnu.ai.mit.edu>
* configure.in (AC_CHECK_HEADERS): check for endian.h.
Use AC_CHECK_TOOL to find AR & RANLIB. Add AC_PROG_AWK.
Add host & target cases for i[345]86-*-gnu*.
* config.in: Regenerate with autoheader.
* configure: Regenerate with autoconf.
* Makefile.in (AR, AWK): Set from corresponding autoconf substs.
(init.c): Don't scan mig-generated files.
* defs.h (endian.h): Include if HAVE_ENDIAN_H defined.
* config/nm-m3.h (ATTACH_NO_WAIT): Define.
* infcmd.c (attach_command): Use "#ifndef ATTACH_NO_WAIT"
rather than "#ifndef MACH".
Stan Shebs [Fri, 12 Apr 1996 01:58:39 +0000 (01:58 +0000)]
* remote.c (remotewritesize): New GDB variable, controls size
of memory packets sent to the target.
Ian Lance Taylor [Thu, 11 Apr 1996 21:35:01 +0000 (21:35 +0000)]
* config/tc-sparc.c (last_insn): New static variable.
(md_assemble): Warn about putting floating point branches in a
delay slot. If architecture is less than v9, insert NOP
instructions between floating point instructions and floating
point branches. (The SunOS assembler does both these operations.)
Save the last instruction opcode.
(sparc_ip): Add pinsn parameter. Change caller.
PR 355.
Ian Lance Taylor [Thu, 11 Apr 1996 21:31:03 +0000 (21:31 +0000)]
* sparc-opc.c: Set F_FBR on floating point branch instructions.
Set F_FLOAT on other floating point instructions.
PR 355.
Ian Lance Taylor [Thu, 11 Apr 1996 21:28:49 +0000 (21:28 +0000)]
* sparc.h (F_FLOAT, F_FBR): Define.
PR 355.
Stu Grossman [Thu, 11 Apr 1996 21:17:45 +0000 (21:17 +0000)]
* dcache.c: Add prototypes. Make many functions static.
* (dcache_peek dcache_fetch dcache_poke): Make dcache_fetch and
dcache_poke call dcache_xfer_memory directly in order to fix
problems with turning off dcache. dcache_peek is now unnecessary,
so it goes away.
* defs.h: Define new macros HOST_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT
and TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT to specify a pointer
to a struct floatformat. This allows for better handling of
targets whose floating point formats differ from the host by more
than just byte order.
* (floatformat_to_long_double floatformat_from_long_double):
Prototypes for new functions in utils.c.
* (floatformat_to_doublest floatformat_from_doublest): Prototypes
for pointers to floating point conversion functions. The actual
function uses either double or long double if the host supports it.
* findvar.c (floatformat_to_doublest floatformat_from_doublest):
Initialize to point at correct function depending on HAVE_LONG_DOUBLE.
* (extract_floating store_floating): Rewrite. Now, if host fp
format is the same as the target, we just do a copy. Otherwise,
we call floatformat_{to from}_doublest.
* remote-nindy.c (nindy_xfer_inferior_memory): Change param
`write' to `should_write'.
* utils.c (floatformat_to_long_double
floatformat_from_long_double): New routines that implement long
double versions of functions in libiberty/floatformat.c.
* config/i960/tm-i960.h (TARGET_LONG_DOUBLE_FORMAT): Define this for
i960 extended real (80 bit) numbers.
* nindy-share/nindy.c (ninMemGet ninMemPut): Return number of bytes
actually read or written.
Ian Lance Taylor [Thu, 11 Apr 1996 16:44:19 +0000 (16:44 +0000)]
fix typo in comment
Ian Lance Taylor [Thu, 11 Apr 1996 16:41:48 +0000 (16:41 +0000)]
* config/tc-m68k.c (md_estimate_size_before_relax): Correct check
for byte jump to next instruction to skip empty frags.
PR 7044.
Ian Lance Taylor [Thu, 11 Apr 1996 16:07:40 +0000 (16:07 +0000)]
* scripttempl/m68kcoff.sc: Remove regions and simplify.
Marilyn Sander [Thu, 11 Apr 1996 04:44:32 +0000 (04:44 +0000)]
Propagating 96q2 fix in progressive for bug 12 back into devo
Ian Lance Taylor [Wed, 10 Apr 1996 20:50:02 +0000 (20:50 +0000)]
* config/tc-alpha.c (alpha_ip): If we are going to call emit_add64
for addq with a 16 bit signed value, just emit a lda instruction
instead.
PR 6982.
Jeff Law [Wed, 10 Apr 1996 20:40:24 +0000 (20:40 +0000)]
* scripttempl/h8300.sc: Add the "8-bit area" in the upper 256
bytes of the address space. Put data from the ".eight" sections
into the 8-bit area.
* scripttempl/h8300h.sc: Likewise.
8-bit area changes for hmse.
Jeff Law [Wed, 10 Apr 1996 20:33:58 +0000 (20:33 +0000)]
* config/tc-h8300.c (do_a_fix_imm): Don't cut off high bits
of a 32bit operand.
Fix for mov32bug.s.
Jeff Law [Wed, 10 Apr 1996 20:26:19 +0000 (20:26 +0000)]
* gas/h8300/mov32bug.s: New test.
* gas/h8300/h8300.exp: Run it.
Testcase for c-torture failure caused by a gas bug.
Ian Lance Taylor [Wed, 10 Apr 1996 18:21:08 +0000 (18:21 +0000)]
* versados.c (versados_scan): Check bfd_alloc return value.
(versados_object_p): Check all bfd_read return values. Require
that lang field be less than 10, to avoid confusion with Intel Hex
files.
Ian Lance Taylor [Wed, 10 Apr 1996 18:11:00 +0000 (18:11 +0000)]
* libaout.h (WRITE_HEADERS): Write out the relocs even if there
aren't any symbols.
* aoutx.h (NAME(aout,swap_std_reloc_out)): Set r_index to N_ABS,
not 0, for an absolute symbol.
(NAME(aout,swap_ext_reloc_out)): Likewise.
PR 7387.
Ian Lance Taylor [Wed, 10 Apr 1996 17:01:35 +0000 (17:01 +0000)]
* ihex.c (ihex_scan): Accept a length of 4 for record type 5.
(ihex_write_object_contents): For a large start address, output
the full 32 bit address in record type 5.
PR 9422.
Wilfried Moser [Wed, 10 Apr 1996 10:01:30 +0000 (10:01 +0000)]
* ch-valprint.c (chill_val_print): Remove call to calculate_array_length.
(calculate_array_length): Move function from here ...
* ch-exp.c (calculate_array_length): ... to here.
(parse_primval): If we have a symbol with an array type
and the length is 0, call calculate_array_length.
Jackie Smith Cashion [Wed, 10 Apr 1996 08:53:24 +0000 (08:53 +0000)]
Wed Apr 10 09:51:38 1996 James G. Smith <jsmith@cygnus.co.uk>
* interp.c (sim_do_command): Complain if callback structure not
initialised.
Ian Lance Taylor [Wed, 10 Apr 1996 04:26:18 +0000 (04:26 +0000)]
* ieee.c (ieee_write_byte): Change second parameter from bfd_byte
to int to avoid promotion problems in prototype.
David Edelsohn [Tue, 9 Apr 1996 21:11:51 +0000 (21:11 +0000)]
* emultempl/generic.em (gld${EMULATION_NAME}_before_parse):
Pass $ARCH to ldfile_set_output_arch instead of setting
ldfile_output_architecture directly.
Ian Lance Taylor [Tue, 9 Apr 1996 20:36:27 +0000 (20:36 +0000)]
* ld.texinfo: Rearrange option documentation.
Ian Lance Taylor [Tue, 9 Apr 1996 19:30:06 +0000 (19:30 +0000)]
tweak last change
Ian Lance Taylor [Tue, 9 Apr 1996 19:20:04 +0000 (19:20 +0000)]
* lexsup.c (ld_options): New static array.
(parse_args): Build shortopts and longopts from ld_options array.
(help): New static function.
* ldver.h (help): Don't declare.
* ldver.c (ldversion): Reindent.
(help): Remove.
Michael Meissner [Tue, 9 Apr 1996 18:23:54 +0000 (18:23 +0000)]
Put .init/.fini in correct places.
Ian Lance Taylor [Tue, 9 Apr 1996 16:19:51 +0000 (16:19 +0000)]
* ld.texinfo, ld.1: Mention -E as a synonym for -export-dynamic.
Ian Lance Taylor [Tue, 9 Apr 1996 16:09:14 +0000 (16:09 +0000)]
* configure.host: Use ${srcdir} when looking for picfrag.
Ian Lance Taylor [Tue, 9 Apr 1996 16:01:26 +0000 (16:01 +0000)]
* configure.host: Switch on ${libdir}, not $(libdir). From
alan@spri.levels.unisa.edu.au (Alan Modra).
Ian Lance Taylor [Tue, 9 Apr 1996 15:46:41 +0000 (15:46 +0000)]
* aoutx.h (aout_link_add_symbols): Always call add_dynamic_symbols
entry point, not just for DYNAMIC objects.
* sunos.c (sunos_add_dynamic_symbols): Always call
sunos_create_dynamic_sections. If called with a non DYNAMIC
object, don't do anything else.
(sunos_add_one_symbol): Don't call sunos_create_dynamic_sections.
Wilfried Moser [Tue, 9 Apr 1996 08:28:50 +0000 (08:28 +0000)]
* eval.c (evaluate_subexp_standard): In case of TYPE_CODE_SET:
Add some checks for powerset compatibility.
* valops.c (value_slice): Use lowbound instead of lowerbound for
call to slice_range_type to get correct bounds.
Wilfried Moser [Tue, 9 Apr 1996 08:19:58 +0000 (08:19 +0000)]
* gch981.{ch,exp}, gch1041.{ch,exp}: New test cases.
Fred Fish [Tue, 9 Apr 1996 06:09:33 +0000 (06:09 +0000)]
* Makefile.in (scm-exp.o, scm-lang.o, scm-valprint.o): Add targets and
dependencies.
* scm-lang.c (gdb_string.h): Include.
* objfiles.c (add_to_objfile_sections): Cast second arg of obstack_grow
call to correct type (char *).
* cp-valprint.c (cp_print_static_field): Ditto.
* somsolib.c (som_solib_create_inferior_hook): Add a declaration
for external find_unwind_entry function (from hppa-tdep.c).
* remote-pa.c (remote_write_bytes, remote_read_bytes): Change
type of second arg to "char *" to be type compatible with
dcache.
(remote_wait): Cast second arg to strtol to correct type.
* hppa-tdep.c (compare_unwind_entries): Change argument types to
"const void *" to be type compatible with qsort, and then
assign to local args prior to use.
Jeff Law [Tue, 9 Apr 1996 05:57:15 +0000 (05:57 +0000)]
* compile.c (sim_resume): Fix overflow checks for ALU insns.
So that int-compare.c passes.
Jeff Law [Mon, 8 Apr 1996 21:34:12 +0000 (21:34 +0000)]
* infptrace.c (kill_inferior): Remove call to "kill"; update
comments.
The "kill" call was declared bogus years ago and is causing problems
on hpux10 (PR 9410).
Geoffrey Noer [Mon, 8 Apr 1996 21:08:38 +0000 (21:08 +0000)]
Modified remote-e7000.c so that :23 isn't appended to the target port
if __WIN32__ is defined. This is necessary to make e7000 support work
for WinGDB.
Michael Meissner [Mon, 8 Apr 1996 21:07:28 +0000 (21:07 +0000)]
Add 860 specific registers
Ian Lance Taylor [Mon, 8 Apr 1996 20:27:38 +0000 (20:27 +0000)]
formatting change
Michael Meissner [Mon, 8 Apr 1996 20:21:37 +0000 (20:21 +0000)]
Add Solaris on PowerPC support
Ian Lance Taylor [Mon, 8 Apr 1996 20:03:53 +0000 (20:03 +0000)]
* emultempl/elf32.em: When checking for a native emulation, check
that the current emulation is the default emulation.
* emultempl/sunos.em: Likewise.
Ian Lance Taylor [Mon, 8 Apr 1996 19:33:54 +0000 (19:33 +0000)]
fix last patch
Ian Lance Taylor [Mon, 8 Apr 1996 18:46:26 +0000 (18:46 +0000)]
* configure.in: Permit --enable-shared to specify a list of
directories.
Ian Lance Taylor [Mon, 8 Apr 1996 18:45:08 +0000 (18:45 +0000)]
* configure.in: Permit --enable-shared to specify a list of
directories.
* configure: Rebuild.
Ian Lance Taylor [Mon, 8 Apr 1996 18:33:43 +0000 (18:33 +0000)]
Use BFD_PICLIST.
Ian Lance Taylor [Mon, 8 Apr 1996 18:01:49 +0000 (18:01 +0000)]
* configure.in: Permit --enable-shared to specify a list of
directories.
* configure: Rebuild.
Ian Lance Taylor [Mon, 8 Apr 1996 16:22:17 +0000 (16:22 +0000)]
* configure.host: Set HLDFLAGS and SHLIB_CFLAGS for *-dec-osf*
host when configuring with --enable-shard.
Ian Lance Taylor [Mon, 8 Apr 1996 15:57:57 +0000 (15:57 +0000)]
* lexsup.c (parse_args): Add -E as a synonym for -export-dynamic,
for HP/UX compatibility.
Fred Fish [Mon, 8 Apr 1996 05:50:30 +0000 (05:50 +0000)]
From: Miles Bader <miles@gnu.ai.mit.edu>
* gnu-nat.c, gnu-nat.h, msg.defs, exc_request.defs, i386gnu-nat.c,
msg_reply.defs, notify.defs, process_reply.defs, reply_mig_hack.awk,
config/nm-gnu.h, config/i386/{i386gnu.mh, i386gnu.mt, nm-gnu.h,
m-i386gnu.h, xm-i386gnu.h}: New files for GNU hurd.
Fred Fish [Mon, 8 Apr 1996 05:20:25 +0000 (05:20 +0000)]
* configure.in (*-*-gnu*): New host.
Fred Fish [Mon, 8 Apr 1996 05:09:57 +0000 (05:09 +0000)]
From: Miles Bader <miles@gnu.ai.mit.edu>
* config/mh-gnu: New file.
Fred Fish [Mon, 8 Apr 1996 04:56:53 +0000 (04:56 +0000)]
From: Miles Bader <miles@gnu.ai.mit.edu>
* configure.in: Use AC_CHECK_TOOL to find AR & RANLIB.
* configure: Regenerate using autoconf.
Fred Fish [Sun, 7 Apr 1996 21:04:21 +0000 (21:04 +0000)]
* configure.in (case host): Add i386sco5 host.
* configure: Regenerate.
From: Robert Lipe <robertl@dgii.com>
Add support for SCO OpenServer 5 (a.k.a. 3.2v5*) This
target is an SVR3.2 with COFF, ELF, and shared libes, but
no /proc.
* config/i386/i386sco5.mh: New file.
* config/i386/nm-i386sco5.h: New file.
Fred Fish [Sun, 7 Apr 1996 21:00:40 +0000 (21:00 +0000)]
From: Robert Lipe <robertl@dgii.com>
* configure.in: SCO OpenServer 5 (a.k.a 3.2v5*) is more like
SCO 3.2v4 than 3.2v2.
Fred Fish [Sat, 6 Apr 1996 17:40:03 +0000 (17:40 +0000)]
* bcache.c (bcache): When size of chunk to cache is exactly equal to
BCACHE_MAXLENGTH, stash chunk as unique copy.
Fred Fish [Sat, 6 Apr 1996 10:19:19 +0000 (10:19 +0000)]
* symfile.c (INLINE_ADD_PSYMBOL): Remove ifdef.
(add_psymbol_to_list): Add an arg for passing CORE_ADDR values and
use it, rather than calling add_psymbol_addr_to_list.
(add_psymbol_addr_to_list): Delete.
(add_psymbol_to_list): Make psymbol static to avoid random data in
gaps due to alignment of structure members.
* symfile.h (INLINE_ADD_PSYMBOL, ADD_PSYMBOL_TO_LIST,
ADD_PSYMBOL_ADDR_TO_LIST): Remove. Real world tests show no
performance improvements by inlining via complicated macros and
they just make gdb larger and harder to maintain.
* dwarfread.c (add_enum_psymbol): Replace ADD_PSYMBOL_TO_LIST
and/or ADD_PSYMBOL_ADDR_TO_LIST macro(s) with call to
add_psymbol_to_list with appropriate long or CORE_ADDR args.
(add_partial_symbol): Ditto.
* partial-stab.h: Ditto.
* os9kread.c (read_os9k_psymtab): Ditto
* mdebugread.c (parse_partial_symbols): Ditto.
(handle_psymbol_enumerators): Ditto.
(demangle.h): Include.
* hpread.c (hpread_build_psymtabs): Ditto.
(hpread_build_psymtabs): Ditto.
(demangle.h): Include
Jeff Law [Sat, 6 Apr 1996 00:21:35 +0000 (00:21 +0000)]
* compile.c (decode): Use "bit" to hold L_3 immediates instead
of holding them in "abs". Handle ABS8MEM memory references aka
8-bit area. Replace ABSMOV references with ABS8MEM.
So we've got a chance of simulating something like btst #0,@40:8 correctly.
hmse.
Jeff Law [Sat, 6 Apr 1996 00:14:04 +0000 (00:14 +0000)]
* h8300-dis.c (bfd_h8_disassemble): Use "bit" for L_3 immediates,
not "abs", which may be needed for the absolute in something
like btst #0,@10:8. Print L_3 immediates separately from other
immediates. Change ABSMOV reference to ABS8MEM.
One day we'll actually disassemble btst #0,@10:8 correctly... But not
yet. hmse.
Jeff Law [Sat, 6 Apr 1996 00:06:10 +0000 (00:06 +0000)]
* config/tc-h8300.c (get_specific): Remove some #if 0 code.
(build_bytes): Remove all ABSMOV related code; it's unnecessary.
ABSMOV is gone... Cleaning up. hmse.
Jeff Law [Fri, 5 Apr 1996 23:56:39 +0000 (23:56 +0000)]
* h8300.h (ABS8MEM): Renamed from ABSMOV. Remove ABSMOV
from all insns.
(ABS8SRC,ABS8DST): Add ABS8MEM.
(add.l): Fix reg+reg variant.
(eepmov.w): Renamed from eepmovw.
(ldc,stc): Fix many cases.
We'll use ABS8MEM for access to the 8-bit area.
Fixes from running the h8300 testsuite.
hmse.
Jeff Law [Fri, 5 Apr 1996 23:50:28 +0000 (23:50 +0000)]
* gas/h8300/{addsubh.s,bitops1h.s,bitops2h.s}: New h8300h tests.
* gas/h8300/{bitops3h.s,bitops4h.s,branchesh.s}: New h8300h tests.
* gas/h8300/{cbranchh.s,compareh.s,decimalh.s}: New h8300h tests.
* gas/h8300/{divmulh.s,incdech.s,logicalh.s}: New h8300h tests.
* gas/h8300/{misch.s,movbh.s,movwh.s}: New h8300h tests.
* gas/h8300/{pushpoph.s,rotshifth.s}: New h8300h tests.
* gas/h8300/h8300.exp: Run them.
More tests.
Stan Shebs [Fri, 5 Apr 1996 21:52:38 +0000 (21:52 +0000)]
* gdbtk.c (running_now): New global variable.
(gdb_cmd): Test it before executing any command.
(gdbtk_call_command): Set it when inferior is running.
* gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and
disable interaction with command window's text appropriately.
Ian Lance Taylor [Fri, 5 Apr 1996 21:22:31 +0000 (21:22 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): New
static function, if ${host} = ${target}.
(gld${EMULATION_NAME}_after_open): Call check_ld_so_conf to find a
needed shared library if ${host} = $[target}.
Ian Lance Taylor [Fri, 5 Apr 1996 20:14:43 +0000 (20:14 +0000)]
Fri Apr 5 15:13:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* config/atof-ieee.c: Fix handling of denormalized extended
precision numbers and overflow/underflow detection.
(MAX_PRECISION, X_PRECISION, P_PRECISION): Changed from 6 to 5, to
not include the 16 bit gap in the m68k extended precision format.
Ian Lance Taylor [Fri, 5 Apr 1996 19:32:39 +0000 (19:32 +0000)]
* configure.tgt: Add i[345]86-*-freebsdelf* target; from John
Polstra <jdp@polstra.com>.
Ian Lance Taylor [Fri, 5 Apr 1996 19:30:22 +0000 (19:30 +0000)]
* configure.in: Add i386-*-freebsdelf* target; from John Polstra
<jdp@polstra.com>.
* configure: Rebuild.
Ian Lance Taylor [Fri, 5 Apr 1996 19:28:51 +0000 (19:28 +0000)]
* config.bfd: Add i[345]86-*-freebsdelf* target; from John Polstra
<jdp@polstra.com>.
Michael Meissner [Fri, 5 Apr 1996 18:27:45 +0000 (18:27 +0000)]
Add sanitize-gdbtk markers
Michael Meissner [Fri, 5 Apr 1996 18:27:08 +0000 (18:27 +0000)]
Undef SIOCSPGRP if on Linux
Jeff Law [Fri, 5 Apr 1996 17:57:01 +0000 (17:57 +0000)]
* gas/h8300/{movb.s,movw.s}: Correct predecrement syntax.
* gas/h8300/h8300.exp: Fix typos in bitops4 and movb tests.
Fixes remaining unexpected failures.
Ian Lance Taylor [Fri, 5 Apr 1996 17:51:28 +0000 (17:51 +0000)]
* linker.c (link_action): For WARN_ROW/warn, use MWARN, not CYCLE,
to avoid crashing in bfd_hash_replace.
Jackie Smith Cashion [Fri, 5 Apr 1996 17:43:05 +0000 (17:43 +0000)]
Fri Apr 5 18:39:28 1996 James G. Smith <jsmith@cygnus.co.uk>
* config/tc-mips.c: Allow non-zero offsets from .sdata symbols to
be accessed using the $gp register.
* config/tc-mips.h (MAX_GPREL_OFFSET): Added.
This ensures that the $gp addressing will continued to be used if the
"combine_statics" optimisation is enabled within GCC.
Jeff Law [Fri, 5 Apr 1996 17:40:10 +0000 (17:40 +0000)]
Fix typo in last change.
Ian Lance Taylor [Fri, 5 Apr 1996 17:29:06 +0000 (17:29 +0000)]
* sysdep.h: Use #ifdef, not #if.
Ian Lance Taylor [Fri, 5 Apr 1996 17:25:03 +0000 (17:25 +0000)]
* sysdep.h: Use #ifdef,not #if.
Jackie Smith Cashion [Fri, 5 Apr 1996 17:17:06 +0000 (17:17 +0000)]
Fri Apr 5 18:11:25 1996 James G. Smith <jsmith@cygnus.co.uk>
* emulparams/elf32{b,l}4300.sh (MACHINE): Add explicit
architecture number.
* scripttempl/elf.sc: Use $MACHINE definition if present.
* configure.tgt (targ_extra_emuls): Force 4100 build to use same
template as 4300.
Jeff Law [Fri, 5 Apr 1996 17:13:28 +0000 (17:13 +0000)]
* gas/h8300/{addsub.s,bitops1.s,bitops2.s}: New h8300 tests.
* gas/h8300/{bitops3.s,bitops4.s,branches.s}: New h8300 tests.
* gas/h8300/{cbranch.s,compare.s,decimal.s}: New h8300 tests.
* gas/h8300/{divmul.s,incdec.s,logical.s}: New h8300 tests.
* gas/h8300/{misc.s,movb.s,movw.s}: New h8300 tests.
* gas/h8300/{pushpop.s,rotshift.s}: New h8300 tests.
* gas/h8300/h8300.exp: Run them.
To keep me from screwing up the assembler...
Jason Molenda [Fri, 5 Apr 1996 16:32:37 +0000 (16:32 +0000)]
* configure.in (host==solaris): Pass only the first word of $CC
to /usr/bin/which when checking if we're using /usr/ccs/bin/cc.
/usr/ucb/which on Solaris barfs out an error if $CC is set to
seomthing like "cc -xcg92" or "gcc -mv8". It is harmless, but it looks
bad.
Jason Molenda [Fri, 5 Apr 1996 11:18:57 +0000 (11:18 +0000)]
* Makefile.in (BASE_FLAGS_TO_PASS): pass down $(MAKE).
w/o this, if you use GNU make on a Solaris platform (eg), but you don't
have GNU make at the front of your path, when the make/ subdir cds down
into make/glob and does a make there, you will end up picking up the
first make that is in your path no matter what you do.
No PR, I just noticed this while I was working on something else.
Ian Lance Taylor [Fri, 5 Apr 1996 04:32:47 +0000 (04:32 +0000)]
* config.in: Rebuild.