binutils-gdb.git
28 years ago * dwarf2read.c (struct filenames): Change internal "struct file"
Fred Fish [Sat, 20 Jul 1996 18:33:27 +0000 (18:33 +0000)]
* dwarf2read.c (struct filenames): Change internal "struct file"
to "struct fileinfo" to avoid conflict with "struct file" in
<sys/file.h> on HPUX and Solaris.

28 years ago * gdbtk.tcl (delete_expr): Unset corresponding element of
Fred Fish [Sat, 20 Jul 1996 17:21:36 +0000 (17:21 +0000)]
* gdbtk.tcl (delete_expr): Unset corresponding element of
expr_update_list when destroying an expression.
(create_expr_window): Initialize expr_num, delete_expr_num,
and expr_update_list here when each new expression window
is created, rather than once at startup.
PR 9383

28 years ago * configure.in: Fix test for whether a compiler has a 64 bit
Ian Lance Taylor [Fri, 19 Jul 1996 22:16:50 +0000 (22:16 +0000)]
* configure.in: Fix test for whether a compiler has a 64 bit
type.  From Jim Wilson <wilson@cygnus.com>.
VS: ----------------------------------------------------------------------

28 years agoAlways keep dwarf2read.c
Stan Shebs [Fri, 19 Jul 1996 21:31:55 +0000 (21:31 +0000)]
Always keep dwarf2read.c

28 years ago * dwarf2read.c: New file, DWARF 2 reader originally contributed by
Stan Shebs [Fri, 19 Jul 1996 21:16:13 +0000 (21:16 +0000)]
* dwarf2read.c: New file, DWARF 2 reader originally contributed by
Brent Benson, with additions by Gary Funck and Jerry Kreuscher.
* Makefile.in (COMMON_OBS): Add dwarf2read.o.
(SFILES): Add dwarf2read.c.
(dwarf2read.o): Add build rule.
* symfile.h (dwarf2_has_info, dwarf2_build_psymtabs): Declare
exported functions.
* elfread.c (elf_symfile_read): Call them.
(elf_symtab_read) [HARRIS_TARGET]: Skip some special symbols.

28 years agoalways keep dwarf2.h
Stan Shebs [Fri, 19 Jul 1996 02:21:15 +0000 (02:21 +0000)]
always keep dwarf2.h

28 years ago * dwarf2.h: New file.
Stan Shebs [Fri, 19 Jul 1996 02:19:29 +0000 (02:19 +0000)]
* dwarf2.h: New file.

28 years ago * configure.in: Set and substitute VERSION, BFD_HOST_64BIT_LONG
Ian Lance Taylor [Fri, 19 Jul 1996 00:48:20 +0000 (00:48 +0000)]
* configure.in: Set and substitute VERSION, BFD_HOST_64BIT_LONG
(replacing HOST_64BITLONG), BFD_HOST_64_BIT_DEFINED,
BFD_HOST_64_BIT, and BFD_HOST_U_64_BIT.  Add bfd-in2.h:bfd-in2.h
to AC_OUTPUT call.
* configure: Rebuild.
* bfd-in.h (BFD_ARCH_SIZE): Define as @wordsize@, not @WORDSIZE@.
(BFD_HOST_64_BIT): Define conditionally.
(BFD_HOST_U_64_BIT): Define when BFD_HOST_64_BIT is defined.
(bfd_vma): Typedef as BFD_HOST_U_64_BIT.
(symvalue, bfd_size_type): Likewise.
* bfd-in2.h: Rebuild.
* Makefile.in (do_clean): Remove bfd-tmp.h.
(do_distclean): Remove bfd-in3.h.
(stmp-bfd.h): Just do copy-if-change bfd-in3.h bfd.h.
(bfd-in3.h): New target.

28 years agorebuild
Ian Lance Taylor [Fri, 19 Jul 1996 00:46:50 +0000 (00:46 +0000)]
rebuild

28 years ago * configure.tgt (sparc*-*-sysv4*): New target. From Andrew Gierth
Ian Lance Taylor [Thu, 18 Jul 1996 21:40:06 +0000 (21:40 +0000)]
* configure.tgt (sparc*-*-sysv4*): New target.  From Andrew Gierth
<ANDREWG@microlise.co.uk>.

28 years ago From Andrew Gierth <ANDREWG@microlise.co.uk>:
Ian Lance Taylor [Thu, 18 Jul 1996 21:38:39 +0000 (21:38 +0000)]
From Andrew Gierth <ANDREWG@microlise.co.uk>:
* configure.in (sparc-*-sysv4*): New target.
* configure: Rebuild.

28 years ago * config.bfd (sparc-*-sysv4*): Don't build sunos_big_vec. From
Ian Lance Taylor [Thu, 18 Jul 1996 21:36:21 +0000 (21:36 +0000)]
* config.bfd (sparc-*-sysv4*): Don't build sunos_big_vec.  From
Andrew Gierth <ANDREWG@microlise.co.uk>.

