binutils-gdb.git
30 years ago * archures.c (enum bfd_architecture): Added bfd_arch_powerpc.
Ian Lance Taylor [Tue, 8 Feb 1994 00:38:00 +0000 (00:38 +0000)]
* archures.c (enum bfd_architecture): Added bfd_arch_powerpc.
(archures_init_table): If SELECT_ARCHITECTURES is not defined,
added bfd_powerpc_arch.
* bfd-in2.h: Rebuilt.
* cpu-powerpc.c: New file.
* Makefile.in (ALL_MACHINES, CFILES): Added cpu-powerpc.c.
Rebuilt dependencies.

30 years ago * Rename all "hppaosf" files to "hppaelf".
Jeff Law [Tue, 8 Feb 1994 00:37:19 +0000 (00:37 +0000)]
    * Rename all "hppaosf" files to "hppaelf".
        * Change all "osf" references to "elf" in hppaelf files.
        * Makefile.in: Likewise.
        * configure.in: Likewise.

30 years agoPowerPC CPU support.
Ian Lance Taylor [Tue, 8 Feb 1994 00:35:31 +0000 (00:35 +0000)]
PowerPC CPU support.

30 years ago * Rename all "hppaosf" files to "hppaelf".
Jeff Law [Tue, 8 Feb 1994 00:32:33 +0000 (00:32 +0000)]
    * Rename all "hppaosf" files to "hppaelf".

30 years agoRenamed hppaosf.sc to hppaelf.sc
Jeff Law [Tue, 8 Feb 1994 00:28:48 +0000 (00:28 +0000)]
Renamed hppaosf.sc to hppaelf.sc

30 years agoRenamed hppaosf.em to hppaelf.em
Jeff Law [Tue, 8 Feb 1994 00:28:05 +0000 (00:28 +0000)]
Renamed hppaosf.em to hppaelf.em

30 years agoRenamed hppaosf.sh to hppaelf.sh
Jeff Law [Tue, 8 Feb 1994 00:27:10 +0000 (00:27 +0000)]
Renamed hppaosf.sh to hppaelf.sh

30 years agoRenamed hppaosf.mh to hppaelf.mh
Jeff Law [Tue, 8 Feb 1994 00:25:39 +0000 (00:25 +0000)]
Renamed hppaosf.mh to hppaelf.mh

30 years agoRenamed hppaosf.mt to hppaelf.mt
Jeff Law [Tue, 8 Feb 1994 00:25:05 +0000 (00:25 +0000)]
Renamed hppaosf.mt to hppaelf.mt

30 years agoMon Feb 7 15:53:02 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Mon, 7 Feb 1994 23:55:53 +0000 (23:55 +0000)]
Mon Feb  7 15:53:02 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-make.in (CSEARCH): Add extra-include to search path.

30 years ago * gas/hppa/*/*.exp: Change xfails to check for PA ELF rather than
Jeff Law [Mon, 7 Feb 1994 23:54:54 +0000 (23:54 +0000)]
    * gas/hppa/*/*.exp: Change xfails to check for PA ELF rather than
        PA OSF1.

30 years ago * configure.in (hppa*-*-osf*): Treat this just like most other
Jeff Law [Mon, 7 Feb 1994 23:44:31 +0000 (23:44 +0000)]
    * configure.in (hppa*-*-osf*): Treat this just like most other
        PA configurations (eg no binutils or ld).
        (hppa*-*-*elf*): These configurations have binutils and ld.

30 years ago binutils.texi: minor formatting updates for next release
Jeffrey Osier [Mon, 7 Feb 1994 23:19:00 +0000 (23:19 +0000)]
binutils.texi: minor formatting updates for next release

30 years ago nlmconv.1: minor fix
Jeffrey Osier [Mon, 7 Feb 1994 23:07:38 +0000 (23:07 +0000)]
nlmconv.1: minor fix

30 years agotc-alpha.c (md_atof): Warn that FP vals might not assemble properly
Ken Raeburn [Mon, 7 Feb 1994 21:36:35 +0000 (21:36 +0000)]
tc-alpha.c (md_atof): Warn that FP vals might not assemble properly

30 years agoconfigure.in, tc-alpha, atof-generic changes
Ken Raeburn [Mon, 7 Feb 1994 21:14:39 +0000 (21:14 +0000)]
configure.in, tc-alpha, atof-generic changes

30 years agoEnable alpha-*-osf* configuration.
Ken Raeburn [Mon, 7 Feb 1994 21:12:55 +0000 (21:12 +0000)]
Enable alpha-*-osf* configuration.

30 years ago(load_expression): Parenthesize operations in range checking, to avoid
Ken Raeburn [Mon, 7 Feb 1994 21:12:03 +0000 (21:12 +0000)]
(load_expression): Parenthesize operations in range checking, to avoid
precedence questions.

