Commit Graph

19710 Commits

Author SHA1 Message Date
Ian Lance Taylor 0e1a8af17a * Makefile.am (check-DEJAGNU): Export r.
(.dep1): Use $(INCLUDES) rather than $(ALL_CFLAGS).
	* Makefile.in: Rebuild.

	* nlmheader.y: Use VERSIONK rather than VERSION.
1997-08-05 04:33:31 +00:00
Ian Lance Taylor ac413020df * Makefile.am (STRIP_PROG): Change from strip.new to strip-new.
(NM_PROG): Change from nm.new to nm-new.
	(TOOL_PROGS, install-exec-local): Adjust accordingly.
	* Makefile.in: Rebuild.
1997-08-05 04:04:31 +00:00
Ian Lance Taylor c641358e68 * configure.in: Remove AC_ARG_PROGRAM; it's invoked by
AM_INIT_AUTOMAKE.
	* configure: Rebuild.
1997-08-05 03:30:12 +00:00
Ian Lance Taylor 703f5e6e28 * config/tc-mips.c (macro): Fix handling of a double load from a
symbol plus an offset.
This is the test case, with -mips1:
	l.d	$f0,values+256
1997-08-04 21:00:37 +00:00
Ian Lance Taylor 7ab51306ae * Makefile.am (install-exec-local): Create $(tooldir)/bin before
trying to install anything into it.
	* Makefile.in: Rebuild.
1997-08-04 19:55:49 +00:00
Jason Merrill 6b4f31d97f * Makefile.in (EXTRA_GCC_FLAGS): Fix handling of macros with values
separated by spaces.

Fixes make 'LANGUAGES=c c++' all-gcc
1997-08-04 19:42:03 +00:00
Ian Lance Taylor bf2a3cb1af * Makefile.am (TOOL_PROGS): Use an explicit $(EXEEXT).
(install-exec-local): When handling $(noinst_PROGRAMS), only use
	$(EXEEXT) on the installed file.  When handling $(TOOL_PROGS),
	handle $(EXEEXT) correctly.
	* configure.in: Add an explicit $(EXEEXT) when substituting for
	the name of a program to build.
	* Makefile.in, configure: Rebuild.
1997-08-04 19:32:56 +00:00
Richard Henderson 0426955144 * config/tc-alpha.c (s_alpha_ucons): New function.
(md_pseudo_table): Add unaligned data pseudos for DWARF.
1997-08-04 18:02:56 +00:00
Ian Lance Taylor 8496c2a9b9 * aclocal.m4, configure, Makefile.in: Rebuild with new automake
patches.
1997-08-04 16:05:31 +00:00
Ian Lance Taylor e5b3abe4df * deflex.l, defparse.y: Use VERSIONK rather than VERSION.
* rclex.l, rcparse.y: Likewise.
	* Makefile.am (windres_SOURCES): Add $(BULIBS).
	* Makefile.in: Rebuild.
1997-08-04 15:51:44 +00:00
Ian Lance Taylor c5cb7682c6 * ecoff.c (ecoff_build_symbols): Set fMerge to 0 for an FDR which
has an associated external symbol.
PR 12962.
1997-08-04 15:29:23 +00:00
Peter Schauer 153da921f3 * c-valprint.c (c_val_print): Use extract_address to retrieve
the address of the virtual function.
	From Peter Bloecher (Peter.Bloecher@eedn.ericsson.se).

	* eval.c (evaluate_subexp_standard), valarith.c (value_x_unop):
	Handle C++ operator *.
1997-08-03 15:24:55 +00:00
Peter Schauer e6071dc57f * rs6000-core.c (make_bfd_asection): New function to add a section
to the core file bfd.
	(rs6000coff_core_p):  Use make_bfd_asection to add the core file
	sections.
	Use BFD routines to seek, read and stat the core file.
	Handle .data sections from loaded objects and anonymously mmapped
	regions, these are available in AIX 4 core files.