28 years ago * configure.in: Call AC_SUBST (INSTALL_SHLIB).
Ian Lance Taylor [Thu, 18 Jul 1996 21:20:15 +0000 (21:20 +0000)]
* configure.in: Call AC_SUBST (INSTALL_SHLIB).
* configure: Rebuild.
* Makefile.in (install): Use @INSTALL_SHLIB@.

28 years ago * configure.host: Set INSTALL_SHLIB.
Ian Lance Taylor [Thu, 18 Jul 1996 21:19:11 +0000 (21:19 +0000)]
* configure.host: Set INSTALL_SHLIB.
* configure.in: Call AC_SUBST (INSTALL_SHLIB).
* configure: Rebuild.
* Makefile.in (install): Use @INSTALL_SHLIB@.

28 years ago * config/tc-sparc.c (md_pseudo_table): Change uahalf, uaword, and
Ian Lance Taylor [Thu, 18 Jul 1996 20:53:32 +0000 (20:53 +0000)]
* config/tc-sparc.c (md_pseudo_table): Change uahalf, uaword, and
uaxword to use s_uacons.
(sparc_no_align_cons): New static variable.
(s_uacons): New static function.
(sparc_cons_align): If sparc_no_align_cons is set, just clear it
and return.

28 years ago * configure.host: Change irix5 to irix[56]*.
Ian Lance Taylor [Thu, 18 Jul 1996 20:35:34 +0000 (20:35 +0000)]
* configure.host: Change irix5 to irix[56]*.
* configure.tgt: Likewise.

28 years agostart-sanitize-d10v
Martin Hunt [Thu, 18 Jul 1996 20:35:14 +0000 (20:35 +0000)]
start-sanitize-d10v
Thu Jul 18 13:20:39 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* common.h (EM_CYGNUS_D10V): Redefine.
end-sanitize-d10v

28 years ago * configure.in: Add mips-*-irix6* target. Handle Irix 6 like Irix
Ian Lance Taylor [Thu, 18 Jul 1996 20:34:52 +0000 (20:34 +0000)]
* configure.in: Add mips-*-irix6* target.  Handle Irix 6 like Irix
5 with regard to shared libraries.
* configure: Rebuild.

28 years ago * config.bfd (mips*-*-irix6*): New target.
Ian Lance Taylor [Thu, 18 Jul 1996 20:33:22 +0000 (20:33 +0000)]
* config.bfd (mips*-*-irix6*): New target.
* configure.host: Handle Irix 6 shared library like Irix 5.

28 years agoFix warning generated under AIX 4.1.4
Michael Meissner [Thu, 18 Jul 1996 20:01:29 +0000 (20:01 +0000)]
Fix warning generated under AIX 4.1.4

28 years ago * config/tc-m68k.c (m68k_ip): Use the correct length when
Ian Lance Taylor [Thu, 18 Jul 1996 19:56:40 +0000 (19:56 +0000)]
* config/tc-m68k.c (m68k_ip): Use the correct length when
allocating space for the unsupported architecture error message.

28 years agoadd comments about magic numbers
Ian Lance Taylor [Thu, 18 Jul 1996 19:49:56 +0000 (19:49 +0000)]
add comments about magic numbers

28 years ago * xcofflink.c (xcoff_link_add_symbols): Don't check an XMC_TD
Ian Lance Taylor [Thu, 18 Jul 1996 19:41:35 +0000 (19:41 +0000)]
* xcofflink.c (xcoff_link_add_symbols): Don't check an XMC_TD
symbol for a magic name.
(xcoff_link_input_bfd): Don't change the reloc symbol for an
XMC_TD symbol.
(_bfd_ppc_xcoff_relocate_section): Don't get the TOC offset for an
XMC_TD symbol.

28 years ago * mpw-config.in: Add ELF support to mips config, create the
Stan Shebs [Thu, 18 Jul 1996 18:42:06 +0000 (18:42 +0000)]
* mpw-config.in: Add ELF support to mips config, create the
elf32-target.h file in the object dir.
* mpw-make.sed: Edit elfXX-target.h refs at beginnings of lines.

28 years agoMinor tweaks to d10v configuration
Michael Meissner [Thu, 18 Jul 1996 16:59:15 +0000 (16:59 +0000)]
Minor tweaks to d10v configuration

28 years agoThu Jul 18 01:22:01 1996 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 18 Jul 1996 08:29:09 +0000 (08:29 +0000)]
Thu Jul 18 01:22:01 1996  Geoffrey Noer  <noer@cygnus.com>

        * symfile.c (symfile_bfd_open):
        * exec.c (exec_file_command): for __GO32__ and __WIN32__ systems,
        free the user from having to type the .exe extension.