(addr32): New static variable.
(md_parse_option): Set it for "-32addr".
(load_symbol_address): If addr32 is set, use ldl instead of ldq.

30 years ago * elfcode.h (bfd_section_from_shdr): Get vma and alignment_power
Ian Lance Taylor [Mon, 7 Feb 1994 20:04:46 +0000 (20:04 +0000)]
* elfcode.h (bfd_section_from_shdr): Get vma and alignment_power
of an SHT_STRTAB section from sh_addr and sh_addralign, rather
than just setting them to zero.

30 years ago * config/m68k/{m68k-em.mt,tm-m68k-em.h}: Remove; no longer used.
Jim Kingdon [Mon, 7 Feb 1994 17:04:47 +0000 (17:04 +0000)]
* config/m68k/{m68k-em.mt,tm-m68k-em.h}: Remove; no longer used.
* configure.in: Remove comment about m68k-em.mt.
* Makefile.in: Remove references.

30 years ago * defs.h [BFD64]: Use BFD_HOST_64_BIT, not nonexistent
Jim Kingdon [Mon, 7 Feb 1994 16:25:25 +0000 (16:25 +0000)]
* defs.h [BFD64]: Use BFD_HOST_64_BIT, not nonexistent
BFD_HOST_64_TYPE.

30 years agotc-alpha, obj-ecoff changes
Ken Raeburn [Mon, 7 Feb 1994 10:13:59 +0000 (10:13 +0000)]
tc-alpha, obj-ecoff changes

30 years ago* tc-alpha.c (md_section_align): Change second argument and
Ken Raeburn [Mon, 7 Feb 1994 10:11:43 +0000 (10:11 +0000)]
* tc-alpha.c (md_section_align): Change second argument and
return type to valueT, to agree with tc.h.
(alpha_do_align): Local static array nop_pattern is now unsigned
char, to avoid overflow warnings.
* tc-alpha.h (md_section_align): Delete declaration.

* obj-ecoff.c (ecoff_frob_file): Ensure that ecoff_data for
output bfd is non-null before indirecting through it.

Crock to get GP set right:
* tc-alpha.c (alpha_frob_ecoff_data): Renamed from alpha_frob_file.
* tc-alpha.h (tc_frob_file): Macro deleted.
* obj-ecoff.c (ecoff_frob_file) [TC_ALPHA]: Call alpha_frob_ecoff_data, then
fill in optional-header info with gp value and register masks.

30 years agoatof-generic.c, ecoff.c, literal.c, write.c changes
Ken Raeburn [Mon, 7 Feb 1994 09:58:29 +0000 (09:58 +0000)]
atof-generic.c, ecoff.c, literal.c, write.c changes

30 years ago(atof_generic): Calculate maximum number of useful digits in integer
Ken Raeburn [Mon, 7 Feb 1994 09:56:47 +0000 (09:56 +0000)]
(atof_generic): Calculate maximum number of useful digits in integer
arithmetic, to eliminate only source of dependence on floating point support,
which currently doesn't work yet on the Alpha.

30 years ago * ldmain.c (main): Call xatexit, not atexit.
David MacKenzie [Mon, 7 Feb 1994 06:07:26 +0000 (06:07 +0000)]
* ldmain.c (main): Call xatexit, not atexit.
Call xmalloc_set_program_name.

30 years ago * elfcode.h (prep_headers, swap_out_syms): Check for NULL return
David MacKenzie [Mon, 7 Feb 1994 05:17:21 +0000 (05:17 +0000)]
* elfcode.h (prep_headers, swap_out_syms): Check for NULL return
from bfd_new_strtab.
(elf_compute_section_file_positions): Check for false return from
swap_out_syms.

* linker.c (default_indirect_link_order): Check for NULL return
from bfd_get_relocated_section_contents.

* syms.c: Make example application in doc call xmalloc, not
bfd_xmalloc.

* aoutx.h (NAME(aout,slurp_symbol_table),
aout_link_get_symbols, NAME(aout,link_hash_table_create)):
* bout.c (b_out_slurp_reloc_table, b_out_squirt_out_relocs):
* ecoff.c (ecoff_bfd_link_hash_table_create):
* ecofflink.c (bfd_ecoff_debug_init):
* format.c (bfd_check_format_matches):
* linker.c (_bfd_generic_link_hash_table_create):
(_bfd_generic_final_link):
* reloc16.c (bfd_coff_reloc16_relax_section):
(bfd_coff_reloc16_get_relocated_section_contents):
* elf32-hppa.c (hppa_elf_build_arg_reloc_stub):
* elf32-mips.c (mips_elf_final_link):
* elfcode.h (bfd_new_strtab):
(bfd_add_2_to_strtab):
(elf_slurp_symbol_table):
(elf_corefile_note):
* libbfd.c (bfd_zmalloc):
Use malloc and check the result, instead of bfd_xmalloc.