1997-08-03 15:16:37 +00:00
Ian Lance Taylor 9b119644fc * gdbtk.c (Tcl_Alloc): Don't provide our own version of this if
_WIN32.
	(Tcl_Realloc, Tcl_Free): Likewise.
	* configure.in: Check for cygwin32 environment.  Define and
	substitute WIN32LIBS and WIN32LDAPP.  Always set configdir to
	unix; setting it to win was for an old Tcl/Tk configuration
	scheme.
	* aclocal.m4 (CY_AC_LOAD_TKCONFIG): Substitute TK_BUILD_INCLUDES.
	* Makefile.in (TK_CFLAGS): Add @TK_BUILD_INCLUDES@.
	(WIN32LDAPP, WIN32LIBS): Define.
	(CLIBS): Add $(WIN32LIBS).
	(gdb): Use $(WIN32LDAPP).
	* configure: Rebuild.
1997-08-01 19:24:55 +00:00
Ian Lance Taylor 931cde32b1 * acinclude.m4: Include bfd/acinclude.m4, not bfd/acmacros.m4.
* aclocal.m4, configure: Rebuild with new libtool.
1997-08-01 17:09:36 +00:00
Ian Lance Taylor 2f403ada9f * configure.in: Set enable_shared before AM_PROG_LIBTOOL.
* acinclude.m4: Just include acinclude.m4 from BFD.
	* aclocal.m4, configure: Rebuild.
1997-08-01 17:03:25 +00:00
Ian Lance Taylor aa13d30d81 * configure.in: Set enable_shared before AM_PROG_LIBTOOL.
* acinclude.m4: Move acmacros.m4 in here.  Remove AM_PROG_LIBTOOL
	copy; use a patches libtool instead.
	* acmacros.m4: Remove.
	* Makefile.in, aclocal.m4, configure: Rebuild.
1997-08-01 17:01:36 +00:00
Ian Lance Taylor a3d2e13be9 sanitize Makefile.am 1997-08-01 15:56:29 +00:00
Ian Lance Taylor 6e68a23e89 * ylwrap: New file.
* Makefile.in (DEVO_SUPPORT): Add ylwrap.

	* ltmain.sh: Handle /bin/sh at start of install program.
1997-08-01 03:51:59 +00:00
Ian Lance Taylor d467c30d18 * Makefile.am: New file, based on old Makefile.in.
* acinclude.m4: New file, from old aclocal.m4.
	* configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL.  Remove
	shared library handling; now handled by libtool.  Replace
	AC_CONFIG_HEADER with AM_CONFIG_HEADER.  Call AC_PROG_YACC,
	AC_PROG_LEX, AC_DECL_YYTEST, AM_MAINTAINER_MODE, AM_CYGWIN32, and
	AM_EXEEXT.  Replace AC_PROG_INSTALL with AM_PROG_INSTALL.  Remove
	stamp-h handling in AC_OUTPUT.
	* acconfig.h: Mention PACKAGE and VERSION.
	* stamp-h.in: New file.
	* Makefile.in: Now built with automake.
	* aclocal.m4: Now built with aclocal.
	* config.in, configure: Rebuild.
1997-08-01 03:49:39 +00:00
Ian Lance Taylor 1daed53f64 * Makefile.am: New file, based on old Makefile.in.
* acconfig.h: New file.
	* acinclude.m4: New file.
	* stamp-h.in: New file.
	* configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL.
	Removed shared library handling; now handled by libtool.  Replace
	AC_CONFIG_HEADER with AM_CONFIG_HEADER.  Call AM_MAINTAINER_MODE,
	AM_CYGWIN32, and AM_EXEEXT.  Replace AC_PROG_INSTALL with
	AM_PROG_INSTALL.  Change all .o files to .lo.  Remove stamp-h
	handling in AC_OUTPUT.
	* dep-in.sed: Change .o to .lo.
	* Makefile.in: Now built with automake.
	* aclocal.m4: Now built with aclocal.
	* config.in, configure: Rebuild.
1997-08-01 01:49:13 +00:00
Ian Lance Taylor 5e377ed2f2 tweaks 1997-08-01 01:43:21 +00:00
Ian Lance Taylor 9df51f4f39 * VERSION: Remove. 1997-08-01 00:46:56 +00:00
Ian Lance Taylor eeb9041914 * Makefile.in (DEVO_SUPPORT): Add ltconfig, ltmain.sh, and missing. 1997-08-01 00:05:19 +00:00
Ian Lance Taylor c073470881 * Makefile.am: New file, based on old Makefile.in.
* acinclude.m4: New file, copied from old aclocal.m4.
	* configure.in: Define and call AM_PROG_LIBTOOL and friends.
	Remove shared library handling; now handled by libtool.  Replace
	AC_CONFIG_HEADER with AM_CONFIG_HEADER.  Call AM_MAINTAINER_MODE,
	AM_CYGWIN32, and AM_EXEEXT.  Change all .o files to .lo.  Remove
	stamp-h handling in AC_OUTPUT.
	* acconfig.h: Mention PACKAGE and VERSION.
	* stamp-h.in: New file.
	* dep-in.sed: Change .o to .lo.
	* Makefile.in: Now built with automake.
	* aclocal.m4: Now built with aclocal.
	* config.in, configure: Rebuild.