28 years ago * gencode.c (process_instructions): Generate word64 and uword64
Stu Grossman [Thu, 18 Jul 1996 01:21:16 +0000 (01:21 +0000)]
* gencode.c (process_instructions):  Generate word64 and uword64
instead of `long long' and `unsigned long long' data types.
* interp.c:  #include sysdep.h to get signals, and define default
for SIGBUS.
* (Convert):  Work around for Visual-C++ compiler bug with type
conversion.
* support.h:  Make things compile under Visual-C++ by using
__int64 instead of `long long'.  Change many refs to long long
into word64/uword64 typedefs.

28 years agoRemoved debug, fixed diagnostics, etc
Kim Knuttila [Thu, 18 Jul 1996 01:04:14 +0000 (01:04 +0000)]
Removed debug, fixed diagnostics, etc

28 years agostart-sanitize-d10v
Martin Hunt [Thu, 18 Jul 1996 00:53:17 +0000 (00:53 +0000)]
start-sanitize-d10v
        Wed Jul 17 14:33:09 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
        * configure.in (d10v-*-*): New target.
end-sanitize-d10v

28 years agostart-sanitize-d10v
Martin Hunt [Thu, 18 Jul 1996 00:49:26 +0000 (00:49 +0000)]
start-sanitize-d10v
        Wed Jul 17 14:39:05 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
        * configure: (bfd_d10v_arch) Add new case.
        * configure.in: (bfd_d10v_arch) Add new case.
        * d10v-dis.c: New file.
        * d10v-opc.c: New file.
        * disassemble.c (disassembler) Add entry for d10v.
end-sanitize-d10v

28 years agostart-sanitize-d10v
Martin Hunt [Thu, 18 Jul 1996 00:47:05 +0000 (00:47 +0000)]
start-sanitize-d10v
        Wed Jul 17 14:51:52 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
        * Makefile.in (ALL_MACHINES): Add cpu-d10v.o
        (BFD32_BACKENDS) Add elf32-d10v.o
        * archures.c: Add bfd_d10v_arch.
        * bfd-in2.h: Add bfd_d10v_arch.
        * config.bfd (d10v-*-*): New target.
        * configure: (bfd_elf32_d10v_vec) New vector.
        * configure.in: (bfd_elf32_d10v_vec) New vector.
        * cpu-d10v.c: New file.
        * elf.c (prep_headers): Added case bfd_arch_d10v.
        * elf32-d10v.c: New file.
        * libbfd.h: Rebuild.
        * reloc.c (BFD_RELOC_D10V_10_PCREL_R, BFD_RELOC_D10V_10_PCREL_L, BFD_RELOC_D10V_18,
          BFD_RELOC_D10V_18_PCREL): Define.
        * targets.c (bfd_elf32_d10v_vec): New vector.
end-sanitize-d10v

28 years ago * common.h (EM_CYGNUS_D10V): Define.
Martin Hunt [Thu, 18 Jul 1996 00:41:45 +0000 (00:41 +0000)]
    * common.h (EM_CYGNUS_D10V): Define.

28 years agostart-sanitize-d10v
Martin Hunt [Thu, 18 Jul 1996 00:41:43 +0000 (00:41 +0000)]
start-sanitize-d10v
        Wed Jul 17 14:45:12 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
        * dis-asm.h: (print_insn_d10v): Declare.
end-sanitize-d10v

28 years agostart-sanitize-d10v
Martin Hunt [Thu, 18 Jul 1996 00:40:48 +0000 (00:40 +0000)]
start-sanitize-d10v
        Wed Jul 17 14:46:38 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
        * d10v.h: New file.
end-sanitize-d10v

28 years agostart-sanitize-d10v
Martin Hunt [Thu, 18 Jul 1996 00:39:03 +0000 (00:39 +0000)]
start-sanitize-d10v
        Wed Jul 17 14:25:13 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
        * config/tc-d10v.c: New file.
        * config/tc-d10v.h: New file.
        * configure (d10v-*-elf): New target.
        * configure.in (d10v-*-elf): New target.
end-sanitize-d10v

28 years agoPay attention to return code
Kim Knuttila [Thu, 18 Jul 1996 00:04:58 +0000 (00:04 +0000)]
Pay attention to return code

28 years agoRemoved bogus printf
Kim Knuttila [Wed, 17 Jul 1996 18:10:20 +0000 (18:10 +0000)]
Removed bogus printf

28 years agoStrip prefix '.'s from name
Kim Knuttila [Wed, 17 Jul 1996 17:55:38 +0000 (17:55 +0000)]
Strip prefix '.'s from name

28 years agoWed Jul 17 10:12:05 1996 J.T. Conklin <jtc@rtl.cygnus.com>
J.T. Conklin [Wed, 17 Jul 1996 17:18:13 +0000 (17:18 +0000)]
Wed Jul 17 10:12:05 1996  J.T. Conklin  <jtc@rtl.cygnus.com>

        * m68k-opc.c (m68k_opcodes): Fix bugs in coldfire insns relating
        to bcc, trapfl, subxl, and wddata discovered by Andreas Schwab.

28 years ago * mon960-rom.c: Shorten the mon960_inits string to a single
Mark Alexander [Wed, 17 Jul 1996 14:00:46 +0000 (14:00 +0000)]
* mon960-rom.c: Shorten the mon960_inits string to a single
carriage return; this prevents a hang on connecting immediately
after powerup, when MON960 is attempting autobaud detection.

28 years agoremove sanitization accidentally inserted in last commit
Ian Lance Taylor [Wed, 17 Jul 1996 13:28:31 +0000 (13:28 +0000)]
remove sanitization accidentally inserted in last commit

28 years ago * a29k-tdep.c (get_saved_register): Allow PC to be modified
Mark Alexander [Wed, 17 Jul 1996 06:52:31 +0000 (06:52 +0000)]
* a29k-tdep.c (get_saved_register): Allow PC to be modified
when innermost frame is selected, but not in outer frames.
PR 9012

28 years ago * archures.c bfd-in2.h: Add bfd_mach_i386_i386 and
Stu Grossman [Wed, 17 Jul 1996 06:51:21 +0000 (06:51 +0000)]
* archures.c bfd-in2.h:  Add bfd_mach_i386_i386 and
bfd_mach_i386_i8086 machine types.

28 years ago * command.c (do_setshow_command): Don't segfault when showing
Stu Grossman [Wed, 17 Jul 1996 06:41:25 +0000 (06:41 +0000)]
* command.c (do_setshow_command):  Don't segfault when showing
var_string and var_string_noescape vars that are NULL.

From the fsf:
* solib.c (solib_absolute_prefix, solib_search_path): New variables.
(_initialize_solib): Add set/show commands for those variables.
(solib_map_sections): Implement searching using them.

28 years agoChanges from the FSF for Hurd thread support.
Stu Grossman [Wed, 17 Jul 1996 06:03:26 +0000 (06:03 +0000)]
Changes from the FSF for Hurd thread support.

28 years agooops!
Stu Grossman [Tue, 16 Jul 1996 00:03:38 +0000 (00:03 +0000)]
oops!

28 years ago * i386-dis.c (print_insn_i8086): New routine to disassemble using
Stu Grossman [Tue, 16 Jul 1996 00:01:50 +0000 (00:01 +0000)]
* i386-dis.c (print_insn_i8086):  New routine to disassemble using
the 8086 instruction set.
* i386-dis.c:  General cleanups.  Make most things static.  Add
prototypes.  Get rid of static variables aflags and dflags.  Pass
them as args (to almost everything).

28 years ago * dis-asm.h: Get rid of decls for print_insn_i8086,
Stu Grossman [Mon, 15 Jul 1996 23:59:26 +0000 (23:59 +0000)]
* dis-asm.h:  Get rid of decls for print_insn_i8086,
print_insn_sparc64 and print_insn_sparclite.
* (INIT_DISASSEMBLE_INFO):  Split into two pieces.  One,
INIT_DISASSEMBLE_INFO_NO_ARCH inits everything except for endian,
mach, and arch.

28 years ago * win32-nat.c (handle_load_dll): dos_path_to_unix_path renamed to
David Edelsohn [Mon, 15 Jul 1996 23:57:36 +0000 (23:57 +0000)]
* win32-nat.c (handle_load_dll): dos_path_to_unix_path renamed to
cygwin32_conv_to_posix_path.
(child_create_inferior): unix_path_to_dos_path renamed to
cygwin32_conv_to_win32_path.  Rewrite code to translate PATH.

28 years ago * defs.h printcmd.c: Create global disassemble_info structure
Stu Grossman [Mon, 15 Jul 1996 23:54:39 +0000 (23:54 +0000)]
* defs.h printcmd.c:  Create global disassemble_info structure
tm_print_insn_info.
* gdbtk.c (gdb_disassemble):  Setup di.mach from
tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER.
* i386-tdep.c (set_assembly_language_command):  set
tm_print_insn_info.mach to the appropriate value for 386 or 8086
disassembly.
* printcmd.c (print_insn):  Move init of disassembler_info to
_initialize_printcmd.  Set endian for disassembler here.
* sparc-tdep.c:  Set tm_print_insn_info.mach as appropriate to
select sparc/sparclite.
* config/sparc/{tm-sparc.h tm-sparclite.h}:  Get rid of
TM_PRINT_INSN.  Set TM_PRINT_INSN_MACH to
bfd_mach_sparc/bfd_mach_sparc_sparclite.

28 years ago * bfd-in2.h: Add bfd_mach_i386_i386 and bfd_mach_i386_i8086
Stu Grossman [Mon, 15 Jul 1996 23:41:21 +0000 (23:41 +0000)]
* bfd-in2.h:  Add bfd_mach_i386_i386 and bfd_mach_i386_i8086
machine types.

28 years ago * config.guess (HP 9000/811): Recognize this as a PA1.1
Jeff Law [Mon, 15 Jul 1996 17:52:39 +0000 (17:52 +0000)]
    * config.guess (HP 9000/811): Recognize this as a PA1.1
        machine.

28 years agoMon Jul 15 11:49:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Mon, 15 Jul 1996 15:58:00 +0000 (15:58 +0000)]
Mon Jul 15 11:49:49 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Round
  the value of __start_SECNAME to the alignment required by the
  section to be placed.

28 years agoCheck in an entry that somehow got missed long ago.
Fred Fish [Sat, 13 Jul 1996 14:55:30 +0000 (14:55 +0000)]
Check in an entry that somehow got missed long ago.

28 years ago * hpread.c (hpread_lookup_type): Use xmmalloc/xmrealloc rather
Fred Fish [Sat, 13 Jul 1996 05:34:40 +0000 (05:34 +0000)]
* hpread.c (hpread_lookup_type): Use xmmalloc/xmrealloc rather
than xmalloc/xrealloc.

28 years ago * mmap-sup.c (mmalloc_findbase): Change to not require /dev/zero
Fred Fish [Sat, 13 Jul 1996 05:24:44 +0000 (05:24 +0000)]
* mmap-sup.c (mmalloc_findbase): Change to not require /dev/zero
if MMAP_ANONYMOUS is available.

28 years agoFix thinko in previous patch
Fred Fish [Sat, 13 Jul 1996 04:50:40 +0000 (04:50 +0000)]
Fix thinko in previous patch

28 years ago* Makefile.in (do-tar-gz): New target, split out from tail end of taz target.
Ken Raeburn [Sat, 13 Jul 1996 03:22:47 +0000 (03:22 +0000)]
* Makefile.in (do-tar-gz): New target, split out from tail end of taz target.
Run each command separately, don't use pipes.
(taz): Use it.

28 years ago * objfiles.c (map_to_file): Error return from mmalloc_findbase is
Fred Fish [Sat, 13 Jul 1996 01:12:11 +0000 (01:12 +0000)]
* objfiles.c (map_to_file): Error return from mmalloc_findbase is
a NULL pointer, not a -1.
Fix oops from a previous checkin.

28 years agoRecognize and handle -K PIC
Michael Meissner [Sat, 13 Jul 1996 00:54:55 +0000 (00:54 +0000)]
Recognize and handle -K PIC

28 years ago * mpw-configure: Look for g-mpw-make.sed in config/mpw.
Stan Shebs [Fri, 12 Jul 1996 19:11:22 +0000 (19:11 +0000)]
* mpw-configure: Look for g-mpw-make.sed in config/mpw.
* mpw-build.in: No builds should depend on building byacc or flex,
they are assumed to be installed already.

28 years agoalways keep mpw subdir
Stan Shebs [Fri, 12 Jul 1996 19:05:17 +0000 (19:05 +0000)]
always keep mpw subdir

28 years ago * gdb.texinfo: Document `set assembly-language'.
Stu Grossman [Fri, 12 Jul 1996 18:11:24 +0000 (18:11 +0000)]
* gdb.texinfo:  Document `set assembly-language'.

28 years ago * dis-asm.h (print_insn_i8086): Declare.
Stu Grossman [Fri, 12 Jul 1996 17:20:17 +0000 (17:20 +0000)]
* dis-asm.h (print_insn_i8086):  Declare.

28 years ago * i386-tdep.c (set_assembly_language_command): New routine to
Stu Grossman [Fri, 12 Jul 1996 17:18:53 +0000 (17:18 +0000)]
* i386-tdep.c (set_assembly_language_command):  New routine to
select between i386 and i8086 instruction sets for disassembly.
New command `set assembly-language {i386 i8086}'.