30 years ago * ldlang.c (lang_size_sections): Check if bfd_relax_section set
David MacKenzie [Mon, 7 Feb 1994 05:00:18 +0000 (05:00 +0000)]
* ldlang.c (lang_size_sections): Check if bfd_relax_section set
bfd_errno.

30 years ago (udi_create_inferior): If udi_session_id is negative, open a new
Jim Kingdon [Mon, 7 Feb 1994 02:23:31 +0000 (02:23 +0000)]
(udi_create_inferior): If udi_session_id is negative, open a new
TIP rather than giving an error.

30 years ago * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
Jim Kingdon [Mon, 7 Feb 1994 02:06:27 +0000 (02:06 +0000)]
* gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
gdb.t03/ptype.exp (ptype structure, ptype union):
Remove xfails; the test is looser than when the xfails were added.

30 years ago * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
Jim Kingdon [Mon, 7 Feb 1994 01:50:51 +0000 (01:50 +0000)]
* config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
since "run" automatically loads if necessary.  Call gdb_target_udi
after the "file" since "file" kills any execution target.

30 years ago * target.c (target_preopen): If target_kill doesn't remove the
Jim Kingdon [Mon, 7 Feb 1994 01:31:15 +0000 (01:31 +0000)]
* target.c (target_preopen): If target_kill doesn't remove the
target from the stack, use pop_target to do it.

30 years ago * gdb.t02/whatis.exp: Remove xfails for PRs 1838 and 2417; they
Jim Kingdon [Mon, 7 Feb 1994 00:59:37 +0000 (00:59 +0000)]
* gdb.t02/whatis.exp: Remove xfails for PRs 1838 and 2417; they
are fixed.

* gdb.t02/whatis.exp: Remove xfails for v_char_array and
v_signed_char_array; the test is looser than when the xfails were
added.

* gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
* gdb.t00/help.exp: Don't expect remote to be in "help target" output.

30 years ago * coffread.c (process_coff_symbol, case C_TPDEF): Don't set name
Jim Kingdon [Mon, 7 Feb 1994 00:53:43 +0000 (00:53 +0000)]
* coffread.c (process_coff_symbol, case C_TPDEF): Don't set name
of TYPE_CODE_PTR or TYPE_CODE_FUNC types.  This parallels similar
changes to stabsread.c from summer 1993.

30 years ago * config.sub (hiux): Fix typo. From m-kasahr@sramhc.sra.co.JP.
Jeff Law [Mon, 7 Feb 1994 00:35:51 +0000 (00:35 +0000)]
    * config.sub (hiux): Fix typo.  From m-kasahr@sramhc.sra.co.JP.

30 years ago * configure.in (hiux): Fixes from m-kasahr@sramhc.sra.co.JP.
Jeff Law [Mon, 7 Feb 1994 00:34:59 +0000 (00:34 +0000)]
    * configure.in (hiux): Fixes from m-kasahr@sramhc.sra.co.JP.

30 years ago* gdb.t01/run.exp: Only run shell test if isnative.
Jim Kingdon [Mon, 7 Feb 1994 00:18:08 +0000 (00:18 +0000)]
* gdb.t01/run.exp: Only run shell test if isnative.

30 years ago * config/obj-som.c (obj_som_init_stab_section): Same change
Jeff Law [Mon, 7 Feb 1994 00:15:01 +0000 (00:15 +0000)]
    * config/obj-som.c (obj_som_init_stab_section): Same change
        as coffbfd and elf below.  Zero the initial stab symbol after
        allocating it.

30 years ago * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
Jim Kingdon [Mon, 7 Feb 1994 00:06:45 +0000 (00:06 +0000)]
* config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
since "run" automatically loads if necessary.

30 years ago * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
Jim Kingdon [Sun, 6 Feb 1994 23:45:18 +0000 (23:45 +0000)]
* config/udi-gdb.exp (gdb_start): Don't send "set args main" to
GDB.  GDB doesn't work that way (not anymore at least) on UDI.
* gdb.t01/run.exp: Don't pass extra first argument for UDI.

30 years ago * remote-udi.c (udi_files_info): If prog_name is NULL, just skip
Jim Kingdon [Sun, 6 Feb 1994 23:34:13 +0000 (23:34 +0000)]
* remote-udi.c (udi_files_info): If prog_name is NULL, just skip
printing the program, rather than passing NULL to printf.
(udi_detach): Set udi_session_id to -1 so that udi_close doesn't
try to call UDIDisconnect again.  Print better message.
(udi_kill): Just call UDIDisconnect ourselves, rather than doing
it via udi_close.
(udi_open): Unpush UDI target after target_preopen, now that
udi_kill doesn't pop the target.
(udi_create_inferior): If udi_session_id is negative, open a new
TIP rather than giving an error.