1997-08-01 00:04:48 +00:00
Ian Lance Taylor bc6b39f5f5 * Makefile.am: New file, based on old Makefile.in.
* Makefile.in: Now built with automake.
1997-08-01 00:04:05 +00:00
Ian Lance Taylor 6079ad780f * ltconfig, ltmain.sh: New files, from libtool 1.0.
* missing: New file, from automake 1.2.
1997-07-31 23:50:24 +00:00
Per Bothner 61c5746302 * symtab.h (SYMBOL_INIT_LANGUAGE_SPECIFIC, SYMBOL_INIT_DEMANGLED_NAME,
SYMBOL_DEMANGLED_NAME):  Add demangling support for Java.
	* utils.c (fprintf_symbol_filtered):  Handle language_java.

	* symtab.c (decode_line_1):  Handle Java-style package.class.method.
1997-07-31 22:57:58 +00:00
Per Bothner 166606b71e * java-*: Renamed to jv-*, to make fit within 14 characters.
* jv-lang.h (java_type_print):  Added declaration.
	* jv-typeprint.c:  New file.  Provides java_print_type.
	* jv-lang.c (java_link_class_type):  New function.
	(java_language_defn):  Replace c_print_type by java_print_type.
	* Makefile.in:  Update accordingly.
1997-07-31 22:39:34 +00:00
Jeff Law c1b2205e48 * config/tc-v850.c (md_assemble): Ignore the rest of the current
line if we encounter an error.
pr13016.
1997-07-31 21:41:35 +00:00
Jeff Law f0a26f5665 * gas/v850/range.s: New test.
* gas/v850/basic.exp: Run it.
testcase for pr12944 related stuff.
1997-07-31 21:18:00 +00:00
Jeff Law 15d8ae9d85 * config/tc-v850.c (md_assemble): Sign extend constants value
for hi and hi0 expressions.
        (v850_insert_operand): Enable range checking for generic 16bit
        operands.
finish work for pr12944.
1997-07-31 21:11:17 +00:00
Ian Lance Taylor 3745ac6db2 Thu Jul 31 12:09:20 1997 Geoff Keating <geoffk@ozemail.com.au>
* elf32-ppc.c (ppc_elf_size_dynamic_sections): Don't set TEXTREL
 	if there is only a relocation to a read-only but not allocatable
 	section (like .stab).
	* elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise.
	* elf32-i386.c (elf_i386_size_dynamic_sections): Likewise.
	* elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.
	* elf32-mips.c (mips_elf_size_dynamic_sections): Likewise.
	* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise.

	* elf32-ppc.c (ppc_elf_howto_raw): Correct various comments.
	(ppc_elf_create_linker_section): These sections are not
	created by the linker (that is, they are created by the user
	putting data in them). In particular, they can be the source
	and target of relocations.
	(ppc_elf_adjust_dynamic_symbol): Check postcondition of
 	bfd_elf32_link_record_dynamic_symbol.  Align 16-byte common
 	objects (for instance, 'long double') to 16-byte boundaries.
	(ppc_elf_size_dynamic_sections): Make the code that generates
	section symbols exactly the same as for sparc, reducing the
	number of section symbols output.
	(ppc_elf_check_relocs): Check postcondition of
	bfd_elf32_link_record_dynamic_symbol.  Make default case the
	same as corresponding code for sparc, fixing bug involving
	.rela.stabs.
	(ppc_elf_finish_dynamic_symbol): Fix case involving GOT symbols
 	forced to be local because of versioning (by replicating
 	corresponding change in sparc).  Treat R_PPC_RELATIVE RELA relocs
 	as usual in ELF, not as pseudo-REL relocs (as the sparc linker
 	does).
	(ppc_elf_relocate_section): Add handy debugging code for when
 	assertion fails.  Add some more 'symbol made local because of
 	versioning' cases.

	* elf32-ppc.c (ppc_elf_relocate_section): Cope with addend when
	processing a GOT relocation as required by ABI.
