Geoffrey Noer [Thu, 7 Aug 1997 20:40:18 +0000 (20:40 +0000)]
Thu Aug 7 13:39:31 1997 Geoffrey Noer <noer@cygnus.com>
* ocd.h: add OCD_SET_CONNECTION
Geoffrey Noer [Thu, 7 Aug 1997 20:19:26 +0000 (20:19 +0000)]
Thu Aug 7 13:09:17 1997 Geoffrey Noer <noer@cygnus.com>
Nomenclature change. BDM is a specific type of OCD
(On chip debugging). Wiggler is the parallel port box controlled
by Wigglers.dll. The faster target box from Macraigor Systems
is not a wiggler.
* ocd.c:
* ocd.h:
* ppc-bdm.c:
* ser-ocd.c:
Replace all instances of "wiggler_" with "ocd_" and change most other
instances of "wiggler" to "ocd" or "ocd device" depending on context.
* config/m68k/monitor.mt: remove remote-wiggler.o from TDEPFILES
until OCD with that target is supported again.
Ian Lance Taylor [Thu, 7 Aug 1997 15:03:14 +0000 (15:03 +0000)]
* Makefile.in ($(INSTALL_X11_MODULES)): Depend upon installdirs.
Geoffrey Noer [Thu, 7 Aug 1997 06:31:46 +0000 (06:31 +0000)]
Wed Aug 6 16:15:31 1997 Geoffrey Noer <noer@cygnus.com>
* Makefile.in: add DLLTOOL = @DLLTOOL@, pass on DLLTOOL to
sub makes, change clean rule to also remove *.a to remove
libwigglers.a, in dependencies: add ppc-bdm.o ocd.o ser-ocd.o and
remove remote-wiggler.o
* configure.in: add DLLTOOL support
* configure: regenerate
* wigglers.def: new file for imports for wigglers.dll
* ser-ocd.c: new file which is layer between ocd.c and either the
wigglers.dll or the target box, only stub so far
* config/powerpc/ppc-eabi.mt: add ppc-bdm.o to TDEPFILES
* config/powerpc/ppc-sim.mt: add ppc-bdm.o to TDEPFILES
* config/i386/cygwin32.mh: add ocd.o ser-ocd.o libwigglers.a
to XDEPFILES, add rules to build libwigglers.a
checking in changes of Stu Grossman <grossman@cygnus.com>:
* remote-wiggler.c: delete
* ocd.c: new, was remote-wiggler.c
always include sys/types.h, include ocd.h, move WIGGLER
commands and many wiggler prototypes to ocd.h, make wiggler_desc
static, stop making local wiggler functions static,
define write_mem_command for wiggler_write_bytes
(wiggler_start_remote): stop hardcoding the target type,
instead set and use a target_type variable.
(wiggler_open): add new target_type and ops args
(wiggler_wait): now no longer takes pid and target_status as args,
stop trying to set target_status struct, remove BGND insn
checks
(read_bdm_registers): renamed to wiggler_read_bdm_registers
(wiggler_read_bdm_registers): numregs arg changed to reglen arg,
remove pktlen check, set reglen instead of numregs
(dump_all_bdm_regs): delete
(wiggler_fetch_registers): delete
(wiggler_prepare_to_store): now just an empty function
(wiggler_store_registers): delete
(wiggler_read_bdm_register): new
(wiggler_write_bdm_registers): new
(wiggler_write_bdm_register): new
(wiggler_write_bytes): use write_mem_command variable instead of
WIGGLER_WRITE_MEM
(get_packet): renamed to wiggler_get_packet, change refs throughout
(put_packet): renamed to wiggler_put_packet, change refs throughout
(wiggler_get_packet): add break to default case of switch,
change length of WIGGLER_GET_VERSION len to 10 from 4 to match
specs
(wiggler_mourn): unpush_target with current_ops, not &wiggler_ops
(flash_xfer_memory): delete
(noop_store_registers): new placeholder replacement for
target_store_registers() which prevents generic_load from trying to
set up the PC.
(bdm_update_flash_command): add store_registers_tmp variable,
make handling of wiggler_ops more generic -- define wiggler_ops
in a target-specific file instead (such as ppc-bdm.c in the case
of the ppc), use current_target to deal with registers again
making this file less target-specific.
(bdm_read_register_command): new
(_initialize_remote_wiggler): stop doing add_target (&wiggler_ops),
comment out add_cmd ("read-register", ...)
* ocd.h: new, contains common wiggler prototypes, command definitions
* ppc-bdm.c: file for ppc-specific OCD code, including target_ops
structure for ppc bdm
(bdm_ppc_open): new
(bdm_ppc_wait): new
(bdm_ppc_fetch_registers): new
(bdm_ppc_store_registers_: new
(_initialize_bdm_ppc): new
* config/powerpc/tm-ppc-eabi.h: add necessary CPU32 BDM defines
Mark Alexander [Thu, 7 Aug 1997 00:02:03 +0000 (00:02 +0000)]
tic80 sanitization.
Chris Provenzano [Wed, 6 Aug 1997 23:29:21 +0000 (23:29 +0000)]
* configure: Changed sed delimiter from ':' to '|' when
attempting to substitute ${config_shell} for SHELL. On
NT ${config_shell} may contain a ':' in it.
Ian Lance Taylor [Wed, 6 Aug 1997 22:57:44 +0000 (22:57 +0000)]
* Makefile.am (docdir): Define.
* Makefile.in: Rebuild.
Jason Merrill [Wed, 6 Aug 1997 19:30:12 +0000 (19:30 +0000)]
* Makefile.in (EXTRA_GCC_FLAGS): Fix for non-bash shells.
Ian Lance Taylor [Wed, 6 Aug 1997 19:06:49 +0000 (19:06 +0000)]
* configure.in: Define TARGET_BYTES_BIG_ENDIAN if endian is set.
Don't set targ or gas_target. Define SCO_ELF and
TARGET_SOLARIS_COMMENT when appropriate. Don't substitute for
target_frag.
* Makefile.am: Remove @target_frag@.
(INCLUDES): Remove $(INTERNAL_CFLAGS), $(CROSS), $(HDEFINES), and
$(TDEFINES).
(dep-am): Mark as phony.
* acconfig.h: Add TARGET_BYTES_BIG_ENDIAN, TARGET_SOLARIS_COMMENT,
and SCO_ELF.
* config/arm-big.mt, config/arm-lit.mt: Remove.
* config/mips-big.mt, config/mips-lit.mt: Remove.
* config/ppc-big.mt, config/ppc-lit.mt: Remove.
* config/ppc-sol.mt: Remove.
* config/i386coff.mt, config/m68kcoff.mt: Remove.
* config/m88kcoff.mt: Remove.
* config/sco5.mt: Remove.
* configure, config.in, Makefile.in: Rebuild.
Ian Lance Taylor [Wed, 6 Aug 1997 17:40:40 +0000 (17:40 +0000)]
* configure.in: Define TARGET in header file.
* acconfig.h (TARGET): Add #undef.
* Makefile.am (version.o, bucomm.o): Remove special targets.
* bucomm.c (target): Remove.
* nm.c (program_name): Don't declare.
(target): Make static.
* size.c (target): Make static.
* configure, config.in, Makefile.in: Rebuild.
Ian Lance Taylor [Wed, 6 Aug 1997 16:01:27 +0000 (16:01 +0000)]
* Makefile.am ($(srcdir)/config/m68k-parse.h): New target, to
further try to circumvent the .y.h rule.
* Makefile.in: Rebuild.
Ian Lance Taylor [Wed, 6 Aug 1997 15:24:36 +0000 (15:24 +0000)]
Sanitize Makefile.am
Mark Alexander [Wed, 6 Aug 1997 06:59:03 +0000 (06:59 +0000)]
* tic80-tdep.c (tic80_init_extra_frame_info): Allow zero
as a valid SP-relative offset of a saved register.
Jeff Law [Wed, 6 Aug 1997 06:24:31 +0000 (06:24 +0000)]
* hpread.c (hpread_read_struct_type): Use accessor macros rather
than directly mucking around with data structures.
Ian Lance Taylor [Wed, 6 Aug 1997 04:43:18 +0000 (04:43 +0000)]
* Makefile.in (AS_FOR_TARGET): Change as.new to as-new.
Ian Lance Taylor [Wed, 6 Aug 1997 04:33:45 +0000 (04:33 +0000)]
* config/default.exp: Set AS and GASP to as-new, not as.new.
Ian Lance Taylor [Wed, 6 Aug 1997 04:32:12 +0000 (04:32 +0000)]
* doc/Makefile.am: New file, based on old doc/Makefile.in.
* doc/Makefile.in: Now built with automake.
Ian Lance Taylor [Wed, 6 Aug 1997 04:30:05 +0000 (04:30 +0000)]
* 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, and AC_DECL_YYTEXT. Call AM_MAINTAINER_MODE,
AM_CYGWIN32, and AM_EXEEXT. Don't call CY_CYGWIN32 or CY_EXEEXT.
* config.in: New file, created by autoheader.
* conf.in: Remove.
* acconfig.h: Mention PACKAGE, VERSION, and USING_CGEN.
* stamp-h.in: New file.
* as.c (print_version_id): Change GAS_VERSION to VERSION.
(parse_args): Likewise.
* config/obj-vms.c: (Write_VMS_MHD_Records): Likewise.
* Makefile.in: Now built with automake.
* aclocal.m4: Now built with aclocal.
* configure: Rebuild.
Ian Lance Taylor [Wed, 6 Aug 1997 03:05:32 +0000 (03:05 +0000)]
* configure: Rebuild with autoconf 2.12.1.
Per Bothner [Tue, 5 Aug 1997 21:59:56 +0000 (21:59 +0000)]
* jv-lang.c (get_java_utf8_name): Re-write so it works with
implied (missing) data field, as defined by cc1java.
(java_link_class_type): Type length and field offset (in interior)
now includes object header. Get static fields working.
* jv-lang.h (JAVA_OBJECT_SIZE): Update for change in Kaffe.
* jv-typeprint.c (java_type_print_derivation_info,
java_type_print_base): New functions, for better Java output.
* jv-valprint.c: Start to support Java-specific output.
Per Bothner [Tue, 5 Aug 1997 21:58:57 +0000 (21:58 +0000)]
* gdbtypes.h: Re-interpret struct field. Suppport address of static.
Add a bunch of macros.
* coffread.c, dwarf2read.c, dwarfread.c, mdebugread.c, stabsread.c:
Update to use new macros.
* coffread.c, hpread.c, stabsread.c: Remove bugus TYPE_FIELD_VALUE.
* value.h, values.c (value_static_field): New function.
* cp-valprint.c, valops.c: Modify to use value_static_field.
Ian Lance Taylor [Tue, 5 Aug 1997 19:37:57 +0000 (19:37 +0000)]
* Makefile.in (NM_FOR_TARGET): Change nm.new to nm-new.
Ian Lance Taylor [Tue, 5 Aug 1997 18:43:49 +0000 (18:43 +0000)]
* ylwrap: If the program is a relative path, force it to be
absolute.
Ian Lance Taylor [Tue, 5 Aug 1997 16:34:03 +0000 (16:34 +0000)]
* config/default.exp: Set NM to nm-new, not nm.new, to match
recent change in binutils build directory.
Ian Lance Taylor [Tue, 5 Aug 1997 16:33:02 +0000 (16:33 +0000)]
* cond.c (s_else): If not listing false conditionals, turn listing
off in the false branch of the else.
PR 13033.
Ian Lance Taylor [Tue, 5 Aug 1997 04:33:31 +0000 (04:33 +0000)]
* Makefile.am (check-DEJAGNU): Export r.
(.dep1): Use $(INCLUDES) rather than $(ALL_CFLAGS).
* Makefile.in: Rebuild.
* nlmheader.y: Use VERSIONK rather than VERSION.
Ian Lance Taylor [Tue, 5 Aug 1997 04:04:31 +0000 (04:04 +0000)]
* 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.
Ian Lance Taylor [Tue, 5 Aug 1997 03:30:12 +0000 (03:30 +0000)]
* configure.in: Remove AC_ARG_PROGRAM; it's invoked by
AM_INIT_AUTOMAKE.
* configure: Rebuild.
Ian Lance Taylor [Mon, 4 Aug 1997 21:00:37 +0000 (21:00 +0000)]
* 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
Ian Lance Taylor [Mon, 4 Aug 1997 19:55:49 +0000 (19:55 +0000)]
* Makefile.am (install-exec-local): Create $(tooldir)/bin before
trying to install anything into it.
* Makefile.in: Rebuild.
Jason Merrill [Mon, 4 Aug 1997 19:42:03 +0000 (19:42 +0000)]
* Makefile.in (EXTRA_GCC_FLAGS): Fix handling of macros with values
separated by spaces.
Fixes make 'LANGUAGES=c c++' all-gcc
Ian Lance Taylor [Mon, 4 Aug 1997 19:32:56 +0000 (19:32 +0000)]
* 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.
Richard Henderson [Mon, 4 Aug 1997 18:02:56 +0000 (18:02 +0000)]
* config/tc-alpha.c (s_alpha_ucons): New function.
(md_pseudo_table): Add unaligned data pseudos for DWARF.
Ian Lance Taylor [Mon, 4 Aug 1997 16:05:31 +0000 (16:05 +0000)]
* aclocal.m4, configure, Makefile.in: Rebuild with new automake
patches.
Ian Lance Taylor [Mon, 4 Aug 1997 15:51:44 +0000 (15:51 +0000)]
* deflex.l, defparse.y: Use VERSIONK rather than VERSION.
* rclex.l, rcparse.y: Likewise.
* Makefile.am (windres_SOURCES): Add $(BULIBS).
* Makefile.in: Rebuild.
Ian Lance Taylor [Mon, 4 Aug 1997 15:29:23 +0000 (15:29 +0000)]
* ecoff.c (ecoff_build_symbols): Set fMerge to 0 for an FDR which
has an associated external symbol.
PR 12962.
Peter Schauer [Sun, 3 Aug 1997 15:24:55 +0000 (15:24 +0000)]
* 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 *.
Peter Schauer [Sun, 3 Aug 1997 15:16:37 +0000 (15:16 +0000)]
* 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.
Ian Lance Taylor [Fri, 1 Aug 1997 19:24:55 +0000 (19:24 +0000)]
* 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.
Ian Lance Taylor [Fri, 1 Aug 1997 17:09:36 +0000 (17:09 +0000)]
* acinclude.m4: Include bfd/acinclude.m4, not bfd/acmacros.m4.
* aclocal.m4, configure: Rebuild with new libtool.
Ian Lance Taylor [Fri, 1 Aug 1997 17:03:25 +0000 (17:03 +0000)]
* configure.in: Set enable_shared before AM_PROG_LIBTOOL.
* acinclude.m4: Just include acinclude.m4 from BFD.
* aclocal.m4, configure: Rebuild.
Ian Lance Taylor [Fri, 1 Aug 1997 17:01:36 +0000 (17:01 +0000)]
* 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.
Ian Lance Taylor [Fri, 1 Aug 1997 15:56:29 +0000 (15:56 +0000)]
sanitize Makefile.am
Ian Lance Taylor [Fri, 1 Aug 1997 03:51:59 +0000 (03:51 +0000)]
* ylwrap: New file.
* Makefile.in (DEVO_SUPPORT): Add ylwrap.
* ltmain.sh: Handle /bin/sh at start of install program.
Ian Lance Taylor [Fri, 1 Aug 1997 03:49:39 +0000 (03:49 +0000)]
* 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.
Ian Lance Taylor [Fri, 1 Aug 1997 01:49:13 +0000 (01:49 +0000)]
* 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.
Ian Lance Taylor [Fri, 1 Aug 1997 01:43:21 +0000 (01:43 +0000)]
tweaks
Ian Lance Taylor [Fri, 1 Aug 1997 00:46:56 +0000 (00:46 +0000)]
* VERSION: Remove.
Ian Lance Taylor [Fri, 1 Aug 1997 00:05:19 +0000 (00:05 +0000)]
* Makefile.in (DEVO_SUPPORT): Add ltconfig, ltmain.sh, and missing.
Ian Lance Taylor [Fri, 1 Aug 1997 00:04:48 +0000 (00:04 +0000)]
* 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.
Ian Lance Taylor [Fri, 1 Aug 1997 00:04:05 +0000 (00:04 +0000)]
* Makefile.am: New file, based on old Makefile.in.
* Makefile.in: Now built with automake.
Ian Lance Taylor [Thu, 31 Jul 1997 23:50:24 +0000 (23:50 +0000)]
* ltconfig, ltmain.sh: New files, from libtool 1.0.
* missing: New file, from automake 1.2.
Per Bothner [Thu, 31 Jul 1997 22:57:58 +0000 (22:57 +0000)]
* 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.
Per Bothner [Thu, 31 Jul 1997 22:39:34 +0000 (22:39 +0000)]
* 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.
Jeff Law [Thu, 31 Jul 1997 21:41:35 +0000 (21:41 +0000)]
* config/tc-v850.c (md_assemble): Ignore the rest of the current
line if we encounter an error.
pr13016.
Jeff Law [Thu, 31 Jul 1997 21:18:00 +0000 (21:18 +0000)]
* gas/v850/range.s: New test.
* gas/v850/basic.exp: Run it.
testcase for pr12944 related stuff.
Jeff Law [Thu, 31 Jul 1997 21:11:17 +0000 (21:11 +0000)]
* 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.
Ian Lance Taylor [Thu, 31 Jul 1997 16:15:02 +0000 (16:15 +0000)]
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.
Ian Lance Taylor [Thu, 31 Jul 1997 15:53:23 +0000 (15:53 +0000)]
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.
Ian Lance Taylor [Thu, 31 Jul 1997 01:35:46 +0000 (01:35 +0000)]
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.
Rob Savoye [Wed, 30 Jul 1997 22:35:46 +0000 (22:35 +0000)]
* Oops, forgot to check this in with the rest of the files.
Ian Lance Taylor [Wed, 30 Jul 1997 15:22:07 +0000 (15:22 +0000)]
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.
Jeff Law [Tue, 29 Jul 1997 20:31:41 +0000 (20:31 +0000)]
* gas/v850/hilo2.s: New test.
* gas/v850/fepsw.s: New test.
* gas/v850/basic.exp: Run them.
Jeff Law [Tue, 29 Jul 1997 20:20:12 +0000 (20:20 +0000)]
Forgot sanitize markers.
Jeff Law [Tue, 29 Jul 1997 20:19:02 +0000 (20:19 +0000)]
* config/tc-v850.c (md_assemble): Turn on fx_no_overflow for
LO16, HI16 and HI16_S relocs.
pr12979
Felix Lee [Tue, 29 Jul 1997 17:17:08 +0000 (17:17 +0000)]
* Makefile.in (init.c): except some mswin files do need to be
scanned. oh well.
Ian Lance Taylor [Tue, 29 Jul 1997 15:06:48 +0000 (15:06 +0000)]
* resbin.c (bin_to_res_string): Correct adjustment of data and
length. From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>.
Jeff Law [Tue, 29 Jul 1997 03:48:51 +0000 (03:48 +0000)]
* mips-opc.c: Fix typo/thinko in "eret" instruction.
Rob Savoye [Tue, 29 Jul 1997 02:46:52 +0000 (02:46 +0000)]
* 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.
Rob Savoye [Tue, 29 Jul 1997 01:34:09 +0000 (01:34 +0000)]
* 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.
Andrew Cagney [Tue, 29 Jul 1997 00:57:39 +0000 (00:57 +0000)]
Add test for "mtsa"
Rob Savoye [Tue, 29 Jul 1997 00:54:28 +0000 (00:54 +0000)]
* 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.
Rob Savoye [Tue, 29 Jul 1997 00:37:04 +0000 (00:37 +0000)]
* 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.
Felix Lee [Mon, 28 Jul 1997 22:34:36 +0000 (22:34 +0000)]
* 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.
Felix Lee [Mon, 28 Jul 1997 21:59:14 +0000 (21:59 +0000)]
* coffswap.h (coff_swap_aux_in): add semicolon to make MSVC happy.
Andrew Cagney [Mon, 28 Jul 1997 13:46:53 +0000 (13:46 +0000)]
Handle overflow from signed divide by -1.
Andrew Cagney [Mon, 28 Jul 1997 13:45:45 +0000 (13:45 +0000)]
Fix MTSA opcode encoding.
Andrew Cagney [Mon, 28 Jul 1997 10:52:39 +0000 (10:52 +0000)]
More checks for pdivuw
Peter Schauer [Mon, 28 Jul 1997 09:56:24 +0000 (09:56 +0000)]
* xcoffread.c (coff_getfilename): Do not strip directory component
of filename.
Peter Schauer [Mon, 28 Jul 1997 09:52:23 +0000 (09:52 +0000)]
* rs6000-core.c (rs6000coff_core_p): If CORE_TRUNC is set, print
a warning rather than returning an error.
Jeff Law [Fri, 25 Jul 1997 22:47:17 +0000 (22:47 +0000)]
* top.c (execute_command): Force cleanup of alloca areas.
* findvar.c (registers_changed): Likewise.
Fixes memory "leak" reported by HP. Call from execute_command is for general
alloca cleanup; call from registers_changed is to fix hp's specific problem.
Stu Grossman [Fri, 25 Jul 1997 22:41:56 +0000 (22:41 +0000)]
* v850ice.c: Include <windows.h>. Support new v850 DLL interface.
* Add defs for target status.
Felix Lee [Fri, 25 Jul 1997 21:58:27 +0000 (21:58 +0000)]
* cisco-core.c: define signals for wingdb.
Ian Lance Taylor [Fri, 25 Jul 1997 20:27:50 +0000 (20:27 +0000)]
* ecofflink.c (bfd_ecoff_debug_accumulate): Only merge files with
the same number of aux entries.
PR 12962.
Gavin Romig-Koch [Fri, 25 Jul 1997 19:10:05 +0000 (19:10 +0000)]
gencode.c: Two arg MADD should not assign result to /bin/bash.
David Edelsohn [Fri, 25 Jul 1997 18:41:12 +0000 (18:41 +0000)]
* configure.in (sparc*-*-*): Don't build erc32.
* configure: Regenerate.
Jeff Law [Fri, 25 Jul 1997 16:55:52 +0000 (16:55 +0000)]
* tc-hppa.c (md_apply_fix): Improve warnings for out of range
unconditional branches.
(hppa_fix_adjustable): Don't adjust anything with a RR% or LR%
field selector.
Part of the 12912 fixes
Jeff Law [Fri, 25 Jul 1997 14:20:12 +0000 (14:20 +0000)]
* som.c (hppa_som_gen_reloc_type): Use R_DATA_EXPR for the
difference of two symbols if the relocation size is 32 bits.
(som_write_fixups): Handle R_DATA_EXPR.
Useful stuff from one of the aborted attempts to fix 12912.
David Edelsohn [Thu, 24 Jul 1997 22:22:27 +0000 (22:22 +0000)]
* tc-sparc.c (md_begin): Cast sparc_opcodes to PTR for hash_insert.
David Edelsohn [Thu, 24 Jul 1997 22:21:05 +0000 (22:21 +0000)]
* sparc-opc.c (sparc_opcodes): Make array const.
* sparc-dis.c (sorted_opcodes): New static local.
(struct opcode_hash): `opcode' is pointer to const element.
(build_hash): First arg is now table of sorted pointers.
(print_insn_sparc): Sort opcodes by sorting table of pointers.
(compare_opcodes): Update.
Ian Lance Taylor [Thu, 24 Jul 1997 21:51:57 +0000 (21:51 +0000)]
* macro.c (define_macro): Make sure the index is in range before
checking for '('.
Fred Fish [Thu, 24 Jul 1997 20:34:02 +0000 (20:34 +0000)]
* config/tc-tic80.c (build_insn): Remove "extended" and replace with
"fx" and "fxfrag". Add "ffrag". Change code to initialize and use
the right f/ffrag and fx/fxfrag pairs since instruction may be split
across frags.
PR 12899
David Edelsohn [Thu, 24 Jul 1997 20:05:46 +0000 (20:05 +0000)]
* sparc-opc.c (sparc_opcodes): Fix spelling on fpaddX, fpsubX insns.
Ian Lance Taylor [Thu, 24 Jul 1997 16:58:49 +0000 (16:58 +0000)]
* Makefile.in: Treat tix like tk, putting it in X11_MODULES. Add
check-tk to CHECK_X11_MODULES.
Ian Lance Taylor [Wed, 23 Jul 1997 21:04:46 +0000 (21:04 +0000)]
* config.sub: Merge with FSF.
Ian Lance Taylor [Wed, 23 Jul 1997 20:08:37 +0000 (20:08 +0000)]
* coff-i386.c (coff_i386_reloc): Don't offset a common symbol by
its value if COFF_WITH_PE is defined.
Ian Lance Taylor [Wed, 23 Jul 1997 16:33:04 +0000 (16:33 +0000)]
Wed Jul 23 12:32:18 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
* mh-go32 (CFLAGS): Don't set -fno-omit-frame-pointer.
Also Sanitize out MAKEINFOFLAGS and INSTALL_DOSREL unless keep-cygnus.
Martin Hunt [Wed, 23 Jul 1997 02:45:59 +0000 (02:45 +0000)]
Tue Jul 22 19:45:37 1997 Martin M. Hunt <hunt@cygnus.com>
* configure.in, aclocal.m4: Another fix to find the
correct Tix library name.
* configure: Rebuilt.
Ian Lance Taylor [Tue, 22 Jul 1997 23:09:21 +0000 (23:09 +0000)]
* config.guess: Merge with FSF.
Ian Lance Taylor [Tue, 22 Jul 1997 23:00:15 +0000 (23:00 +0000)]
Tue Jul 22 14:50:42 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
* configure.in: Treat msdosdjgpp like go32. Don't remove
gprof for go32.