30 years ago * config/mips/mipsm3.mh, config/i386/i386m3.mh,
Jim Kingdon [Sun, 6 Feb 1994 22:38:28 +0000 (22:38 +0000)]
* config/mips/mipsm3.mh, config/i386/i386m3.mh,
config/ns32k/ns32km3.mh: Define NAT_FILE.
* config/nm-m3.h: Change guard from _OS_MACH3_H_ and _OS_MACH3_H
(it was inconsistent and namespace-wrong) to NM_M3_H.
* m3-nat.c (mach_really_wait): Change parameter name to ourstatus.
(m3_open): New function.
(m3_ops): Use it.
* TODO: Update Mach section.

* Makefile.in: Remove "rapp" stuff; it is superseded by gdbserver.

30 years ago * printcmd.c (printf_command): Add missing single-letter
Per Bothner [Sun, 6 Feb 1994 21:29:32 +0000 (21:29 +0000)]
* printcmd.c (printf_command):  Add missing single-letter
backslash-escape sequences, and improve error message.

30 years ago * corelow.c (solib_add_stub, core_open): Pass address of from_tty
Jim Kingdon [Sun, 6 Feb 1994 16:16:39 +0000 (16:16 +0000)]
* corelow.c (solib_add_stub, core_open): Pass address of from_tty
rather than trying to shove an int into a pointer and back out
again.  This avoids compiler warnings.

30 years ago * i960-dis.c (reg, mem): Just use a static array instead of
Jim Kingdon [Sun, 6 Feb 1994 15:49:03 +0000 (15:49 +0000)]
* i960-dis.c (reg, mem): Just use a static array instead of
calling xmalloc.

30 years ago * defs.h (alloca): Declare as void *, not char *, on hpux.
Jim Kingdon [Sun, 6 Feb 1994 15:00:00 +0000 (15:00 +0000)]
* defs.h (alloca): Declare as void *, not char *, on hpux.
Don't prototype it, just declare the return type.

30 years ago * config/i386/tm-sun386.h, config/i386/tm-symmetry.h
Peter Schauer [Sun, 6 Feb 1994 11:32:46 +0000 (11:32 +0000)]
* config/i386/tm-sun386.h, config/i386/tm-symmetry.h
(REGISTER_CONVERT_TO_RAW):  Add missing backslash.

30 years agoremove cvs lossage
David MacKenzie [Sun, 6 Feb 1994 01:05:54 +0000 (01:05 +0000)]
remove cvs lossage

30 years ago * remote-mips.c (mips_fetch_registers): If regno is FP_REGNUM or
Jim Kingdon [Sat, 5 Feb 1994 22:29:06 +0000 (22:29 +0000)]
* remote-mips.c (mips_fetch_registers): If regno is FP_REGNUM or
ZERO_REGNUM, just read it as zero without talking to the board.

30 years agoDon't refer to new fields unless BFD_ASSEMBLER (from sac).
Ian Lance Taylor [Sat, 5 Feb 1994 22:17:20 +0000 (22:17 +0000)]
Don't refer to new fields unless BFD_ASSEMBLER (from sac).

30 years agoSat Feb 5 12:30:32 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Sat, 5 Feb 1994 21:45:51 +0000 (21:45 +0000)]
Sat Feb  5 12:30:32 1994  Stan Shebs  (shebs@andros.cygnus.com)

* config/obj-coffbfd.c (obj_coff_init_stab_section): Zero the
initial stab symbol after allocating it.
* config/obj-elf.c (obj_elf_init_stab_section): Ditto.

This fixes a critical bug observed in Q4 for Lynx.

30 years ago * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
Jim Kingdon [Sat, 5 Feb 1994 21:29:45 +0000 (21:29 +0000)]
* gdb.t17/interrupt.c: If we get EINTR, don't print an error message.

* gdb.t17/callfuncs.exp: Add xfails for rs6000.

30 years ago* config.bfd: Put m68*-*-sysv* line after m68*-*-sysv4*.
Jim Kingdon [Sat, 5 Feb 1994 20:41:44 +0000 (20:41 +0000)]
* config.bfd: Put m68*-*-sysv* line after m68*-*-sysv4*.

30 years ago * config/i386/tm-i386aix.h (REGISTER_CONVERT_TO_RAW): Add missing
Jim Kingdon [Sat, 5 Feb 1994 20:38:12 +0000 (20:38 +0000)]
* config/i386/tm-i386aix.h (REGISTER_CONVERT_TO_RAW): Add missing
backslash.
* i386-tdep.c (i386_extract_return_value): Pass TYPE_LENGTH (type)
to store_floating, not nonexistent variable len.

