* Makefile.am ($(srcdir)/bfd-in2.h): Add dummy command to force
make to reexamine the file timestamp.
($(srcdir)/libbfd.h, $(srcddir)/libcoff.h): Likewise.
Mon Feb 2 17:39:39 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
Mon Feb 2 12:39:05 1998 Geoff Keating <geoffk@ozemail.com.au>
* config/tc-ppc.c (md_apply_fix3): Change BFD_RELOC_HI16 and
BFD_RELOC_HI16_S to store the high bits of any value.
* config/tc-ppc.h (tc_fix_adjustable): Undo change of Fri Jun 27.
(TC_RELOC_RTSYM_LOC_FIXUP): Don't let the
assembler calculate relocations to any external symbol at all.
* config/tc-ppc.c (md_apply_fix3) [OBJ_ELF]: Correct bugs
involving generation of pc-relative relocs.
(md_pcrel_from_section) [OBJ_ELF]: The job this code used to do
has been moved to md_apply_fix3.
* config/tc-ppc.c (md_apply_fix3): Fix test for too-far branch.
(ppc_elf_suffix): Warn about 'identifier+constant@got' syntax,
which actually means (the address of identifier's GOT entry) +
constant, which is not particularly useful.
Jeff Law [Mon, 2 Feb 1998 04:43:07 +0000 (04:43 +0000)]
* gas/mips/4010.s: Pad test code out to a 16byte boundary.
* gas/mips/4010.d: Corresponding changes.
* gas/mips/4100.s: Pad test code out to a 16byte boundary.
* gas/mips/4100.d: Corresponding changes.
* gas/mips/4650.s: Pad test code out to a 16byte boundary.
* gas/mips/4650.d: Corresponding changes.
start-sanitize-r5900
* gas/mips/5900.s: Pad test code out to a 16byte boundary.
* gas/mips/5900.d: Corresponding changes.
end-sanitize-r5900
To make mips-ecoff happy, which apparently pads out the sections...
Andrew Cagney [Sat, 31 Jan 1998 06:23:41 +0000 (06:23 +0000)]
igen: Fix SMP simulator generator support.
Use the bfd-processor name in the sim-engine switch.
Add nr_cpus argument to sim_engine_run.
tic80, v850, d30v, mips, common:
Update
mips: Fill in bfd-processor field of model records so that
they match ../bfd/archures.
Geoffrey Noer [Sat, 31 Jan 1998 01:23:12 +0000 (01:23 +0000)]
Fri Jan 30 17:18:32 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: Remove expect from noconfigdirs when target
is cygwin32. OK to build expect and dejagnu with Canadian
Cross.
Doug Evans [Sat, 31 Jan 1998 00:11:35 +0000 (00:11 +0000)]
* elf32-mips.c (elf_mips_dvp_11_pcrel_howto): Set pcrel_offset=true
and partial_inplace=false.
(mips_elf_relocate_section): Recognize R_MIPS_DVP_11_PCREL.
Ian Lance Taylor [Sat, 31 Jan 1998 00:11:33 +0000 (00:11 +0000)]
Fri Jan 30 19:07:07 1998 Geoff Keating <geoffk@ozemail.com.au>
* elf32-ppc.c (ppc_elf_create_dynamic_sections): New procedure
to create .dynsbss and .rela.sbss sections.
(ppc_elf_adjust_dynamic_symbol): Put space for small data to be
copied from dynamic objects into .sbss.
(ppc_elf_size_dynamic_sections): Strip .rela.sbss if we don't
use it. Correct typo of .rela.sdata2.
(ppc_elf_finish_dynamic_symbol): Generate reloc to where we
put the data, which may now be in .sbss.
(ppc_elf_relocate_section): A SDAREL16 reloc can be in dynsbss.
(elf_backend_create_dynamic_sections): Define as
ppc_elf_create_dynamic_sections.
* elf32-ppc.c (ppc_elf_check_relocs): Don't emit R_PPC_REL* relocs
against _GLOBAL_OFFSET_TABLE_.
(ppc_elf_relocate_section): Don't emit R_PPC_REL32 relocs in
shared libraries which refer to local symbols. Make sure that the
test for allocating space for a reloc in a shared object is the
same as the test for emitting a reloc.
Ian Carmichael [Fri, 30 Jan 1998 22:42:04 +0000 (22:42 +0000)]
* dvp-opc.c, a bunch of little change to the instruction table to make
* it consistent with the SCE asmvu assembler (and inconsistent with the
* spec).
David Taylor [Fri, 30 Jan 1998 20:33:43 +0000 (20:33 +0000)]
Changes by Peter.Schauer to fix gdb/13521 -- gdb step command fails to step
from a function in one dynamically linked library into a function in another
dynamically linked library.
Ian Lance Taylor [Thu, 29 Jan 1998 21:31:11 +0000 (21:31 +0000)]
Thu Jan 29 16:24:04 1998 Mumit Khan <khan@xraylith.wisc.edu>
* dlltool.c: Define exit status macros for _WIN32 but not
__CYGWIN32__.
(gen_lib_file): Check for exit status of unlink.
* resrc.c: Define popen and pclose if _WIN32 but not
__CYGWIN32__.
Ian Lance Taylor [Thu, 29 Jan 1998 21:11:10 +0000 (21:11 +0000)]
Thu Jan 29 16:04:21 1998 Mumit Khan <khan@xraylith.wisc.edu>
* ldfile.c (slash): Set to backslash if _WIN32 but not
__CYGWIN32__.
(ldfile_open_file_search): If __MSDOS__ or _WIN32, accept a
leading backslash or a leading x: as an absolute path.
(ldfile_find_command_file): Use slash rather than / when
generating name to try.
* lexsup.c (PATH_SEPARATOR): Define.
(set_default_dirlist): Use PATH_SEPARATOR rather than ':'.
Doug Evans [Thu, 29 Jan 1998 21:03:41 +0000 (21:03 +0000)]
* Makefile.in (M32RX_OBJS): Comment out until m32rx port working.
* arch.h (HAVE_CPU_M32R{,X}): Delete, moved to m32r-opc.h.
* arch.c (machs): Check ifdef HAVE_CPU_FOO for each entry.
Ian Lance Taylor [Thu, 29 Jan 1998 20:58:49 +0000 (20:58 +0000)]
Thu Jan 29 15:55:35 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
* config.bfd (i[3456]-*-mingw32*): New target.
* acinclude.m4 (BFD_BINARY_OPEN): Check for mingw32.
* aclocal.m4, configure: Rebuild.
Ian Lance Taylor [Thu, 29 Jan 1998 19:48:18 +0000 (19:48 +0000)]
Thu Jan 29 14:42:44 1998 Pat Rankin <rankin@eql.caltech.edu>
* Makefile.am (CONFIG_OBJS): New variable, containing part of old
OBJS variable.
(GENERIC_OBJS): New variable, with the rest of the old OBJS
variable.
(OBJS): Now just $(CONFIG_OBJS) and $(GENERIC_OBJS).
($(srcdir)/make-gas.com): Rename from make-gas.com.
(stamp-mk.com): Replace $(OBJS) with $(GENERIC_OBJS).
(EXTRA_DIST): Define.
* vmsconf.sh: Handle {targ-cpu, obj-format, atof-targ} modules
explicitly rather than via the list of object files.
(gcc-as.opt): New file created when make-gas.com is run.
* config-gas.com: Create {targ-cpu.h, obj-format.h, targ-env.h,
itbl-cpu.h} to #include appropriate file rather than copying that
file.
* config/vms-conf.h: Synchronize with current config.in.
* Makefile.in: Rebuild.
Doug Evans [Thu, 29 Jan 1998 19:25:37 +0000 (19:25 +0000)]
* Makefile.in (M32RX_OBJS): Comment out until m32rx port working.
* arch.h (HAVE_CPU_M32RX): Likewise.
* arch.c (machs): Check ifdef HAVE_CPU_FOO for each entry.
Stan Shebs [Wed, 28 Jan 1998 23:02:03 +0000 (23:02 +0000)]
Suggested by Chris Walter <walter@budoe.bu.edu>:
* dwarfread.c (set_cu_language): Recognize Fortran.
* dwarf2read.c (set_cu_language): Ditto.
(read_array_type): Fix language test.
Ian Lance Taylor [Wed, 28 Jan 1998 22:58:15 +0000 (22:58 +0000)]
Wed Jan 28 17:43:02 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
* objcopy.c (copy_archive): Only pass one argument to mkdir if
_WIN32 but not __CYGWIN32__.
(smart_rename): Add code for _WIN32 (not __CYGWIN32__), to cope
with different rename behaviour and lack of chown.
Ian Lance Taylor [Wed, 28 Jan 1998 22:48:37 +0000 (22:48 +0000)]
Wed Jan 28 17:45:46 1998 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Remove vfork check.
* nlmconv.c: Never include vfork.h.
* aclocal.m4, configure, Makefile.in, config.in: Rebuild.
* configure.in: Check for mingw32 when deciding whether to build
dlltool.
Ian Lance Taylor [Wed, 28 Jan 1998 22:46:01 +0000 (22:46 +0000)]
Wed Jan 28 17:43:02 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
* dlltool.c: Never include vfork.h.
(run): Use pexecute rather than vfork.
(gen_lib_file): Check for errors from bfd_set_archive_head and
bfd_close. Close all the BFDs in the archive before deleting the
temporary files.
Ian Lance Taylor [Wed, 28 Jan 1998 21:44:53 +0000 (21:44 +0000)]
Wed Jan 28 16:41:19 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
* configure.in (i386-*-mingw32*): New target.
* configure: Rebuild.
Michael Snyder [Wed, 28 Jan 1998 21:06:54 +0000 (21:06 +0000)]
Wed Jan 28 12:51:08 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
* blockframe.c (generic_frame_chain_valid): A frame pointer may
be valid if it is equal to the frame pointer of its caller (ie.
not necessarily strictly INNER_THAN). Allows frameless functions.