Ian Lance Taylor [Fri, 28 Mar 1997 20:33:54 +0000 (20:33 +0000)]
Fri Mar 28 15:29:23 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Contributed by David S. Miller <davem@caip.rutgers.edu>:
* configure.tgt (sparc*-*-linuxaout*): New target.
(sparc*-*-linux*): New target.
* emulparams/sparclinux.sh: New file.
* Makefile.in (ALL_EMULATIONS): Add esparclinux.o.
(esparclinux.c): New target.
Ian Lance Taylor [Fri, 28 Mar 1997 20:26:26 +0000 (20:26 +0000)]
Fri Mar 28 15:25:24 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
* configure.in (sparc-*-linux*aout*, sparc-*-linux*): New
targets.
* configure: Rebuild.
Ian Lance Taylor [Fri, 28 Mar 1997 20:24:08 +0000 (20:24 +0000)]
From David S. Miller <davem@caip.rutgers.edu> and H.J. Lu
<hjl@gnu.ai.mit.edu>:
* sparclinux.c: New file.
* config.bfd (sparc-*-linuxaout*, sparc-*-linux*): New targets.
* configure.in (sparclinux_vec): Add to list of vectors.
* configure: Rebuild.
* targets.c (sparclinux_vec): Declare.
(bfd_target_vector): Add sparclinux_vec.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add sparclinux.o.
(BFD32_BACKENDS_CFILES): Add sparclinux.c.
Ian Lance Taylor [Fri, 28 Mar 1997 19:47:20 +0000 (19:47 +0000)]
Fri Mar 28 14:44:08 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
* m68klinux.c (MACHTYPE_OK): Define.
* i386linux.c (MACHTYPE_OK): Define.
Ian Lance Taylor [Fri, 28 Mar 1997 19:40:00 +0000 (19:40 +0000)]
* itbl-parse.y (yyerror): Make static. Declare.
Ian Lance Taylor [Fri, 28 Mar 1997 19:34:34 +0000 (19:34 +0000)]
From Ralf Baechle <ralf@gnu.ai.mit.edu>:
* configure.tgt: Set targ_extra_emuls for mips*el-*-linux* and
mips*-*-linux*. Use elf32bmip and elf32lmip, not elf32ebmip and
elf32elmip.
Ian Lance Taylor [Fri, 28 Mar 1997 19:27:51 +0000 (19:27 +0000)]
fix comment
Ian Lance Taylor [Fri, 28 Mar 1997 19:25:01 +0000 (19:25 +0000)]
From Ralf Baechle <ralf@gnu.ai.mit.edu>:
* configure.in: Set emulations for mips-*-linux*-*.
* configure: Rebuild.
Ian Lance Taylor [Fri, 28 Mar 1997 19:18:11 +0000 (19:18 +0000)]
* config/tc-mips.c (struct mips_set_options): Define.
(mips_opts): New static variable.
(mips_isa): Remove. Now a field in mips_opts. Change all
references.
(mips16, mips16_autoextend, mips_warn_about_macros): Likewise.
(mips_noreorder, mips_nomove, mips_noat, mips_nobopt): Likewise.
(struct mips_option_stack): Define.
(mips_opts_stack): New static variable.
(s_mipsset): Add support for .set push and .set pop.
* doc/c-mips.texi: Document .set push and .set pop.
Ian Lance Taylor [Fri, 28 Mar 1997 19:01:48 +0000 (19:01 +0000)]
* coff-mips.c (mips_ecoff_backend_data): Initialize new
bfd_coff_backend_data field.
* coff-alpha.c (alpha_ecoff_backend_data): Likewise.
Ian Lance Taylor [Fri, 28 Mar 1997 18:10:09 +0000 (18:10 +0000)]
* config/obj-elf.c (obj_elf_section_change_hook): New function.
* config/obj-elf.h (obj_elf_section_change_hook): Declare it.
* config/tc-mips.c (s_change_sec): Call it if OBJ_ELF.
Ian Lance Taylor [Fri, 28 Mar 1997 17:39:23 +0000 (17:39 +0000)]
* config.bfd: Add bfd_elf64_{big,little}mips_vec to targ_selvecs
for mips*el*-*-linux* and mips*-*-linux*. From H.J. Lu
<hjl@lucon.org> and Ralf Baechle <ralf@gnu.ai.mit.edu>.
Ian Lance Taylor [Fri, 28 Mar 1997 17:11:55 +0000 (17:11 +0000)]
* configure.in: Add stdlib.h to AC_CHECK_HEADERS list.
* configure, config.in: Rebuild.
* sysdep.h: Include <stdlib.h> if it exists.
* sparc-dis.c: Include <stdio.h> and "sysdep.h". Don't include
<string.h>.
* Makefile.in: Rebuild dependencies.
Ian Lance Taylor [Fri, 28 Mar 1997 17:07:47 +0000 (17:07 +0000)]
* ppc-opc.c: Add PPC 403 instructions and extended opcodes. From
Andrew Bray <andy@madhouse.demon.co.uk>.
Ian Lance Taylor [Fri, 28 Mar 1997 16:56:57 +0000 (16:56 +0000)]
* bfd.c: Include "libiberty.h".
(strerror): Don't declare.
(bfd_errmsg): Call xstrerror rather than strerror.
Jason Molenda [Fri, 28 Mar 1997 08:04:44 +0000 (08:04 +0000)]
* Makefile.in (gdbtk.o): look for GDBTK_LIBRARY in $(datadir) by
default, not $(srcdir).
Geoffrey Noer [Thu, 27 Mar 1997 23:55:00 +0000 (23:55 +0000)]
Thu Mar 27 15:52:40 1997 Geoffrey Noer <noer@cygnus.com>
* mh-cygwin32: override CXXFLAGS, setting to -O2 only
(no debug)
Mark Alexander [Thu, 27 Mar 1997 22:25:51 +0000 (22:25 +0000)]
* remote-mips.c: Clean up comment and extraneous semicolon
for mips_monitor_prompt variable.
Ian Lance Taylor [Thu, 27 Mar 1997 22:18:17 +0000 (22:18 +0000)]
* gprof.c (main): Correct copyright message.
Ian Lance Taylor [Thu, 27 Mar 1997 22:14:57 +0000 (22:14 +0000)]
* lexsup.c (parse_args): Update copyright date in version
message.
Ian Lance Taylor [Thu, 27 Mar 1997 22:13:23 +0000 (22:13 +0000)]
* as.c (parse_args): Update copyright date in version message.
Mark Alexander [Thu, 27 Mar 1997 22:09:34 +0000 (22:09 +0000)]
* remote-mips.c: Add `set monitor-prompt' command.
Ian Lance Taylor [Thu, 27 Mar 1997 22:02:46 +0000 (22:02 +0000)]
Based on patch from Marty Leisner <leisner@sdsp.mc.xerox.com>:
* objcopy.c: Include <utime.h> or <sys/time.h>.
(strip_options): Add "preserve-dates".
(copy_options): Likewise.
(copy_usage): Mention -p and --preserve-dates.
(strip_usage): Likewise.
(make_same_dates): New static function.
(strip_main): Handle -p.
(copy_main): Likewise.
* binutils.texi, strip.1, objcopy.1: Document new option.
Ian Lance Taylor [Thu, 27 Mar 1997 21:37:03 +0000 (21:37 +0000)]
mention addr2line
Ian Lance Taylor [Thu, 27 Mar 1997 21:35:00 +0000 (21:35 +0000)]
addr2line.c contributed by Ulrich Lauther
<Ulrich.Lauther@zfe.siemens.de>:
* addr2line.c: New file.
* Makefile.in: Rebuild dependencies.
(ADDR2LINE_PROG): New variable.
(MANPAGES): Add addr2line.
(PROGS): Add $(ADDR2LINE_PROG).
(CFILES): Add addr2line.c.
($(ADDR2LINE_PROG)): New target.
* binutils.texi: Document addr2line.
* addr2line.1: New file.
Ian Lance Taylor [Thu, 27 Mar 1997 21:03:14 +0000 (21:03 +0000)]
* version.c (print_version): Update copyright date.
Ian Lance Taylor [Thu, 27 Mar 1997 19:25:01 +0000 (19:25 +0000)]
* mips-opc.c: Add cast when setting mips_opcodes.
Ian Lance Taylor [Thu, 27 Mar 1997 18:52:00 +0000 (18:52 +0000)]
* Makefile.in (clean-here): Remove dependency files.
Ian Lance Taylor [Thu, 27 Mar 1997 18:45:20 +0000 (18:45 +0000)]
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Generate a COPY
reloc even if the symbol is in the .bss section.
* elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise.
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
Ian Lance Taylor [Thu, 27 Mar 1997 18:01:55 +0000 (18:01 +0000)]
* coffcode.h (bfd_coff_backend_data): Add new field
_bfd_coff_default_section_alignment_power.
(bfd_coff_default_section_alignment_power): Define.
(bfd_coff_std_swap_table): Initialize new field.
* libcoff.h: Rebuild.
* cofflink.c (coff_link_add_symbols): Limit alignment of a common
symbol to the default section alignment.
Ian Lance Taylor [Thu, 27 Mar 1997 17:56:03 +0000 (17:56 +0000)]
* COPYING: Update FSF address.
Ian Lance Taylor [Thu, 27 Mar 1997 17:31:06 +0000 (17:31 +0000)]
* read.c (s_comm): Check S_IS_COMMON as well as S_IS_DEFINED.
(s_mri_common): Check S_IS_COMMON unconditionally.
* symbols.c (colon): Check S_IS_COMMON as well as S_IS_DEFINED.
* config/tc-alpha.c (s_alpha_comm): Likewise.
* config/tc-mips.c (nopic_need_relax): Likewise.
* config/tc-ppc.c (ppc_elf_lcomm): Likewise.
(ppc_pe_comm): Likewise.
* config/obj-elf.c (obj_elf_common): Likewise. Set segment of
common symbol to bfd_com_section_ptr.
* config/tc-sparc.c (s_common): Likewise.
(tc_gen_reloc): Likewise.
Martin Hunt [Thu, 27 Mar 1997 08:48:14 +0000 (08:48 +0000)]
Thu Mar 27 00:45:57 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* elf32-d30v.c (elf_d30v_howto_table): Fix a typo in the
21-bit absolute that made it act as a relative.
Martin Hunt [Thu, 27 Mar 1997 08:44:55 +0000 (08:44 +0000)]
Thu Mar 27 00:42:28 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* d30.exp: Add test case reloc.
* reloc.[sd]: New files to test relocations.
Martin Hunt [Thu, 27 Mar 1997 08:44:39 +0000 (08:44 +0000)]
Thu Mar 27 00:42:28 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* gas/d30v/d30.exp: Add test case reloc.
* gas/d30v/reloc.[sd]: New files to test relocations.
Martin Hunt [Thu, 27 Mar 1997 08:41:18 +0000 (08:41 +0000)]
Thu Mar 27 00:29:46 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d30v.c (md_apply_fix3): Get the relocs right.
Ian Lance Taylor [Wed, 26 Mar 1997 22:26:14 +0000 (22:26 +0000)]
* listing.c (print_lines): Add lineno parameter. Change all
callers.
(listing_listing): Only call calc_hex for the right line.
(listing_list): Set the new edict based on the current edict, in
order to handle listing commands in macros correctly.
Ian Lance Taylor [Wed, 26 Mar 1997 19:51:12 +0000 (19:51 +0000)]
* elf32-ppc.c (ppc_elf_check_relocs): Only create the got section
if it is needed.
Ian Lance Taylor [Wed, 26 Mar 1997 18:36:17 +0000 (18:36 +0000)]
Wed Mar 26 13:35:15 1997 H.J. Lu <hjl@lucon.org>
* config/tc-i386.c (tc_i386_fix_adjustable): Only define if
BFD_ASSEMBLER.
Ian Lance Taylor [Wed, 26 Mar 1997 17:23:34 +0000 (17:23 +0000)]
* config/tc-mips.c (insn_uses_reg): Map register numbers in mips16
instructions.
Ian Lance Taylor [Wed, 26 Mar 1997 16:38:42 +0000 (16:38 +0000)]
* cond.c (cond_finish_check): New function.
* as.h (cond_finish_check): Declare.
* as.c (main): Call cond_finish_check.
Michael Meissner [Wed, 26 Mar 1997 15:41:04 +0000 (15:41 +0000)]
Add libgloss, G++ libraries to tic80 builds
Mark Alexander [Wed, 26 Mar 1997 14:48:59 +0000 (14:48 +0000)]
Fix from Peter Schauer:
* mdebugread.c (parse_procedure): Set address of procedure to
block start; this fixes problems with shared libraries introduced
by change of Mar 21.
Stu Grossman [Wed, 26 Mar 1997 06:53:10 +0000 (06:53 +0000)]
* aoutx.h (some_aout_object_p): Change executable test to fix
problems with embedded a.out systems.
Geoffrey Noer [Wed, 26 Mar 1997 02:21:57 +0000 (02:21 +0000)]
Tue Mar 25 18:16:43 1997 Geoffrey Noer <noer@cygnus.com>
* mh-cygwin32: override LIBGCC2_DEBUG_CFLAGS so debug info
isn't included in cygwin32-hosted libgcc2.a by default
Andrew Cagney [Wed, 26 Mar 1997 01:50:19 +0000 (01:50 +0000)]
Handle BSD make and its liking for `set -e'
Martin Hunt [Tue, 25 Mar 1997 22:49:26 +0000 (22:49 +0000)]
Tue Mar 25 14:45:54 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d30v.c (md_assemble): If two instructions
are supposed to be assembled in parallel and the first one is
long, print an error and stop.
(md_apply_fix3): Don't calculate absolute relocs. Just write
them out.
Ian Lance Taylor [Tue, 25 Mar 1997 20:49:31 +0000 (20:49 +0000)]
* stabs.c (_bfd_stab_section_offset): New function.
* libbfd-in.h (_bfd_stab_section_offset): Declare.
* libbfd.h: Rebuild.
* elf32-i386.c (elf_i386_relocate_section): Adjust the offset of a
stab reloc.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mips.c (mips_elf_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
Ian Lance Taylor [Tue, 25 Mar 1997 19:46:12 +0000 (19:46 +0000)]
* stabs.c (_bfd_link_section_stabs): Copy over the first header
symbol. Check for memory allocation failure of *psinfo.
(_bfd_write_section_stabs): Add psinfo parameter. Change all
callers. Set the value of the header symbol.
* libbfd-in.h (_bfd_write_section_stabs): Update declaration.
* libbfd.h: Rebuild.
Ian Lance Taylor [Tue, 25 Mar 1997 19:44:43 +0000 (19:44 +0000)]
* stabs.texinfo (Stab Section Basics): Make it clear that only
some versions of the GNU linker remove the leading N_UNDF symbol.
Andrew Cagney [Tue, 25 Mar 1997 05:06:12 +0000 (05:06 +0000)]
* emul_bugapi.c (emul_bugapi_create): Guard against NULL images.
* configure.in (enable-sim-endain): Correct typo in usage (from
Erik Landry <landry@ENGR.ORST.EDU>).
* configure: Re-generate.
Geoffrey Noer [Tue, 25 Mar 1997 03:47:14 +0000 (03:47 +0000)]
Mon Mar 24 19:43:16 1997 Geoffrey Noer <noer@cygnus.com>
* symtab.c (find_pc_symtab): change to support the case
where the objfile is reordered and contains both coff and
stabs debugging info (continue on if a psymtab isn't found).
Fred Fish [Tue, 25 Mar 1997 03:07:35 +0000 (03:07 +0000)]
* coff-tic80.c (tic80_howto_table): Add R_ABS entry.
(rtype2howto): Handle R_ABS reloc type. Also abort on unhandled
reloc types, rather than silently failing to generate an output file.
Jeff Law [Mon, 24 Mar 1997 21:48:36 +0000 (21:48 +0000)]
* gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
* gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
* gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
disassembler testsuite for the mn10300.
David Edelsohn [Mon, 24 Mar 1997 21:29:21 +0000 (21:29 +0000)]
Remove m32r sanitization.
Ian Lance Taylor [Mon, 24 Mar 1997 21:22:00 +0000 (21:22 +0000)]
* targmatch.sed: Use the hold space to put the #ifdef around the
the string constant.
* targets.c (UNSUPPORTED_TARGET): Don't define.
(find_target): Don't check for UNSUPPORTED_TARGET.
(bfd_set_default_target): Don't try to optimize by checking for
default.
David Edelsohn [Mon, 24 Mar 1997 20:42:43 +0000 (20:42 +0000)]
Delete duplicate mn10300 entry, move other to normal place.
David Edelsohn [Mon, 24 Mar 1997 20:24:29 +0000 (20:24 +0000)]
(m32r): Clean up support for.
Ian Lance Taylor [Mon, 24 Mar 1997 20:07:49 +0000 (20:07 +0000)]
* Makefile.in: Rebuild dependencies.
(ALL_MACHINES_CFILES): Add cpu-m32r.c.
(BFD32_BACKENDS_CFILES): Add elf32-m32r.c.
(elf32-m32r.o): Remove explicit target.
Ian Lance Taylor [Mon, 24 Mar 1997 20:03:29 +0000 (20:03 +0000)]
* Makefile.in (install-dirs): Don't crash if prefix, and hence
MAKEDIRS, is empty.
Ian Lance Taylor [Mon, 24 Mar 1997 19:59:06 +0000 (19:59 +0000)]
* sh-opc.h: Add bf/s and bt/s as synonyms for bf.s and bt.s.
The documented instructions are bf/s and bt/s.
Ian Lance Taylor [Mon, 24 Mar 1997 19:52:42 +0000 (19:52 +0000)]
* config.bfd: Don't set targ_underscore for i[3456]86-*-gnu* or
i[3456]86-*-linux*.
Ian Lance Taylor [Mon, 24 Mar 1997 19:38:27 +0000 (19:38 +0000)]
* i386.h: Add iclr.
Ian Lance Taylor [Mon, 24 Mar 1997 19:37:05 +0000 (19:37 +0000)]
* config/tc-i386.h (iclrKludge): Define.
* config/tc-i386.c (md_assemble): Handle iclrKludge.
Ian Lance Taylor [Mon, 24 Mar 1997 18:42:09 +0000 (18:42 +0000)]
* elf32-sparc.c (elf32_sparc_size_dynamic_sections): Don't
count section symbols for sections that were created by the
linker, or are not allocatable or not loadable.
(elf32_sparc_finish_dynamic_sections): Output output section
symbols for section for which we made space for them.
Ian Lance Taylor [Mon, 24 Mar 1997 18:32:03 +0000 (18:32 +0000)]
* mips-opc.c: Add dctr and dctw.
Ian Lance Taylor [Mon, 24 Mar 1997 17:14:06 +0000 (17:14 +0000)]
* config/tc-alpha.h (tc_frob_file_before_adjust): Define if
OBJ_ECOFF.
(alpha_frob_file_before_adjust): Declare if OBJ_ECOFF.
* config/tc-alpha.c (alpha_debug): New static variable.
(md_parse_option): Set alpha_debug if -g is seen.
(alpha_frob_file_before_adjust): New function if OBJ_ECOFF.
Ian Lance Taylor [Mon, 24 Mar 1997 16:13:38 +0000 (16:13 +0000)]
* Makefile.in (.c.o): Define TARGET_$(MY_TARGET) when compiling.
* gmon.h: Use bytes counts rather than sizeof in struct raw_phdr
and struct raw_arc.
Andrew Cagney [Mon, 24 Mar 1997 07:18:02 +0000 (07:18 +0000)]
The d30v release has a testsuite directory.
Andrew Cagney [Mon, 24 Mar 1997 06:59:54 +0000 (06:59 +0000)]
Enable testsuite in sim directory.
Andrew Cagney [Mon, 24 Mar 1997 06:49:54 +0000 (06:49 +0000)]
Growing number of tests for d30v
Martin Hunt [Mon, 24 Mar 1997 02:27:09 +0000 (02:27 +0000)]
Sun Mar 23 18:03:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* tc-d30v.c (build_insn): Enable range-checking code.
(postfix): Stop at space or comma. Fixes PR 11862.
(md_assemble): Change error message.
Martin Hunt [Mon, 24 Mar 1997 02:26:54 +0000 (02:26 +0000)]
Sun Mar 23 18:03:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d30v.c (build_insn): Enable range-checking code.
(postfix): Stop at space or comma. Fixes PR 11862.
(md_assemble): Change error message.
Martin Hunt [Mon, 24 Mar 1997 02:24:51 +0000 (02:24 +0000)]
Sun Mar 23 18:08:10 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* d30v-dis.c (print_insn): Change the way signed constants
are displayed.
Mark Alexander [Mon, 24 Mar 1997 00:29:12 +0000 (00:29 +0000)]
Fixes from Peter Schauer:
* config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE,
REGISTER_CONVERT_FROM_TYPE): Swap words if target, not host,
is big-endian and if registers are 32 bits.
* mips-tdep.c (mips_print_register, mips_extract_return_value,
mips_store_return_value): Fix floating-point word-order problems on
little-endian targets introduced by changes of Mar 21.
Stan Shebs [Mon, 24 Mar 1997 00:08:26 +0000 (00:08 +0000)]
* remote.c (target_resume_hook, target_wait_loop_hook): New
globals.
(remote_resume, remote_wait): Use them.
* d10v-tdep.c: Set the above hooks.
(tracesource): New GDB variable, controls source display in
traces.
(display_trace): Find and display source line if requested.
(trace_info): Mention empty trace buffer if appropriate.
(tdisassemble_command): Robustify argument handling.
Stan Shebs [Sun, 23 Mar 1997 20:50:09 +0000 (20:50 +0000)]
* configure.host: Remove extra bogus Linux case.
Bob Manson [Sun, 23 Mar 1997 04:41:14 +0000 (04:41 +0000)]
Moved change from gdb_target_udi to gdb_start.
Bob Manson [Sun, 23 Mar 1997 04:01:48 +0000 (04:01 +0000)]
* config/udi.exp(gdb_target_udi): Make sure UDICONF is set
properly before starting gdb.
Fred Fish [Sat, 22 Mar 1997 23:55:06 +0000 (23:55 +0000)]
Add this file too..
Fred Fish [Sat, 22 Mar 1997 23:53:32 +0000 (23:53 +0000)]
Forgot this change in last checkin.
Fred Fish [Sat, 22 Mar 1997 23:52:04 +0000 (23:52 +0000)]
* remote-sim.c (simulator_command): Add comment about dealing with
NULL or empty args.
start-sanitize-tic80
* Makefile.in (tic80-tdep.o): Add target.
* configure.tgt: Add tic80 case.
* tic80-tdep.c: New file.
* config/tic80/{tic80.mt, tm-tic80.h}: New files.
end-sanitize-tic80
David Edelsohn [Sat, 22 Mar 1997 19:42:23 +0000 (19:42 +0000)]
fix v850 sanitization
David Edelsohn [Sat, 22 Mar 1997 19:38:00 +0000 (19:38 +0000)]
remove m32r sanitization
Ian Lance Taylor [Sat, 22 Mar 1997 18:53:01 +0000 (18:53 +0000)]
* Makefile.in: Added automatic dependency building.
* dep-in.sed: New file.
Peter Schauer [Sat, 22 Mar 1997 10:50:18 +0000 (10:50 +0000)]
* c-exp.y (yylex): Handle nested template parameter lists.
* symtab.c (decode_line_2): Fix test for valid choice number.
Mark Alexander [Sat, 22 Mar 1997 04:40:03 +0000 (04:40 +0000)]
* mips-tdep.c (mips_push_arguments): On non-EABI architectures,
copy first two floating point arguments to general registers, so that
MIPS16 functions will receive the arguments correctly.
(mips_print_register): Print double registers correctly on
little-endian hosts.
(mips_extract_return_value): Return double values correctly
on little-endian hosts.
* mdebugread.c (parse_procedure): Adjust address of procedure relative
to address in file descriptor record; this accounts for constant
strings that may precede functions in the text section. Remove
now-useless lowest_pdr_addr from argument list and all calls.
Ian Lance Taylor [Fri, 21 Mar 1997 23:52:29 +0000 (23:52 +0000)]
* config/obj-ieee.c (segment_name): Don't define function if this
is a macro.
Ian Lance Taylor [Fri, 21 Mar 1997 23:13:26 +0000 (23:13 +0000)]
* config/obj-coff.h (DO_STRIP): Don't define.
* config/tc-h8300.h (DO_STRIP): Don't define.
* config/tc-h8500.h (DO_STRIP): Don't define.
* config/tc-w65.h (DO_STRIP): Don't define.
* config/tc-z8k.h (DO_STRIP): Don't define.
Ian Lance Taylor [Fri, 21 Mar 1997 23:06:08 +0000 (23:06 +0000)]
* symbols.c (colon): Call obj_frob_label if it is defined.
* config/obj-vms.h (obj_frob_label): Rename from tc_frob_label.
David Edelsohn [Fri, 21 Mar 1997 22:00:22 +0000 (22:00 +0000)]
Remove m32r sanitization.
David Edelsohn [Fri, 21 Mar 1997 20:59:30 +0000 (20:59 +0000)]
Remove m32r sanitization.
Michael Meissner [Fri, 21 Mar 1997 20:56:10 +0000 (20:56 +0000)]
Make powerpc simulator support in gdb dependent on whether the simulator was configured in
David Edelsohn [Fri, 21 Mar 1997 20:51:17 +0000 (20:51 +0000)]
* elf32-m32r.c (m32r_elf_howto_table): Use special function for LO16.
(m32r_hi16_list): New static local.
(m32r_elf_hi16_reloc): Don't perform reloc, just queue it up.
(m32r_elf_do_hi16_reloc): Delete.
(m32r_elf_relocate_hi16): New function.
(m32r_elf_lo16_reloc): New function.
(m32r_elf_relocate_section): For HI16 relocs, scan for corresponding
LO16 reloc.
* elf32-m32r.c (m32r_elf_create_linker_section): Delete.
(m32r_elf_add_symbol_hook): Rewrite _SDA_BASE_ support.
(m32r_elf_final_sda_base): New function.
(m32r_elf_relocate_section): Rewrite sdata support.
(m32r_elf_finish_dynamic_sections): Delete.
Bring over from m32r-970131 branch.
Ian Lance Taylor [Fri, 21 Mar 1997 20:48:27 +0000 (20:48 +0000)]
* configure.in: Don't set files and links. Don't call
AC_LINK_FILES. Substitute te_file. Create targ-cpu.h,
obj-format.h, targ-env.h, and itbl-cpu.h in AC_OUTPUT.
* configure: Rebuild.
* Makefile.in (TARG_CPU_C): New variable.
(TARG_CPU_O, TARG_CPU_H): New variables.
(OBJ_FORMAT_C, OBJ_FORMAT_O, OBJ_FORMAT_H): New variables.
(TARG_ENV_H, ATOF_TARG_C, ATOF_TARG_O): New variables.
(SOURCES): Rename from REAL_SOURCES. Delete old definition.
(LINKED_SOURCES): Remove.
(HEADERS): Rename from REAL_HEADERS. Delete old definition.
(LINKED_HEADERS): Remove.
(OBJS): Use $(TARG_CPU_O), etc., rather than targ-cpu.o, etc.
($(OBJS)): Depend upon $(TARG_ENV_H), etc., rather than
targ-cpu.h, etc.
($(TARG_CPU_O), $(OBJ_FORMAT_O) $(ATOF_TARG_O)): New targets.
(targ-cpu.o, obj-format.o, atof-targ.o): Remove targets.
(itbl-cpu.h): Remove target.
(DISTCLEAN_HERE): Remove targ-cpu.c, obj-format.c, atof-targ.c,
atof-targ.h.
Ian Lance Taylor [Fri, 21 Mar 1997 19:39:26 +0000 (19:39 +0000)]
* Makefile.in (BFD_H): New variable.
(HFILES): New variable.
(CFILES): Add all C files.
(.dep, .dep1, dep.sed, dep, dep-in): New targets.
Delete old dependencies, and build new ones.
* dep-in.sed: New file.
Ian Lance Taylor [Fri, 21 Mar 1997 18:09:12 +0000 (18:09 +0000)]
* elf32-sparc.c (elf32_sparc_size_dynamic_sections): If there is
no .rela.plt section, don't output a DT_PLTGOT dynamic entry.
Handles the case of a shared library with no function calls.
Ian Lance Taylor [Fri, 21 Mar 1997 17:35:20 +0000 (17:35 +0000)]
x
Ian Lance Taylor [Fri, 21 Mar 1997 17:29:13 +0000 (17:29 +0000)]
Fri Mar 21 12:28:41 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* emulparams/delta68.sh (OUTPUT_FORMAT): Set to "m68k-coff-sysv".
Jeff Law [Fri, 21 Mar 1997 06:15:27 +0000 (06:15 +0000)]
* mn10200-tdep.c (mn10200_analyze_prologue): Look for save of "a1"
in the prologue too.