30 years ago * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
Jim Kingdon [Sat, 5 Feb 1994 20:30:35 +0000 (20:30 +0000)]
* remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
New functions.
(mips_store_word): Change calling convention to return errors, and
to provide old contents if the caller wants it.
(mips_xfer_memory): Deal with errors from mips_store_word.
* config/mips/tm-idt.h, config/mips/tm-idtl.h: Remove BREAKPOINT
define now that remote-mips.c doesn't use BREAKPOINT.

30 years ago * config/tc-hppa.c (pa_ip): addb[tf] should only accept
Jeff Law [Sat, 5 Feb 1994 19:54:51 +0000 (19:54 +0000)]
    * config/tc-hppa.c (pa_ip): addb[tf] should only accept
        non-negated condition completers.  Add support for addb pseudo-op
        which accepts both negated and non-negated completers.

30 years ago * hppa.h (addb): Use '@' for addb and addib pseudo ops.
Jeff Law [Sat, 5 Feb 1994 19:53:05 +0000 (19:53 +0000)]
    * hppa.h (addb): Use '@' for addb and addib pseudo ops.
        (so we can determine valid completers for both addb and addb[tf].)

30 years ago * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
Jeff Law [Sat, 5 Feb 1994 19:16:49 +0000 (19:16 +0000)]
    * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
        (comib_nullified_tests): Fix typo.
        * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
        strings.  No longer expected to fail.

30 years ago * hppa-dis.c (print_insn_hppa): For '?' and '@' only adjust the
Jeff Law [Sat, 5 Feb 1994 19:15:20 +0000 (19:15 +0000)]
    * hppa-dis.c (print_insn_hppa): For '?' and '@' only adjust the
        condition name index if this is for a negated condition.

30 years ago * remote-e7000.c: Replace "snoop" command (e7000_noecho) with
Jim Kingdon [Sat, 5 Feb 1994 18:50:52 +0000 (18:50 +0000)]
* remote-e7000.c: Replace "snoop" command (e7000_noecho) with
remote_debug.

30 years ago * gdb.disasm/hppa.s (addib_tests): Fix typo.
Jeff Law [Sat, 5 Feb 1994 18:40:20 +0000 (18:40 +0000)]
    * gdb.disasm/hppa.s (addib_tests): Fix typo.
        * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
        strings.  No longer expected to fail.

30 years ago * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
Jim Kingdon [Sat, 5 Feb 1994 18:34:33 +0000 (18:34 +0000)]
* gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
properly quoting regexps.  This makes the second argument to
demangle a fixed string, which matches the callers, instead of a
shell-style pattern which is what the previous implementation
used.  Update some of the callers.

30 years ago * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect string.
Jeff Law [Sat, 5 Feb 1994 18:20:02 +0000 (18:20 +0000)]
    * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect string.
        No longer expected to fail.

30 years ago * hppa-dis.c (print_insn_hppa): No space before 'H' operand.
Jeff Law [Sat, 5 Feb 1994 18:18:49 +0000 (18:18 +0000)]
    * hppa-dis.c (print_insn_hppa): No space before 'H' operand.
        Floating point format for 'H' operand is backwards from normal
        case (0 == double, 1 == single).  For '4', '6', '7', '9', and '8'
        operands (fmpyadd and fmpysub), handle bizarre register translation
        correctly for single precision format.

30 years ago * Makefile.in: Remove obsolete rules for history.info and
Jim Kingdon [Sat, 5 Feb 1994 16:37:44 +0000 (16:37 +0000)]
* Makefile.in: Remove obsolete rules for history.info and
readline.info.

30 years ago * config/rs6000/tm-rs6000.h (STORE_STRUCT_RETURN): Don't cast
Jim Kingdon [Sat, 5 Feb 1994 16:12:18 +0000 (16:12 +0000)]
* config/rs6000/tm-rs6000.h (STORE_STRUCT_RETURN): Don't cast
to unsigned int.

30 years ago * srec.c (srec_write_record): Put CONST keyword for "src" before
Peter Schauer [Sat, 5 Feb 1994 13:38:52 +0000 (13:38 +0000)]
* srec.c (srec_write_record):  Put CONST keyword for "src" before
"unsigned", some compilers don't like it after "unsigned".
* libcoff.h, libcoff-in.h (bfd_perform_slip):  Rename "value" to
"val" in prototype declaration because some compilers don't like
arguments whose names are the same as types.

30 years ago * value.h (print_longest): Rename "value" to "val" in prototype
Peter Schauer [Sat, 5 Feb 1994 13:37:00 +0000 (13:37 +0000)]
* value.h (print_longest):  Rename "value" to "val" in prototype
declaration because some compilers don't like arguments whose
names are the same as types.
* remote.c (remote_xfer_memory):  Cast "myaddr" to unsigned char *
before passing it to remote_*_bytes.