1997-07-31 16:15:02 +00:00
Ian Lance Taylor e42872a2e8 From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>:
* rcparse.y (dialog): Default menu and class to be named.
	(styles): If FONT is seen, set DS_SETFONT in dialog style.
	* resbin.c (res_to_bin_dialog): Correct computation of font
	information length.
1997-07-31 15:53:23 +00:00
Ian Lance Taylor 13eb6306e7 Wed Jul 30 21:30:35 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elflink.h (NAME(bfd_elf,record_link_assignment)): Remove any
	version info if this symbol came from a dynamic object.
	(elf_link_add_object_symbols): Set the version info of a symbol
	only if the object actually contains version definitions and
	defines this symbol.
1997-07-31 01:35:46 +00:00
Rob Savoye 293bc1d506 * Oops, forgot to check this in with the rest of the files. 1997-07-30 22:35:46 +00:00
Ian Lance Taylor ef573b6883 From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>:
* resbin.c (res_to_bin_menu): Correct computation of menu
	vs. menuex length.
	* resrc.c (define_stringtable): Add 1 to resource ID.
1997-07-30 15:22:07 +00:00
Jeff Law 9f72a94f72 * gas/v850/hilo2.s: New test.
* gas/v850/fepsw.s: New test.
        * gas/v850/basic.exp: Run them.
1997-07-29 20:31:41 +00:00
Jeff Law 5236fc72ef Forgot sanitize markers. 1997-07-29 20:20:12 +00:00
Jeff Law d222309aef * config/tc-v850.c (md_assemble): Turn on fx_no_overflow for
LO16, HI16 and HI16_S relocs.
pr12979
1997-07-29 20:19:02 +00:00
Felix Lee 3b53c82a11 * Makefile.in (init.c): except some mswin files do need to be
scanned.  oh well.
1997-07-29 17:17:08 +00:00
Ian Lance Taylor c88790775d * resbin.c (bin_to_res_string): Correct adjustment of data and
length.  From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>.
1997-07-29 15:06:48 +00:00
Jeff Law fea90b62c1 * mips-opc.c: Fix typo/thinko in "eret" instruction. 1997-07-29 03:48:51 +00:00
Rob Savoye 2e37047cf6 * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
win32 dependencies.
        * configure: Regenerated with autoconf 2.12.
        * Makefile.in: Add $(EXEEXT) to all executables.
1997-07-29 02:46:52 +00:00
Rob Savoye b9a5c27fa7 * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
win32 dependencies.
        * configure: Regenerated with autoconf 2.12.
        * Makefile.in: Add $(EXEEXT) to executable.
1997-07-29 01:34:09 +00:00
Andrew Cagney f1bea83b2b Add test for "mtsa" 1997-07-29 00:57:39 +00:00
Rob Savoye e42b252084 * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
win32 dependencies.
        * configure: Regenerated with autoconf 2.12.
        * Makefile.in: Add $(EXEEXT) to all executables.
1997-07-29 00:54:28 +00:00
Rob Savoye b1ee3d6a87 * aclocal.m4: Add CYGWIN and EXEEXT autoconf macros.
* configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
        win32 dependencies.
        * configure: Regenerated with autoconf 2.12.
        * doc/Makefile.in: Add $(EXEEXT) to chew executable.
1997-07-29 00:37:04 +00:00
Felix Lee ce4450fa09 * Makefile.in (init.c): don't try to scan mswin for _initialize
funcs.  (generates misleading error message because files have
 	.cpp suffix, not .c suffix)

	* ser-e7kpc.c: <w32sut.h> -> "mswin/w32sut.h"

	* mon960-rom.c: removed unused #includes; no ioctl.h in Windows.
	* nindy-share/ttyflush.c: find sleep() for _MSC_VER.
	* remote-array.c: #include <ctype.h> for isascii().
	* utils.c (notice_quit,pollquit): cleanup.  _WIN32 -> _MSC_VER.
1997-07-28 22:34:36 +00:00
Felix Lee 8dbbb8be9b * coffswap.h (coff_swap_aux_in): add semicolon to make MSVC happy. 1997-07-28 21:59:14 +00:00