David Edelsohn [Fri, 10 Feb 1995 03:38:14 +0000 (03:38 +0000)]
Lotsa arc stuff.
David Edelsohn [Fri, 10 Feb 1995 03:37:57 +0000 (03:37 +0000)]
* arc-opc.c (MULTSHIFT operand): Delete.
(UNSIGNED, SATURATION): New operands.
(mac, mul, mul64, mulu64): New insns.
(ext. asl, asr, lsr, ror): Only available on host and graphics cpus.
(padc, padd, pmov, pand, psbc, psub, swap): New insns.
(host,graphics,audio extended and auxiliary regs): Define.
(ss, sc, mh, ml): New suffixes.
(arc_opcode_supported, arc_opval_supported): New functions.
(insert_multshift, extract_multshift): Deleted.
David Edelsohn [Fri, 10 Feb 1995 03:23:16 +0000 (03:23 +0000)]
* arc-dis.c (print_insn_arc): Rename to print_insn and make static.
New argument `cpu', pass it to arc_opcode_init_tables.
Document byte order dependencies. Ignore unsupported insns.
(arc_disassembler): New function.
(print_insn_arc_base, print_insn_arc_host, print_insn_arc_graphics,
print_insn_arc_audio): New functions.
Rob Savoye [Fri, 10 Feb 1995 03:21:55 +0000 (03:21 +0000)]
* op50n-rom.c: Add the control registers.
David Edelsohn [Fri, 10 Feb 1995 03:02:09 +0000 (03:02 +0000)]
* arc.h (ARC_MACH_{BASE,HOST,GRAPHICS,AUDIO}): Define.
(ARC_MACH_MASK, ARC_OPCODE_MACH, ARC_OPVAL_MACH): Define.
(ARC_HAVE_MULT_SHIFT): Delete.
(ARC_HAVE_MACH): Define.
(struct arc_opcode): New field `flags'.
(struct arc_operand_value): Ditto.
(arc_opcode_supported): New function.
(arc_opval_supported): Ditto.
David Edelsohn [Fri, 10 Feb 1995 02:01:01 +0000 (02:01 +0000)]
* config/tc-arc.c (md_pseudo_table): Add .cpu.
(comment_chars): Add ';'.
(arc_mach_type, mach_type_specified, cpu_tables_init_p): New globals.
(md_parse_option): Delete support for -mmult. Add -mcpu=xxx.
(md_begin): Current ARCs are little endian.
Call bfd_set_arch_mach to set the cpu type.
(init_opcode_tables): New function.
(md_begin): Ignore suffixes and registers not supported by cpu.
(md_assemble): Initialize opcode tables here.
Ignore opcodes not supported by selected cpu.
Always ask for more memory in one piece.
(arc_cpu): New function.
(md_numbers_to_chars): Support both endians (will probably be needed
eventually anyway).
(md_apply_fix): Likewise.
David Edelsohn [Fri, 10 Feb 1995 02:00:43 +0000 (02:00 +0000)]
* config/tc-arc.h (LOCAL_LABEL): Delete "_.L_", gcc works around
dwarfout.c quirk.
David Edelsohn [Fri, 10 Feb 1995 02:00:13 +0000 (02:00 +0000)]
Lotsa arc stuff.
David Edelsohn [Fri, 10 Feb 1995 01:41:57 +0000 (01:41 +0000)]
Regenerated.
David Edelsohn [Fri, 10 Feb 1995 01:40:36 +0000 (01:40 +0000)]
* archures (bfd_mach_arc_base): #define.
(bfd_mach_arc_host, bfd_mach_arc_graphics, bfd_mach_arc_audio): Ditto.
* cpu-arc.c (arch_info_struct): Define entries for each cpu variant.
(bfd_arc_arch): Link each one in.
(arc_get_mach): New function.
* elf32-arc.c (arc_info_to_howto_rel): Renamed from arc_info_to_howto.
(elf_info_to_howto_rel): Update.
(arc_elf_object_p, arc_elf_final_write_processing): New functions.
(elf_backend_object_p): Define.
(elf_backend_final_write_processing): Define.
(USE_REL): Define.
Ken Raeburn [Fri, 10 Feb 1995 00:17:32 +0000 (00:17 +0000)]
* Makefile.in (BFD32_BACKENDS): Add i386msdos.o.
Stan Shebs [Fri, 10 Feb 1995 00:02:15 +0000 (00:02 +0000)]
* Makefile.in (CLIBS): Add $(LIBIBERTY) before, in addition to
after, any host/target/native libraries.
* dcache.c (insque, remque): Remove declarations.
* gdbtypes.h (type_code): Remove trailing comma.
From Peter Schauer:
* xcoffread.c (read_xcoff_symtab) [C_HIDEXT]: Move #ifdef
STATIC_NODEBUG_VARS inside case.
Stan Shebs [Thu, 9 Feb 1995 23:38:29 +0000 (23:38 +0000)]
keep tm-pro.h
Stan Shebs [Thu, 9 Feb 1995 23:37:11 +0000 (23:37 +0000)]
keep est.mt
Ken Raeburn [Thu, 9 Feb 1995 23:33:41 +0000 (23:33 +0000)]
* Makefile.in (distclean): Do recursive deletion, since ldscripts is a directory.
Ian Lance Taylor [Thu, 9 Feb 1995 23:19:27 +0000 (23:19 +0000)]
* config/tc-i386.c (md_assemble): Adjust conditions for changing
BFD_RELOC_32 to BFD_RELOC_386_GOTPC to handle a switch in frags.
Patch originally from Rob Ryan <robr@cmu.edu>.
* config/tc-i386.c: Include subsegs.h.
(tc_i386_fix_adjustable): Declare return value.
(i386_operand): Don't use an assignment directly as a condition.
Jim Kingdon [Thu, 9 Feb 1995 22:49:51 +0000 (22:49 +0000)]
* gdb.stabs/weird.exp: Remove "Haven't examined" comment which
went with the const70 xfail. The xfail went away a year ago.
Stan Shebs [Thu, 9 Feb 1995 22:46:54 +0000 (22:46 +0000)]
* i960-dis.c (struct tabent, struct sparse_tabent): Change the
signed char fields to shorts, more portable.
Jim Kingdon [Thu, 9 Feb 1995 22:45:51 +0000 (22:45 +0000)]
* gdb.base/signals.exp: Rename a bunch of tests to give unique names.
Ian Lance Taylor [Thu, 9 Feb 1995 21:57:55 +0000 (21:57 +0000)]
* ldmain.c (main): If trace_file_tries is true, and we are using
an internal linker script, print out the script.
* ldfile.c (try_open): Reindent function. Make the messages about
opening script files more informative.
PR 6309.
Ian Lance Taylor [Thu, 9 Feb 1995 21:18:01 +0000 (21:18 +0000)]
* objcopy.c (copy_usage): Rename parameter to avoid shadowing.
(strip_usage): Likewise.
* objcopy.c (struct section_add): Define.
(add_sections): New static variable.
(copy_options): Accept --add-section.
(copy_usage): Mention --add-section.
(copy_object): Add sections from the add_sections list.
(copy_main): Handle --add-section.
* binutils.texi, objcopy.1: Document --add-section.
Jim Kingdon [Thu, 9 Feb 1995 20:55:02 +0000 (20:55 +0000)]
* gdb.base/corefile.exp: Give backtrace test unique name. xfail
for hp300.
Jim Kingdon [Thu, 9 Feb 1995 20:51:13 +0000 (20:51 +0000)]
* gdb.base/interrupt.exp: Also xfail hpux (for hp300).
Jim Kingdon [Thu, 9 Feb 1995 20:46:53 +0000 (20:46 +0000)]
* gdb.base/a1-selftest.exp: Don't run on hp300.
Jim Kingdon [Thu, 9 Feb 1995 20:21:46 +0000 (20:21 +0000)]
* config/sparc/tm-sun4sol2.h: Define STATIC_TRANSFORM_NAME.
* partial-stab.h: Call it.
* stabsread.c (define_symbol) [STATIC_TRANSFORM_NAME]: Call
STATIC_TRANSFORM_NAME to get the name and use minimal symbols to
get the address.
* sparc-tdep.c (solaris_static_transform_name): New function.
Ian Lance Taylor [Thu, 9 Feb 1995 19:21:01 +0000 (19:21 +0000)]
* libiberty.h (basename): Change argument to be const.
Jeff Law [Thu, 9 Feb 1995 19:16:47 +0000 (19:16 +0000)]
* somread.c (som_symtab_read): Handle dynamic relocation for both
text and data symbols.
(som_symfile_offsets): If objfile is a shared library, then get
text and data offsets from the shared library structures.
* somsolib.c (som_solib_add): Copy the bfd pointer from the
objfile rather than reopening the file again.
(som_solib_section_offsets): New function.
* somsolib.h (som_solib_section_offsets): Declare.
Jeff Law [Thu, 9 Feb 1995 17:58:59 +0000 (17:58 +0000)]
* gas/hppa/reloc/applybug.s: New test.
* gas/hppa/reloc/reloc.exp (do_applybug_test): Run it.
Jeff Law [Thu, 9 Feb 1995 17:44:30 +0000 (17:44 +0000)]
* config/tc-hppa.c (md_apply_fix): In some cases subtract the
value of the add symbol from valp. Offsets braindamage in the
"machine independent" fixup_segment.
Ian Lance Taylor [Thu, 9 Feb 1995 17:34:44 +0000 (17:34 +0000)]
update dependencies
Ian Lance Taylor [Thu, 9 Feb 1995 17:19:53 +0000 (17:19 +0000)]
* i386linux.c (NEEDS_SHRLIB): Define.
(linux_tally_symbols): Crash if a NEEDS_SHRLIB symbol is
undefined. From hjl@nynexst.com (H.J. Lu).
Ian Lance Taylor [Thu, 9 Feb 1995 17:03:47 +0000 (17:03 +0000)]
* elfcode.h (elf_bfd_final_link): Add assertion to make sure that
dynamic and dynobj are in synch.
Ian Lance Taylor [Thu, 9 Feb 1995 16:41:28 +0000 (16:41 +0000)]
* lexsup.c (parse_args): For -V, call ldversion with 1, not 0.
* ld.texinfo, ld.1: Update accordingly.
Ian Lance Taylor [Thu, 9 Feb 1995 16:31:54 +0000 (16:31 +0000)]
fix comments
Ian Lance Taylor [Thu, 9 Feb 1995 16:05:25 +0000 (16:05 +0000)]
* mh-linux (SYSV): Don't define.
(RANLIB): Don't define.
Jim Kingdon [Thu, 9 Feb 1995 07:00:45 +0000 (07:00 +0000)]
* config/sparc/tm-sun4sol2.h, dbxread.c: Rename
N_SO_ADDRESS_MAYBE_MISSING to SOFUN_ADDRESS_MAYBE_MISSING.
* symtab.h (minimal_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: Add
filename field.
* elfread.c (record_minimal_symbol_and_info),
minsyms.c, symtab.h (prim_record_minimal_symbol_and_info): Return
newly created symbol.
* elfread.c (elf_symtab_read) [SOFUN_ADDRESS_MAYBE_MISSING]:
Set filename field of minimal symbol.
* symmisc.c (dump_msymbols) [SOFUN_ADDRESS_MAYBE_MISSING]:
Print filename field.
* minsyms.c, symtab.h (lookup_minimal_symbol): New arg sfile.
* symm-tdep.c, somsolib.c, hppa-tdep.c, c-exp.y, f-exp.y,
m2-exp.y, nindy-tdep.c, m3-nat.c, irix5-nat.c, hpread.c,
os9kread.c, breakpoint.c, alpha-tdep.c, valops.c, symtab.c,
printcmd.c, dbxread.c: Change callers to pass NULL for sfile.
* dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
Find address of function from minimal symbols.
* partial-stab.h, case 'f', 'F': Call find_stab_function_addr
instead of getting pst->textlow from the stab.
* minsyms.c (find_stab_function_addr): New function.
Rob Savoye [Thu, 9 Feb 1995 02:21:40 +0000 (02:21 +0000)]
* monitor.c: Fix so all the output shows up in the GUI command
window.
Stan Shebs [Thu, 9 Feb 1995 01:32:35 +0000 (01:32 +0000)]
* i960-dis.c (struct tabent, struct sparse_tabent): Declare the
char fields as signed chars, since they may have negative values.
Fixes PR 6290.
Ken Raeburn [Wed, 8 Feb 1995 23:57:26 +0000 (23:57 +0000)]
* messages.c (as_abort): New function.
* as.h (as_abort): Declare it.
(abort): New macro.
Ken Raeburn [Wed, 8 Feb 1995 23:52:51 +0000 (23:52 +0000)]
Thu Jan 19 18:10:05 1995 Pat Rankin (rankin@eql.caltech.edu)
* config/vms-conf.h (HAVE_UNISTD_H): define it unconditionally.
* config-gas.com: test for availability of <unistd.h>; create a rudimentary
one if necessary.
Ian Lance Taylor [Wed, 8 Feb 1995 22:57:48 +0000 (22:57 +0000)]
* linker.c (generic_link_check_archive_element): Allocate common
symbol information structure. Don't bother to check for common
symbol size overflow.
(_bfd_generic_link_add_one_symbol): Likewise.
* aoutx.h (aout_link_check_ar_symbols): Likewise.
* linker.c (generic_link_check_archive_element): Adjust references
to common symbol information for new structure.
(_bfd_generic_link_add_one_symbol): Likewise.
* aoutx.h (aout_link_check_ar_symbols): Likewise.
(aout_link_add_symbols): Likewise.
* ecoff.c (ecoff_link_add_externals): Likewise.
* elfcode.h (elf_link_add_object_symbols): Likewise.
(elf_link_output_extsym): Likewise.
* sunos.c (sunos_add_one_symbol): Likewise.
Ian Lance Taylor [Wed, 8 Feb 1995 22:56:15 +0000 (22:56 +0000)]
* ldlang.c (lang_one_common): Adjust references to common symbol
information for new structure.
Ken Raeburn [Wed, 8 Feb 1995 22:55:11 +0000 (22:55 +0000)]
keep utils.{c,h}
Ian Lance Taylor [Wed, 8 Feb 1995 22:53:50 +0000 (22:53 +0000)]
* bfdlink.h (struct bfd_link_hash_entry): Change format of common
symbol information, to remove restrictions on maximum size and
alignment power, by using a pointer to a structure instead.
David Edelsohn [Wed, 8 Feb 1995 20:58:01 +0000 (20:58 +0000)]
elfcode.h (elf_sort_hdrs): Put SHT_NOBITS sections after !SHT_NOBITS.
Ken Raeburn [Wed, 8 Feb 1995 02:35:44 +0000 (02:35 +0000)]
ran "indent -gnu"; have not fixed block comment style
Jeff Law [Tue, 7 Feb 1995 23:29:08 +0000 (23:29 +0000)]
* som.c (som_bfd_find_nearest_line): Just return false, don't
abort.
Ken Raeburn [Tue, 7 Feb 1995 22:59:13 +0000 (22:59 +0000)]
updated for added/removed files
Ken Raeburn [Tue, 7 Feb 1995 22:34:18 +0000 (22:34 +0000)]
Lots of changes from David Mosberger-Tang; see ChangeLog and NOTES for details:
Alpha support.
Long options.
New file format to support more information; backwards compatibility.
Line-level profiling, on systems where bfd_find_nearest_line works.
Selective display of data.
Ken Raeburn [Tue, 7 Feb 1995 20:06:28 +0000 (20:06 +0000)]
clean up mechanics of mosberger-tang's changes
Ian Lance Taylor [Tue, 7 Feb 1995 19:22:43 +0000 (19:22 +0000)]
* ecoffswap.h (ecoff_swap_pdr_in): Zero out intern before setting
any of the fields.
Ken Raeburn [Tue, 7 Feb 1995 19:14:32 +0000 (19:14 +0000)]
keep new msdos files
Michael Meissner [Tue, 7 Feb 1995 18:42:04 +0000 (18:42 +0000)]
Add support for powerpc-*-eabi in configure.in, rebuild configure.
Jeff Law [Tue, 7 Feb 1995 18:20:57 +0000 (18:20 +0000)]
Apparently I forgot to commit this change:
* config/tc-hppa.c (md_apply_fix): Go ahead and call
hppa_field_adjust to get a new value for R_DATA_ONE_SYMBOL
relocations in SOM.
(hppa_fix_adjustable): Refine somewhat.
Jim Kingdon [Tue, 7 Feb 1995 04:46:18 +0000 (04:46 +0000)]
Fix it so whitespace works out right even with sanitization
Stan Shebs [Tue, 7 Feb 1995 03:01:16 +0000 (03:01 +0000)]
* i386-tdep.c (_initialize_i386_tdep): Put void decl on separate
line, so init.c generation works correctly.
start-sanitize-arc
* arc-tdep.c (_initialize_arc_tdep): Ditto.
end-sanitize-arc
Stan Shebs [Tue, 7 Feb 1995 02:44:25 +0000 (02:44 +0000)]
various ChangeLog housekeeping, and
Sat Feb 4 13:29:52 1995 Stan Shebs <shebs@andros.cygnus.com>
* config/m68k/est.mt (TDEPFILES): Remove m68k-pinsn.o.
Ken Raeburn [Tue, 7 Feb 1995 01:06:25 +0000 (01:06 +0000)]
ecoff gprof related fixes & improvements from David Mosberger-Tang
Ian Lance Taylor [Mon, 6 Feb 1995 23:24:20 +0000 (23:24 +0000)]
* ldmain.c (undefined_symbol): Handle section being NULL.
Ian Lance Taylor [Mon, 6 Feb 1995 23:23:37 +0000 (23:23 +0000)]
* libelf.h (struct elf_link_hash_table): Add saw_needed field.
* elfcode.h (elf_link_add_object_symbols): Set saw_needed if
DT_NEEDED seen in .dynamic section.
(elf_link_output_extsym): Warn if an undefined symbol is
only referenced from a dynamic object, and not making a shared
object, and saw_needed is false.
* elf.c (_bfd_elf_link_hash_table_init): Initialize saw_needed.
Ian Lance Taylor [Mon, 6 Feb 1995 23:19:34 +0000 (23:19 +0000)]
update comment
Rob Savoye [Mon, 6 Feb 1995 22:09:35 +0000 (22:09 +0000)]
Fix string signifing the right target name.
Rob Savoye [Mon, 6 Feb 1995 22:00:10 +0000 (22:00 +0000)]
* config/mips/idt.mt: Add support for the lsi33k target.
* config/sparc/sun4sol2.mh: Add support for ser-tcp.
Rob Savoye [Mon, 6 Feb 1995 21:48:44 +0000 (21:48 +0000)]
* config/mips/idt.mt: Add support for ser-tcp and the lsi33k
target.
* array-rom.c: Finish the rest of the support commands needed by
GDB.
* mips-tdep.c: Add LSI33k register names and processor type.
Rob Savoye [Mon, 6 Feb 1995 21:43:21 +0000 (21:43 +0000)]
Add the rest of the commands needed by GDB.
Rob Savoye [Mon, 6 Feb 1995 21:41:28 +0000 (21:41 +0000)]
Add support for ser-tcp and the Array lsi33k target.
Ian Lance Taylor [Mon, 6 Feb 1995 21:34:44 +0000 (21:34 +0000)]
* libelf.h (ELF_LINK_HASH_DEFINED_WEAK): Don't define.
* elfcode.h (elf_link_add_object_symbols): Don't clear or set
ELF_LINK_HASH_DEFINED_WEAK.
(elf_link_output_extsym): Don't check ELF_LINK_HASH_DEFINED_WEAK.
Ian Lance Taylor [Mon, 6 Feb 1995 20:12:54 +0000 (20:12 +0000)]
tipo
Ian Lance Taylor [Mon, 6 Feb 1995 20:01:38 +0000 (20:01 +0000)]
* ldctor.c (ldctor_build_sets): Handle bfd_link_hah_defweak.
* ldexp.c (fold_name): Likewise.
* ldlang.c (print_one_symbol): Likewise.
(lang_finish): Likewise.
* ldmain.c (multiple_common): Likewise.
* ldwrite.c (print_symbol): Likewise. Also, bfd_link_hash_weak
renamed to bfd_link_hash_undefweak.
Ian Lance Taylor [Mon, 6 Feb 1995 20:01:08 +0000 (20:01 +0000)]
Distinguish a weak defined symbol from a regular defined symbol.
* linker.c (enum link_action): Add DEFW.
(link_action): Add bfd_link_hash_defweak column.
(_bfd_generic_link_add_one_symbol): Add DEFW case. Handle
bfd_link_hash_defweak in a few other cases.
* Many files (bfd_link_hash_undefweak): Renamed from
bfd_link_hash_weak.
* aoutx.h (aout_link_write_symbols): Handle bfd_link_hash_defweak.
(aout_link_write_other_symbol): Likewise.
(aout_link_input_section_std): Likewise.
(aout_link_input_section_ext): Likewise.
* bout.c (get_value): Likewise.
* coff-a29k.c (coff_a29k_relocate_section): Likewise.
* coff-alpha.c (alpha_convert_external_reloc): Likewise.
(alpha_relocate_section): Likewise.
* coff-mips.c (mips_relocate_section): Likewise.
(mips_relax_section): Likewise.
(bfd_mips_ecoff_create_embedded_relocs): Likewise.
* cofflink.c (coff_write_global_sym): Likewise.
(_bfd_coff_generic_relocate_section): Likewise.
* ecoff.c (ecoff_link_add_externals): Likewise.
(ecoff_link_write_external): LIkewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
(elf32_hppa_size_stubs): Likewise.
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise.
(elf_i386_relocate_section): Likewise.
(elf_i386_finish_dynamic_symbol): Likewise.
* elf32-mips.c (mips_elf_output_extsym): Likewise.
(mips_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
(elf32_sparc_relocate_section): Likewise.
* elfcode.h (elf_link_add_object_symbols): Likewise.
(elf_adjust_dynamic_symbol): Likewise.
(elf_bfd_final_link): Likewise.
(elf_link_output_extsym): Likewise.
* i386linux.c (linux_add_one_symbol): Likewise.
(linux_tally_symbols): Likewise.
(linux_finish_dynamic_link): Likewise.
* linker.c (_bfd_generic_link_output_symbols): Likewise.
(set_symbol_from_hash): Likewise.
* reloc16.c (bfd_coff_reloc16_get_value): Likewise.
(bfd_perform_slip): Likewise.
* sunos.c (sunos_add_one_symbol): Likewise.
(sunos_scan_std_relocs): Likewise.
(sunos_scan_ext_relocs): Likewise.
(sunos_scan_dynamic_symbol): Likewise.
(sunos_write_dynamic_symbol): Likewise.
Ian Lance Taylor [Mon, 6 Feb 1995 19:56:27 +0000 (19:56 +0000)]
* bfdlink.h (enum bfd_link_hash_type): Rename bfd_link_hash_weak
to bfd_link_hash_undefweak. Add bfd_link_hash_defweak.
J.T. Conklin [Mon, 6 Feb 1995 19:00:40 +0000 (19:00 +0000)]
* i386.h: added cpuid instruction , and dr[0-7] aliases for the
debug registers. From Charles Hannum (mycroft@netbsd.org).
J.T. Conklin [Mon, 6 Feb 1995 18:56:53 +0000 (18:56 +0000)]
* i386-dis.c (dis386_twobyte): Add cpuid, From Charles Hannum
(mycroft@netbsd.org).
Ian Lance Taylor [Mon, 6 Feb 1995 17:18:57 +0000 (17:18 +0000)]
* scripttempl/alpha.sc: Set address of .data section correctly
when -n or -N is used. Patch from Chris G Demetriou
<Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>.
Ken Raeburn [Mon, 6 Feb 1995 08:53:05 +0000 (08:53 +0000)]
Bryan Ford's changes for 16-bit i386 support, and i386-msdos support.
Ken Raeburn [Mon, 6 Feb 1995 08:38:27 +0000 (08:38 +0000)]
i386 16-bit mode support from bryan ford
Ken Raeburn [Mon, 6 Feb 1995 08:31:27 +0000 (08:31 +0000)]
msdos .exe file support from bryan ford
Jim Kingdon [Mon, 6 Feb 1995 04:39:14 +0000 (04:39 +0000)]
* gdbtk.c (gdb_disassemble): Deference pointer to function before
calling it (pre-ANSI compilers generally require this).
Jim Kingdon [Sun, 5 Feb 1995 01:02:40 +0000 (01:02 +0000)]
* Makefile.in (site.exp): Set host_alias and target_alias as well
as host_triplet and target_triplet.
Jim Wilson [Sat, 4 Feb 1995 20:12:40 +0000 (20:12 +0000)]
* config.guess (IRIX): Sed - to _.
Kung Hsu [Sat, 4 Feb 1995 00:55:51 +0000 (00:55 +0000)]
* arc.mt: add SER_HARDWIRE=ser-go32-para.o, to overwrite host .mh.
Kung Hsu [Sat, 4 Feb 1995 00:54:15 +0000 (00:54 +0000)]
* go32.mh, xm-go32.h: redundant files, not needed.
Kung Hsu [Sat, 4 Feb 1995 00:51:30 +0000 (00:51 +0000)]
* ser-go32-para.c (dos_read): fix syntax errors.
Ken Raeburn [Sat, 4 Feb 1995 00:11:07 +0000 (00:11 +0000)]
* objdump.c (disassemble_data): Pass section offset, not absolute address, to
bfd_find_nearest_line.
* nlmconv.c (powerpc_mangle_relocs): Don't use const with reloc_howto_type.
J.T. Conklin [Fri, 3 Feb 1995 19:56:27 +0000 (19:56 +0000)]
* Makefile.in (source-vault, binary-vault): New targets.
Stu Grossman [Fri, 3 Feb 1995 19:35:54 +0000 (19:35 +0000)]
* core.c (dis_asm_read_memory), defs.h, gdbtk.c (gdb_disassemble),
top.c : Get rid of dis_asm_read_memory_hook. We can now call the
disassemblers directly and have no need for this hook anymore.
* defs.h, printcmd.c: Make print_insn be static.
* ser-go32.c (dos_comisr): Make this 8 bit clean.
* (dos_open dos_close): Allow multiple opens to the same device.
Use a ref count to prevent unwanted deallocations.
* sparcl-tdep.c: Put #ifdefs around all socket stuff to make GO32
happy.
* (sparclite_ops): Switch to download_stratum.
* target.h (enum strata): Move download_stratum before
process_stratum so that executable targets get pushed on top of
download targets.
Rob Savoye [Fri, 3 Feb 1995 02:08:08 +0000 (02:08 +0000)]
* array-rom.c: Remove the non GDB remote protocol config stuff.
* monitor.c: All reading/writing functions for memory and
registers work.
Kung Hsu [Fri, 3 Feb 1995 00:25:02 +0000 (00:25 +0000)]
* For arc specific changes.
Kung Hsu [Fri, 3 Feb 1995 00:23:22 +0000 (00:23 +0000)]
* arc-tdep.c: new target dependent codes for arc processor.
* remote-arc.c: new file for arc-specific protocol through
parallel line.
* ser-go32-para.c: new file for go32 parallel port communication.
* .Sanitize: sanitize arc specific files out.
Kung Hsu [Fri, 3 Feb 1995 00:19:19 +0000 (00:19 +0000)]
* config/arc/.Sanitize: New file for config/arc directory.
* config/arc/arc.mt: new target makefile for arc processor.
* config/arc/tm-arc.h: new target header for arc processor.
* config/arc/go32.mh: new go32 host makefile for arc processor.
* config/arc/xm-go32.h: new go32 host header for arc processor.
Stan Shebs [Thu, 2 Feb 1995 22:02:20 +0000 (22:02 +0000)]
* Makefile.in (VERSION): Bump to 4.13.2.
Ken Raeburn [Thu, 2 Feb 1995 21:33:40 +0000 (21:33 +0000)]
vms fixes from pat rankin
Ken Raeburn [Thu, 2 Feb 1995 20:54:14 +0000 (20:54 +0000)]
under m68k description, indicate that only a subset of moto syntax is handled
Ken Raeburn [Thu, 2 Feb 1995 20:23:15 +0000 (20:23 +0000)]
* config/tc-m68k.c (cpu32_control_regs): New macro.
(m68k_init_after_args): Use it, for cpu32 processors.
Ken Raeburn [Thu, 2 Feb 1995 20:11:43 +0000 (20:11 +0000)]
update copyright
Jeff Law [Thu, 2 Feb 1995 07:39:23 +0000 (07:39 +0000)]
* gas/hppa/reloc/picreloc.c: New test.
* gas/hppa/reloc/reloc.exp (do_pic_relocation_test): Run it.
Per Bothner [Thu, 2 Feb 1995 05:23:51 +0000 (05:23 +0000)]
* f-typeprint.c (f_type_print_varspec_suffix): Print array index
ranges in reverse order.
* f-valprint.c (f77_create_arrayprint_offset_tbl): Fix calculation.
* eval.c (evaluate_subscript): Don't call value_subscript, since
it adjusts for lower bound and enforces ranges.
* expression.h (exp_code): Remove MULTI_F77_SUBSCRIPT, OP_F77_SUBSTR.
* eval.c, parse.c: Removed uses of removed opcodes.
Jim Kingdon [Thu, 2 Feb 1995 04:31:24 +0000 (04:31 +0000)]
* stabs.texinfo (Source Files): Document N_SO used to mark the end
of a source file.
Per Bothner [Thu, 2 Feb 1995 03:37:26 +0000 (03:37 +0000)]
* eval.c (evaluate_subexp): Clean up handling of
OP_UNDETERMINED_ARGLIST (no backtracking, more general).
* f-valprint.c (f_val_print): Print TYPE_CODE_STRING using
LA_PRINT_STRING, and not val_print_string (which reads from inferior).
* ch-lang.c (chill_is_varying_struct), ch-lang.h: Remve function
duplicate function made redundant by chill_varying_type.
Re-write of f77 string and complex number support:
* language.h (struct language_defn): New fields string_lower_bound
and string_char_type.
* c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn),
language.c (unknown_language_defn, auto_language_defn,
local_language_defn), m2-lang.c (m2_language_defn), f-lang.c
(f_language_defn), ch-lang.c (chill_language_defn): Set new fields.
* gdbtypes.c (create_string_type): Use new string_char_type field.
* valops.c (value_string): Use new string_lower_bound field.
* defs.h (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT): Removed.
* f-lang.c (f_create_fundamental_type, _initialize_f_language),
m2-lang.c (m2_create_fundamental_type),
gdbtypes.c (_initialize_gdbtypes): Set TYPE_TARGET_TYPE of complex
types. Set their TYPE_CODEs to TYPE_CODE_COMPLEX.
* mdebugread.c (mdebug_type_complex, mdebug_type_double_complex):
Removed. Use builtin_type_complex and builtin_type_double_complex.
* gdbtypes.h (enum type_code): Removed TYPE_CODE_LITERAL_STRING
and TYPE_CODE_LITERAL_COMPLEX.
* c-typeprint.c, f-typeprint.c, f-valprint.c, eval.c: Removed uses of
TYPE_CODE_LITERAL_STRING and TYPE_CODE_LITERAL_COMPLEX.
* gdbtypes.c, gdbtypes.h (f77_create_literal_complex_type,
f77_create_literal_string_type): Removed.
* value.h (VALUE_LITERAL_DATA, VALUE_SUBSTRING_MEMADDR,
VALUE_SUBSTRING_MYADDR): Removed.
* expression.h (enum exp_opcode): Rename OP_F77_LITERAL_COMPLEX to
OP_COMPLEX.
* parse.c: Update accordingly.
* f-valprint.c (f77_print_cmplx): Removed.
(f_val_print case TYPE_CODE_COMPLEX): Re-write to use print_floating.
* f-exp.y (STRING_LITERAL): Use OP_STRING instead of OP_ARRAY.
* eval.c (evaluate_subexp): For case OP_ARRAY, don't call
f77_value_literal_string.
* valops.c, value.h (f77_value_literal_string, f77_value_substring,
f77_assign_from_literal_string, f77_assign_from_literal_complex):
Removed.
(value_assign): No longer need to handle literal types.
* valops.c (f77_value_literal_complex), value.h: Re-written and
renamed to value_literal_complex. Last arg is now a (complex) type.
* valops.c (f77_cast_into_complex): Re-written and renamed to
cast_into_complex.
* eval.c (evaluate_subexp): Update accordingly.
Per Bothner [Thu, 2 Feb 1995 03:32:52 +0000 (03:32 +0000)]
* ch-valprint.c (chill_val_print): On TYPE_CODE_STRING, don't
print address for non-'s'-formats.
* ch-typeprint.c, ch-valprint.c: Use chill_varying_type instead
of chill_is_varying_struct.