30 years ago * emultempl/lnk960.em (append), emultempl/hppaosf.em
David MacKenzie [Sat, 5 Feb 1994 12:00:15 +0000 (12:00 +0000)]
* emultempl/lnk960.em (append), emultempl/hppaosf.em
(hppaosf_finish): Call xmalloc, not ldmalloc.
* ldmain.c (preserve_output): Function removed.
(main): Do it here instead.

30 years ago * hppa-dis.c (print_insn_hppa): Do not emit a space after 'F'
Jeff Law [Sat, 5 Feb 1994 08:04:45 +0000 (08:04 +0000)]
    * hppa-dis.c (print_insn_hppa): Do not emit a space after 'F'
        or 'I' operands if the next format specifier is 'M' (fcmp
        condition completer).

30 years ago * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
Jeff Law [Sat, 5 Feb 1994 08:03:34 +0000 (08:03 +0000)]
    * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
        No longer expected to fail.

30 years ago * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
Jeff Law [Sat, 5 Feb 1994 07:46:20 +0000 (07:46 +0000)]
    * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
        string.  No longer expected to fail.

30 years ago * hppa.h (xmpyu): No floating point format specifier for the
Jeff Law [Sat, 5 Feb 1994 07:44:34 +0000 (07:44 +0000)]
    * hppa.h (xmpyu): No floating point format specifier for the
        xmpyu instruction.

30 years ago * gas/hppa/more.parse/xmpyubug.s: New test.
Jeff Law [Sat, 5 Feb 1994 07:43:29 +0000 (07:43 +0000)]
    * gas/hppa/more.parse/xmpyubug.s: New test.
        * gas/hppa/more.parse/parse.exp: Run it.

30 years ago * ldlang.h (LANG_FOR_EACH_{INPUT,OUTPUT}_SECTION): Delete (unused)
Jeff Law [Sat, 5 Feb 1994 07:03:48 +0000 (07:03 +0000)]
    * ldlang.h (LANG_FOR_EACH_{INPUT,OUTPUT}_SECTION): Delete (unused)
        GNU C specific macros.

        * emultempl/hppaosf.em (hppaosf_finish): Expand the only remaining
        call to LANG_FOR_EACH_INPUT_SECTION.

30 years ago * aoutx.h (aout_link_check_ar_symbols): Correct test for whether
Ian Lance Taylor [Sat, 5 Feb 1994 06:17:36 +0000 (06:17 +0000)]
* aoutx.h (aout_link_check_ar_symbols): Correct test for whether
object file defines symbol.  Also, if skipping a symbol, skip the
second symbol of a N_WARNING or N_INDR symbol as well.

30 years ago * configure.in (rs6000-*-*): Build gas.
Ian Lance Taylor [Sat, 5 Feb 1994 06:01:33 +0000 (06:01 +0000)]
* configure.in (rs6000-*-*): Build gas.

30 years ago * configure.in (rs6000*): Use cpu_type ppc.
Ian Lance Taylor [Sat, 5 Feb 1994 05:38:24 +0000 (05:38 +0000)]
* configure.in (rs6000*): Use cpu_type ppc.
(ppc-*-aix*): New target; use coff and force bfd_gas.

30 years agoNew files for PowerPC/POWER (RS/6000) support.
Ian Lance Taylor [Sat, 5 Feb 1994 05:35:11 +0000 (05:35 +0000)]
New files for PowerPC/POWER (RS/6000) support.

30 years ago Changed relocs to be based on subsegments (when BFD_ASSEMBLER).
Ian Lance Taylor [Sat, 5 Feb 1994 05:29:42 +0000 (05:29 +0000)]
Changed relocs to be based on subsegments (when BFD_ASSEMBLER).
* subsegs.h (struct frchain): If BFD_ASSEMBLER, added new fields
fix_root and fix_tail.
(segment_info_type): If BFD_ASSEMBLER, don't define fix_tail
field.
* write.c (fix_new_internal): If BFD_ASSEMBLER, set fix_rootP and
fix_tailP based on frchain_now, not seg_info (now_seg).
(chain_frchains_together_1): Chain the subsegment relocs together.
* subsegs.c (subseg_change): Don't clear fix_tail field.
(subseg_get): Likewise.
* literal.c (add_to_literal_pool): Look through the relocs via
frchain_now, not seginfo.

* write.c (write_object_file): Simplified usage of obj_frob_symbol
and tc_frob_symbol.  Always call both if the symbol is going to be
output.

* write.c (relax_segment): Use %ld rather than %d when printing
fragP->fr_var, and cast it to long.