28 years ago * i386-dis.c (print_insn_i8086): New routine to disassemble using
Stu Grossman [Fri, 12 Jul 1996 17:15:38 +0000 (17:15 +0000)]
* i386-dis.c (print_insn_i8086):  New routine to disassemble using
the 8086 instruction set.
* i386-dis.c:  General cleanups.  Make most things static.  Add
prototypes.  Get rid of static variables aflags and dflags.  Pass
them as args (to almost everything).

28 years agoSet r environment variable that CC_FOR_TARGET needs in CONFIGURE_TARGET_MODULES
Michael Meissner [Fri, 12 Jul 1996 13:54:37 +0000 (13:54 +0000)]
Set r environment variable that CC_FOR_TARGET needs in CONFIGURE_TARGET_MODULES

28 years ago * monitor.c (monitor_write_memory, monitor_read_memory_single):
Mark Alexander [Fri, 12 Jul 1996 04:18:13 +0000 (04:18 +0000)]
* monitor.c (monitor_write_memory, monitor_read_memory_single):
Disable use of "long long" memory read/write commands; can't
use them because we hold the values to read/write in an int
variable, and because strtoul fails on values that exceed the
size of a long.  This fixes breakpoint problems on MON960.

28 years ago * config/m68k/xm-hp300hpux.h (HAVE_MMAP): Remove definition.
Fred Fish [Fri, 12 Jul 1996 00:19:15 +0000 (00:19 +0000)]
* config/m68k/xm-hp300hpux.h (HAVE_MMAP): Remove definition.
* config/pa/xm-hppah.h (HAVE_MMAP): Ditto.