30 years ago * reloc.c (bfd_perform_relocation): Work around one gross hack
Ian Lance Taylor [Sat, 5 Feb 1994 05:13:59 +0000 (05:13 +0000)]
* reloc.c (bfd_perform_relocation): Work around one gross hack
with another: actually look at the target name to avoid the broken
COFF check.
(bfd_reloc_code_real_type): Add BFD_RELOC_PPC_B26,
BFD_RELOC_PPC_BA26 and BFD_RELOC_PPC_TOC16.
* bfd-in2.h: Rebuilt.

30 years ago * coffcode.h (combined_entry_type): Changed fix_tag and fix_end
Ian Lance Taylor [Sat, 5 Feb 1994 05:11:46 +0000 (05:11 +0000)]
* coffcode.h (combined_entry_type): Changed fix_tag and fix_end
fields to bitfields.  Added fields fix_value and fix_scnlen.
(sec_to_styp_flags): If STYP_DEBUG is defined, use it rather than
STYP_INFO for the type of a section named .debug.
(coff_add_missing_symbols): Don't define if RS6000COFF_C.
(coff_write_object_contents): If RS6000COFF_C, don't call
coff_add_missing_symbols.
(coff_slurp_symbol_table): If RS6000COFF_C, then if the last aux
entry has type STY_LD change the x_scnlen into a pointer to a
symbol and set fix_scnlen.  Also, for a C_BSTAT symbol, change the
value into a pointer to a symbol and set fix_value.
* libcoff.h: Rebuilt.
* coffgen.c (coff_mangle_symbols): Reindent.  If fix_value is set,
get the symbol offset. Likewise for fix_scnlen.
(string_size): Change type to bfd_size_type.
(debug_string_size, debug_string_section): New static variables.
(coff_fix_symbol_name): If bfd_coff_symname_in_debug returns true,
write the symbol name into the .debug section; assume that the
section has already been created with the right size.
(coff_write_symbols): Initialize debug_string_size to 0.  If
bfd_coff_symname_in_debug returns true, don't put symbol name in
usual string table.  After writing out all symbols, if
debug_string_size is not 0, check that it matches the size of the
.debug section.
(coff_get_normalized_symtab): Clear new fix_value and fix_scnlen
fields.  If the string offset is 0, always use an empty string as
the name.
(coff_make_empty_symbol): Zero out the symbol structure.

30 years ago * ppc-opc.c (powerpc_operands): New operand type MBE to handle a
Ian Lance Taylor [Sat, 5 Feb 1994 04:46:34 +0000 (04:46 +0000)]
* ppc-opc.c (powerpc_operands): New operand type MBE to handle a
single number giving a bitmask for the MB and ME fields of an M
form instruction.  Change NB to accept 32, and turn it into 0;
also turn 0 into 32 when disassembling.  Seperated SH from NB.
(insert_mbe, extract_mbe): New functions.
(insert_nb, extract_nb): New functions.
(SC_MASK): Mask out SA and LK bits.
(powerpc_opcodes): Change "cal" to use RT, D, RA rather than RT,
RA, SI.  Change "liu" and "cau" to use UI rather than SI.  Mark
"bctr" and "bctrl" as accepted by POWER.  Change "rlwimi",
"rlimi", "rlwimi.", "rlimi.", "rlwinm", "rlinm", "rlwinm.",
"rlinm.", "rlmi", "rlmi.", "rlwnm", "rlnm", "rlwnm.", "rlnm." to
use MBE rather than MB.  Add "mfmq" and "mtmq" POWER instructions.
(powerpc_macros): Define table of macro definitions.
(powerpc_num_macros): Define.

30 years ago * ppc-dis.c (print_insn_powerpc): Don't skip optional operands
Ian Lance Taylor [Sat, 5 Feb 1994 04:45:24 +0000 (04:45 +0000)]
* ppc-dis.c (print_insn_powerpc): Don't skip optional operands
if PPC_OPERAND_NEXT is set.

30 years ago * ppc.h (PPC_OPERAND_NEXT): Define.
Ian Lance Taylor [Sat, 5 Feb 1994 04:38:05 +0000 (04:38 +0000)]
* ppc.h (PPC_OPERAND_NEXT): Define.
(PPC_OPERAND_NEGATIVE): Change value to make room for above.
(struct powerpc_macro): Define.
(powerpc_macros, powerpc_num_macros): Declare.

30 years ago Eliminate arg from bfd_xmalloc_by_size_t macro, allowing
David MacKenzie [Sat, 5 Feb 1994 03:02:32 +0000 (03:02 +0000)]
Eliminate arg from bfd_xmalloc_by_size_t macro, allowing
undoing of obstack parts of last change.