28 years agoCheck whether $(TARGET_SUBDIR)/$${dir} exists before trying to output --print-multi...
Michael Meissner [Thu, 11 Jul 1996 23:28:28 +0000 (23:28 +0000)]
Check whether $(TARGET_SUBDIR)/$${dir} exists before trying to output --print-multi-lib there

28 years ago * remote.texi: Update list of stubs in the GDB distribution.
Stan Shebs [Thu, 11 Jul 1996 20:53:41 +0000 (20:53 +0000)]
* remote.texi: Update list of stubs in the GDB distribution.
Humoring JT :-)

28 years ago * h8300-dis.c (bfd_h8_disassemble): Handle macregs in ldmac insns.
Jeff Law [Thu, 11 Jul 1996 19:06:21 +0000 (19:06 +0000)]
    * h8300-dis.c (bfd_h8_disassemble): Handle macregs in ldmac insns.
More HMSE.

28 years ago * h8300-dis.c (bfd_h8_disassemble): Handle "ldm.l" and "stm.l".
Jeff Law [Thu, 11 Jul 1996 18:59:57 +0000 (18:59 +0000)]
    * h8300-dis.c (bfd_h8_disassemble): Handle "ldm.l" and "stm.l".
More disassembler fixes.  HMSE.

28 years ago * h8300-dis.c (bfd_h8_disassemble): "abs" is implicitly two
Jeff Law [Thu, 11 Jul 1996 18:46:41 +0000 (18:46 +0000)]
    * h8300-dis.c (bfd_h8_disassemble): "abs" is implicitly two
        if the next arg is marked with SRC_IN_DST.  Gross.
Gross hack so that shift-by-two insns are disassembled correctly.

28 years ago * h8300-dis.c (bfd_h8_disassemble): Print "exr" when
Jeff Law [Thu, 11 Jul 1996 18:30:02 +0000 (18:30 +0000)]
    * h8300-dis.c (bfd_h8_disassemble): Print "exr" when
        we're looking for and find EXR.
So we disassemble andc/orc/xorc with exr correctly.

28 years ago * h8300-dis.c (bfd_h8_disassemble): We don't have a match
Jeff Law [Thu, 11 Jul 1996 18:24:59 +0000 (18:24 +0000)]
    * h8300-dis.c (bfd_h8_disassemble): We don't have a match
        if we're looking for KBIT and we don't find it.
So we don't disassemble "inc" instructions as "adds" instructions.

28 years ago * h8300.h (band, bclr): Force high bit of immediate nibble to zero.
Jeff Law [Thu, 11 Jul 1996 18:10:13 +0000 (18:10 +0000)]
    * h8300.h (band, bclr): Force high bit of immediate nibble to zero.
So we don't disassemble "biand" as "band".

28 years ago * h8300-dis.c (bfd_h8_disassemble): Mask off unwanted bits
Jeff Law [Thu, 11 Jul 1996 18:07:31 +0000 (18:07 +0000)]
   * h8300-dis.c (bfd_h8_disassemble): Mask off unwanted bits
       for L_3 and L_2.
So we only get values in the right range for L_3 (0..7) and L_2 (0..3).

28 years ago * h8300-dis.c (bfd_h8_disassemble): Don't set plen for
Jeff Law [Thu, 11 Jul 1996 17:58:43 +0000 (17:58 +0000)]
    * h8300-dis.c (bfd_h8_disassemble): Don't set plen for
        3bit immediate operands.
So we disassemble bXXX #IMM,@ADDRESS insns correctly.

28 years agoAutomagically reconfigure target directories whenever the multilib options change
Michael Meissner [Thu, 11 Jul 1996 14:17:12 +0000 (14:17 +0000)]
Automagically reconfigure target directories whenever the multilib options change

28 years ago * Makefile.in (MMALLOC_CFLAGS): Eliminate intermediate MMALLOC_DISABLE
Fred Fish [Thu, 11 Jul 1996 07:41:51 +0000 (07:41 +0000)]
* Makefile.in (MMALLOC_CFLAGS): Eliminate intermediate MMALLOC_DISABLE
and MMALLOC_CHECK macros, and add comment indicating how host dependent
makefile fragment should modify MMALLOC_CFLAGS to not use mmalloc, or
to use it but to not do heap corruption checking.
* gdbserver/Makefile.in: Ditto.
* utils.c (init_malloc): Replace warning() use with direct call of
fprintf_unfiltered, since current_target has not yet been set and thus
  we cannot use warning().  If we try to use mmcheck and it fails,
suggest that this configuration needs NO_MMCHECK or MMCHECK_FORCE
  defined.  Other small mmalloc related cleanups.
* config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1.
* config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Set to -DNO_MMCHECK.