30 years ago * libbfd.c (bfd_zmalloc): Call bfd_xmalloc instead of malloc.
David MacKenzie [Sat, 5 Feb 1994 02:46:12 +0000 (02:46 +0000)]
* libbfd.c (bfd_zmalloc): Call bfd_xmalloc instead of malloc.
(bfd_xmalloc, bfd_xmalloc_by_size_t): Functions deleted.
* libbfd-in.h: Define them as macros calling xmalloc and declare
xmalloc.
* libbfd.h: Rebuilt.
* ecofflink.c hash.c ieee.c opncls.c (obstack_chunk_alloc): Define
to be xmalloc, not bfd_xmalloc_by_size_t.

30 years ago * ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): Functions
David MacKenzie [Sat, 5 Feb 1994 01:14:56 +0000 (01:14 +0000)]
* ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): Functions
deleted; will use libiberty versions instead.
* ldctor.c ldfile.c ldlang.c ldmain.c ldmisc.c ldmisc.h lexsup.c
mri.c Makefile.in: Change callers.

* ldmisc.c (vfinfo): Remove cleanup code.
* ldmain.c (remove_output): Put it here (new function).
(preserve_output): New function.
(main): Register remove_output and preserve_output with atexit.
* ldmain.c ldgram.y: Call xexit instead of exit.
* ldmisc.h: Declare xexit.

30 years agoREGISTER_TYPE is obsolete.
Steve Chamberlain [Sat, 5 Feb 1994 01:07:48 +0000 (01:07 +0000)]
REGISTER_TYPE is obsolete.

30 years ago(hms_fetch_register): Take out REGISTER_TYPE.
Steve Chamberlain [Sat, 5 Feb 1994 01:06:21 +0000 (01:06 +0000)]
(hms_fetch_register): Take out REGISTER_TYPE.

30 years agoFix REGISTER_TYPE and order of register names.
Steve Chamberlain [Sat, 5 Feb 1994 00:39:09 +0000 (00:39 +0000)]
Fix REGISTER_TYPE and order of register names.

30 years agoFix REGISTER_TYPE.
Steve Chamberlain [Sat, 5 Feb 1994 00:38:29 +0000 (00:38 +0000)]
Fix REGISTER_TYPE.

30 years agoGet REGISTER_TYPE right.
Steve Chamberlain [Sat, 5 Feb 1994 00:36:32 +0000 (00:36 +0000)]
Get REGISTER_TYPE right.

30 years agoFri Feb 4 15:53:18 1994 Steve Chamberlain (sac@cygnus.com)
Steve Chamberlain [Sat, 5 Feb 1994 00:22:08 +0000 (00:22 +0000)]
Fri Feb  4 15:53:18 1994  Steve Chamberlain  (sac@cygnus.com)

* h8500-tdep.c (saved_pc_after_call): The size of the
pc is memory model dependent. (segmented_command,
unsegmented_command, _initialize_h8500_tdep): New commands to
change memory model.
* remote-7000.c (initialize_remote_e7000): Change name of snoop
command.
* remote-hms.c (hms_load): Remove breakpoints when loaded.
(hms_wait): Use new status structure
(hms_open): Push the target here. (hms_before_main_loop): Not
here.  (supply_val, hms_fetch_register, hms_store_register):  Cope
with H8/500 names too.
* sh-tdep.c (show_regs, initialize_sh_tdep): New command to print
all registers in a compact way.

30 years ago * Makefile.in: Lots of new H8/500 memory models.
Steve Chamberlain [Fri, 4 Feb 1994 23:19:33 +0000 (23:19 +0000)]
* Makefile.in: Lots of new H8/500 memory models.

30 years agoNew memory model.
Steve Chamberlain [Fri, 4 Feb 1994 23:18:19 +0000 (23:18 +0000)]
New memory model.

30 years agoMore sicko segmentation support.
Steve Chamberlain [Fri, 4 Feb 1994 23:08:00 +0000 (23:08 +0000)]
More sicko segmentation support.

30 years agoSupport for various sicko segmented memory models.
Steve Chamberlain [Fri, 4 Feb 1994 22:57:26 +0000 (22:57 +0000)]
Support for various sicko segmented memory models.

30 years ago* lib/gas-defs.exp (regexp_diff): New procedure, vaguely based on
Ken Raeburn [Fri, 4 Feb 1994 22:19:31 +0000 (22:19 +0000)]
* lib/gas-defs.exp (regexp_diff): New procedure, vaguely based on
"simple_diff" from linker test suite.
* gas/sun4/addend.exp: Use it.
* gas/sun4/addend.d: New file.

30 years ago * objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we
David MacKenzie [Fri, 4 Feb 1994 18:47:33 +0000 (18:47 +0000)]
* objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we
can do arithmetic on it.