* config/sparc/xm-sun4os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
* config/i386/xm-i386v4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
* config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
* config/m68k/xm-hp300hpux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
* config/m68k/xm-m68kv4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT);
* config/m68k/xm-sun3os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
* config/pa/xm-hppah.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
* config/sparc/xm-sun4sol2.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
Remove obsolete defines.

* config/alpha/alpha-linux.mh (MMALLOC_DISABLE):
* config/alpha/alpha-osf1.mh (MMALLOC_DISABLE):
* config/rs6000/rs6000.mh (MMALLOC_DISABLE):
* config/rs6000/aix4.mh (MMALLOC_DISABLE):
* config/powerpc/aix4.mh (MMALLOC_DISABLE):
* config/powerpc/aix.mh (MMALLOC_DISABLE):
* config/ns32k/ns32km3.mh (MMALLOC_DISABLE):
* config/mips/mipsm3.mh (MMALLOC_DISABLE):
* config/mips/decstation.mh (MMALLOC_DISABLE):
* config/m88k/cxux.mh (MMALLOC_DISABLE):
* config/i386/i386mk.mh (MMALLOC_DISABLE):
* config/i386/i386m3.mh (MMALLOC_DISABLE):
* config/i386/i386gnu.mh (MMALLOC_DISABLE):
Use MMALLOC_CFLAGS instead.

28 years ago * detach.c (mmalloc_detach): Fix bug in computation of negative
Fred Fish [Thu, 11 Jul 1996 07:36:27 +0000 (07:36 +0000)]
* detach.c (mmalloc_detach): Fix bug in computation of negative
brk value.
* mmcheck.c (mmcheckf): Renamed from mmcheck and new FORCE argument
added.  Replaced hack that always allowed checking routines to be
  installed and enforce restriction that they have to be installed
prior to allocating any memory on the used heap or the FORCE argument
has to be non-NULL.
(mmcheck): New function that calls mmcheckf with FORCE set to zero,
for backwards compatibility.
* mmalloc.c (malloc): Store result in local variable before
returning it.  Makes debugging much easier at negligible cost.
* mmalloc.h (mmcheckf): Declare.
* attach.c (reuse): Call mmcheckf rather than mmcheck.
* mmap-sup.c (__mmalloc_mmap_morecore): Improve to allow mmap
to select a base mapping address if none is otherwise given.
(mmalloc_findbase): New function that user can call to find
an available mapping address of a given size.

28 years ago * Makefile.in (ALL_MODULES,CROSS_CHECK_MODULES,INSTALL_MODULES,
David Edelsohn [Thu, 11 Jul 1996 01:58:46 +0000 (01:58 +0000)]
* Makefile.in (ALL_MODULES,CROSS_CHECK_MODULES,INSTALL_MODULES,
CLEAN_MODULES): Add bash.
(all-bash): New target.

28 years ago * stabs.c (stab_demangle_fund_type): Return a void * for a
Ian Lance Taylor [Wed, 10 Jul 1996 17:35:33 +0000 (17:35 +0000)]
* stabs.c (stab_demangle_fund_type): Return a void * for a
template, rather than simply aborting.

28 years agoWed Jul 10 12:39:08 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Wed, 10 Jul 1996 16:51:06 +0000 (16:51 +0000)]
Wed Jul 10 12:39:08 1996  Richard Henderson  <rth@tamu.edu>

* config/tc-alpha.c (alpha_align): Change fill parameter
to a pointer.  Take NULL as 0 or nop depending on section.  Change
all callers.
(s_alpha_align): Rename local variables.

* doc/as.texinfo (.align): Document action of omitted
fill parameter.

28 years ago * ecoff.c (_bfd_ecoff_new_section_hook): Set SEC_CODE for _INIT
Ian Lance Taylor [Wed, 10 Jul 1996 16:44:45 +0000 (16:44 +0000)]
* ecoff.c (_bfd_ecoff_new_section_hook): Set SEC_CODE for _INIT
and _FINI sections.

28 years agoWed Jul 10 11:18:21 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Wed, 10 Jul 1996 15:26:50 +0000 (15:26 +0000)]
Wed Jul 10 11:18:21 1996  Richard Henderson  <rth@tamu.edu>

* coffcode.h (coff_set_section_contents): A/UX does not require
special handling of the _LIB section.

28 years ago * h8300-tdep.c: Remove some outdated comments.
Jeff Law [Wed, 10 Jul 1996 04:44:23 +0000 (04:44 +0000)]
    * h8300-tdep.c: Remove some outdated comments.
        (h8300_skip_prologue): Rework to be more correct for the H8/300H.
        Handle stm.l insns for the H8/S.
        (examine_prologue): Likewise.
HMSE stuff.

28 years ago * app.c (do_scrub_chars): Remove not_cpp_line local variable.
Ian Lance Taylor [Wed, 10 Jul 1996 04:30:27 +0000 (04:30 +0000)]
* app.c (do_scrub_chars): Remove not_cpp_line local variable.
Instead, check state when '#' comment is seen.
PR 10073.

28 years ago * config/tc-ppc.c (md_apply_fix3): Give a useful error message
Ian Lance Taylor [Wed, 10 Jul 1996 04:26:38 +0000 (04:26 +0000)]
* config/tc-ppc.c (md_apply_fix3): Give a useful error message
when an unsupported PC relative reloc is seen, rather than calling
abort.
PR 10073.

28 years ago * compile.c (sim_resume): Fix all rotate-by-2-bits insns.
Jeff Law [Wed, 10 Jul 1996 04:15:17 +0000 (04:15 +0000)]
    * compile.c (sim_resume): Fix all rotate-by-2-bits insns.

28 years ago * ser-mac.c (mac_close): Change a typo SetSetBuf to SerSetBuf.
Raymond Jou [Wed, 10 Jul 1996 00:05:46 +0000 (00:05 +0000)]
* ser-mac.c (mac_close): Change a typo SetSetBuf to SerSetBuf.

28 years ago * coff-h8300.c (h8300_reloc16_extra_cases): Use the correct
Jeff Law [Tue, 9 Jul 1996 21:53:47 +0000 (21:53 +0000)]
    * coff-h8300.c (h8300_reloc16_extra_cases): Use the correct
        value for R_RELBYTE.
Something -Wall caught.

        * reloc16.c (bfd_coff_reloc16_relax_section): Only "shrinks"
        array if one was allocated.
Something I ran into today.

28 years agoForgot to commit .Sanitize after last checkin
Michael Meissner [Tue, 9 Jul 1996 17:43:08 +0000 (17:43 +0000)]
Forgot to commit .Sanitize after last checkin

28 years ago From Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>:
Ian Lance Taylor [Tue, 9 Jul 1996 16:28:04 +0000 (16:28 +0000)]
From Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>:
* elf32-mips.c (struct mips_elf_link_hash_table): Add new fields
use_rld_obj_head and rld_value.
(mips_elf_link_hash_table_create): Initialize new fields.
(mips_elf_add_symbol_hook): Mark __rld_obj_head symbol as
dynamic.
(mips_elf_create_dynamic_sections): Create .rld_map section.  If
__rld_obj_head symbol not seen, create an __rld_map symbol.
(mips_elf_size_dynamic_sections): Make space in .rld_map section.
Create a DT_MIPS_RLD_MAP entry rather than a DT_DEBUG entry.
(mips_elf_finish_dynamic_symbol): Save value of __rld_map or
__rld_obj_head symbol.
(mips_elf_finish_dynamic_sections): Handle DT_MIPS_RLD_MAP.

28 years ago * configure.tgt (mips*el-*-elf*): Use elf32elmip.
Ian Lance Taylor [Tue, 9 Jul 1996 16:13:56 +0000 (16:13 +0000)]
* configure.tgt (mips*el-*-elf*): Use elf32elmip.
(mips*-*-elf*): Use elf32ebmip.
* emulparams/elf32bmip.sh (EMBEDDED): Don't define.
* emulparams/elf32lmip.sh (EMBEDDED): Don't define.
* emulparams/elf32elmip.sh: New file; copy of elf32lmip.sh with
EMBEDDED defined.
* emulparams/elf32ebmip.sh: New file; copy of elf32bmip.sh with
EMBEDDED defined.
* emulparams/elf32b4300.sh (EMBEDDED): Define.
* emulparams/elf32l4300.sh (EMBEDDED): Define.
* Makefile.in (ALL_EMULATIONS): Add eelf32ebmip.o eelf32elmip.o.
(eelf32ebmip.c, eelf32elmip.c): New targets.
Irix 5 is not an embedded system.

28 years ago * alpha-opc.c: Add new case of "mov". From Klaus Kaempf
Ian Lance Taylor [Tue, 9 Jul 1996 14:57:34 +0000 (14:57 +0000)]
* alpha-opc.c: Add new case of "mov".  From Klaus Kaempf
<kkaempf@progis.ac-net.de>.

28 years ago * configure.in (mips-sgi-irix6*): Use mh-irix6 instead of mh-irix5.
Jim Wilson [Tue, 9 Jul 1996 00:34:43 +0000 (00:34 +0000)]
* configure.in (mips-sgi-irix6*): Use mh-irix6 instead of mh-irix5.

28 years agoAdd new config file for Irix 6.
Jim Wilson [Tue, 9 Jul 1996 00:32:21 +0000 (00:32 +0000)]
Add new config file for Irix 6.

28 years agoMon Jul 8 15:15:37 1996 Jason Merrill <jason@yorick.cygnus.com>
Jason Merrill [Mon, 8 Jul 1996 23:41:08 +0000 (23:41 +0000)]
Mon Jul  8 15:15:37 1996  Jason Merrill  <jason@yorick.cygnus.com>

* mt-sparcpic (PICFLAG_FOR_TARGET): Use -fPIC.

For consistency with mh-sparcpic and libgcc.a; SunOS 4 apparently doesn't
allow mixing of pic and PIC.