Jim Wilson [Sat, 18 Nov 1995 02:03:21 +0000 (02:03 +0000)]
Patch for Hitachi PR 8433, avoid core dump on HPUX host
* gencode.c (tab): Add explicit NaN support for ftrc instruction.
Jason Molenda [Sat, 18 Nov 1995 01:43:37 +0000 (01:43 +0000)]
* configure.in (target_configdirs): add target-winsup only
for win32 target systems.
Michael Meissner [Sat, 18 Nov 1995 01:39:04 +0000 (01:39 +0000)]
Add scheduling support for M{F,T}CR
Michael Meissner [Sat, 18 Nov 1995 01:14:45 +0000 (01:14 +0000)]
More scheduling stuff
Stan Shebs [Sat, 18 Nov 1995 00:55:22 +0000 (00:55 +0000)]
Keep PowerMac emulation file.
Stan Shebs [Sat, 18 Nov 1995 00:50:06 +0000 (00:50 +0000)]
* configure.tgt (powerpc-*-macos*): New target.
* emulparams/ppcmacos.sh: New file, PowerMac emulation.
* Makefile.in (ALL_EMULATIONS): Add eppcmacos.o.
(eppcmacos.c): New target.
* mpw-eppcmacos.c: Update.
* mpw-make.sed: Edit out attempts to use {GENSCRIPTS}.
Rob Savoye [Sat, 18 Nov 1995 00:25:35 +0000 (00:25 +0000)]
* configure.in: Change "idt" config to a generic "embed" config
for all mips*-*-ecoff or elf configurations.
* configure: Regenerate using autoconf 2.4.
* config/mips/{idt*.mt,tm-idt*.h}: Rename to "idt" part of the
name to "embed". Build remote-array.o along with IDT protocols.
* remote-array.c: Nuke setting the serial port to 4800 baud.
Ian Lance Taylor [Fri, 17 Nov 1995 21:59:17 +0000 (21:59 +0000)]
* coffcode.h (coff_pointerize_aux_hook): I960 version: don't
pointerize C_LEAFSTAT or C_LEAFEXT entries.
Michael Meissner [Fri, 17 Nov 1995 19:17:58 +0000 (19:17 +0000)]
checkpoint ppc simulator
Ian Lance Taylor [Fri, 17 Nov 1995 15:43:18 +0000 (15:43 +0000)]
Fri Nov 17 10:41:25 1995 Philippe De Muyter <phdm@info.ucl.ac.be>
* elf-bfd.h (struct elf_link_hash_table): Change type of
dynsymcount and bucketcount fields from size_t to bfd_size_type.
Ian Lance Taylor [Fri, 17 Nov 1995 15:38:44 +0000 (15:38 +0000)]
* Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not
$(host_canonical) and $(target_canonical).
(CXX_FOR_TARGET): Likewise.
Ian Lance Taylor [Fri, 17 Nov 1995 15:36:38 +0000 (15:36 +0000)]
* gas/mri/immconst.d: New test.
* gas/mri/mri.exp: Run it.
* gas/mri/constants.s: Test immediate constants.
* gas/mri/constants.d: Corresponding change.
Ian Lance Taylor [Fri, 17 Nov 1995 15:05:44 +0000 (15:05 +0000)]
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Only create
DT_INIT and DT_FINI entries if the _init or _fini symbol is
defined or mentioned in a regular file.
PR 8462.
Geoffrey Noer [Thu, 16 Nov 1995 23:43:47 +0000 (23:43 +0000)]
complete.c: Change WIN32 to __WIN32__, added #else return NULL
to end of that define.
Michael Meissner [Thu, 16 Nov 1995 21:42:27 +0000 (21:42 +0000)]
Delete old functional_unit support; Add --enable-sim-model-issue; Monitor branch prediction success
Kim Knuttila [Thu, 16 Nov 1995 20:51:08 +0000 (20:51 +0000)]
Reloc fixes for PowerPC PE
David Edelsohn [Thu, 16 Nov 1995 19:28:05 +0000 (19:28 +0000)]
* scripttempl/pe.sc (.endjunk): Move definition of `end' to here
so the malloc heap begins at a sane place.
Michael Meissner [Thu, 16 Nov 1995 19:25:47 +0000 (19:25 +0000)]
fix bug in last checkin
Ian Lance Taylor [Thu, 16 Nov 1995 19:05:52 +0000 (19:05 +0000)]
* Makefile.in (all-target-libgloss): Depend upon
configure-target-newlib, since when libgloss is built it looks to
see if the newlib directory exists.
Michael Meissner [Thu, 16 Nov 1995 19:02:52 +0000 (19:02 +0000)]
more functional unit changes
Ian Lance Taylor [Thu, 16 Nov 1995 17:51:35 +0000 (17:51 +0000)]
* config/m68k-parse.y (yylex): In MRI mode, '@' can start an octal
number.
* expr.c (operand): Handle MRI suffixes after unadorned 0.
Ken Raeburn [Thu, 16 Nov 1995 10:12:33 +0000 (10:12 +0000)]
version 2.6
Ken Raeburn [Thu, 16 Nov 1995 09:58:27 +0000 (09:58 +0000)]
version 2.6
Ken Raeburn [Thu, 16 Nov 1995 05:38:58 +0000 (05:38 +0000)]
* config/obj-coff.c (write_object_file): Change use of md_do_align to pass a
pointer rather than a fill value, to match other uses.
* config/tc-ns32k.h (TC_FIX_TYPE): Add missing semicolon.
Stan Shebs [Thu, 16 Nov 1995 01:24:25 +0000 (01:24 +0000)]
* utils.c: Don't include sys/ioctl.h etc if MPW is host.
Ken Raeburn [Thu, 16 Nov 1995 00:32:34 +0000 (00:32 +0000)]
log for this morning's makefile (make dep) change
Ian Lance Taylor [Wed, 15 Nov 1995 23:17:21 +0000 (23:17 +0000)]
* targets.c (bfd_target): Change type of second argument to
_bfd_print_private_bfd_data from void * to PTR.
* libbfd-in.h (_bfd_generic_bfd_print_private_bfd_data): Cast
using PTR rather than void *.
* bfd-in2, libbfd.h: Rebuild.
* peicode.h (pe_print_private_bfd_data): Change vfile from void *
to PTR.
* elfxx-target.h (bfd_elfNN_bfd_print_private_bfd_data): Define as
_bfd_generic_bfd_print_private_bfd_data rather than casting
bfd_true.
Michael Meissner [Wed, 15 Nov 1995 23:01:47 +0000 (23:01 +0000)]
Add option to make options inline
Michael Meissner [Wed, 15 Nov 1995 22:53:59 +0000 (22:53 +0000)]
More model specific changes
Ian Lance Taylor [Wed, 15 Nov 1995 22:44:56 +0000 (22:44 +0000)]
* ld-srec/srec.exp: New tests.
* ld-srec/sr1.c, ld-srec/sr2.c, ld-srec/sr3.cc: New files.
* lib/ld.exp (ld_simple_link): Discard warnings about not being
able to find the entry symbol.
David Edelsohn [Wed, 15 Nov 1995 20:18:00 +0000 (20:18 +0000)]
* config/arm/tm-arm.h (ADDITIONAL_REGISTER_NAMES): Fix r5.
(FRAME_SAVED_PC): Minor clean up.
Ian Lance Taylor [Wed, 15 Nov 1995 17:21:26 +0000 (17:21 +0000)]
* binutils-all/objcopy.exp: If assembly fails, call unresolved.
Test running objcopy and strip on a final executable.
* binutils-all/testprog.c: New file.
* config/default.exp (STRIP, STRIPFLAGS): Define.
(binutils_compile): New procedure.
* lib/utils-lib.exp (default_binutils_compile): New procedure.
Ian Lance Taylor [Wed, 15 Nov 1995 16:46:19 +0000 (16:46 +0000)]
* configure: Handle LD and LD_FOR_TARGET when configuring a
Canadian Cross.
Michael Meissner [Wed, 15 Nov 1995 15:36:47 +0000 (15:36 +0000)]
ppcbug-rom checkin
Ken Raeburn [Wed, 15 Nov 1995 10:56:07 +0000 (10:56 +0000)]
move md_end use, and make use of it in cpu back ends. clean up empty, unused
md_end functions.
i386 changes from Alan Modra for using multi-byte sequences instead of
single nops for code alignment.
Jeff Law [Wed, 15 Nov 1995 07:30:52 +0000 (07:30 +0000)]
* gdb.base/callfuncs.exp: Remove bogus hppa xfails.
* gdb.base/corefile.exp: Likewise.
* gdb.base/funcargs.exp: Likewise.
Never should have been there anyway.
Ian Lance Taylor [Wed, 15 Nov 1995 04:41:10 +0000 (04:41 +0000)]
* peicode.h (coff_swap_aouthdr_out): For PPC PE, start isize at 0,
not at the file position of the first section.
* coffcode.h (coff_compute_section_file_positions): Avoid using
unportable #elif.
(coff_write_object_contents): When generating a PPC PE executable
with no symbols, round up the file size to a COFF_PAGE_SIZE
boundary.
* cofflink.c (_bfd_coff_final_link): If there are no symbols,
don't write out a string table.
Ian Lance Taylor [Wed, 15 Nov 1995 01:34:56 +0000 (01:34 +0000)]
* elf.c (bfd_section_from_shdr): When using a different section
header, pass the new one to _bfd_elf_make_section_from_shdr.
(elf_fake_sections): Don't set sh_info and sh_entsize fields.
(elf_map_symbols): Add section VMA to symbol value when comparing
against 0.
(_bfd_elf_compute_section_file_positions): Only build symbol table
if there are some symbols. Set file offset of symtab and strtab
sections.
(assign_file_positions_except_relocs): Remove dosyms parameter.
Change all callers. Never set file offset of symtab and strtab
sections.
(_bfd_elf_copy_private_section_data): New function.
(MAP_ONESYMTAB, MAP_DYNSYMTAB, MAP_STRTAB, MAP_SHSTRTAB): Define.
(_bfd_elf_copy_private_symbol_data): New function.
(swap_out_syms): Check for special mapping of st_shndx created by
copy_private_symbol_data.
* elfxx-target.h: Use new copy routines.
* elf-bfd.h (_bfd_elf_copy_private_symbol_data): Declare.
(_bfd_elf_copy_private_section_data): Declare.
Ian Lance Taylor [Wed, 15 Nov 1995 01:14:26 +0000 (01:14 +0000)]
comment fix
Ian Lance Taylor [Wed, 15 Nov 1995 01:05:26 +0000 (01:05 +0000)]
* ld-sh/sh2.c (__main): Define.
Stu Grossman [Wed, 15 Nov 1995 00:47:21 +0000 (00:47 +0000)]
* gencode.c: jsr, bsr and bsrf actually save pc+4 in pr, and rts
actually uses pr+0.
Michael Meissner [Wed, 15 Nov 1995 00:11:14 +0000 (00:11 +0000)]
Switch to using new fangled monitor.o routines for ppcbug, rather than remote
Stu Grossman [Tue, 14 Nov 1995 23:42:22 +0000 (23:42 +0000)]
* gencode.c: jsr actually saves pc+4, and rts actually uses pr+0.
Stu Grossman [Tue, 14 Nov 1995 23:41:36 +0000 (23:41 +0000)]
* config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
* config/monitor.exp: Add support for setting baud rate.
Stu Grossman [Tue, 14 Nov 1995 23:40:18 +0000 (23:40 +0000)]
* monitor.c (monitor_load_srec monitor_make_srec): Move all
S-record download code into srec.c.
* srec.c srec.h: New files. Contain S-record loading routines
formerly in monitor.c.
* serial.c serial.h: New routine just like fprintf, but uses
serial_t instead of FILE *.
* sh-tdep.c (frame_find_saved_regs init_extra_frame_info):
Don't add four to saved pc (makes things match manual). Also, fix
bug where we didn't get pc from stack frame correctly.
* config/sh/tm-sh.h (SAVED_PC_AFTER_CALL): Don't add four to
saved pc. Real hardware does this for you.
* sh3-rom.c (sh3_load): New routine. Sets up for download then
calls generic S-record loader.
* config/h8300/h8300.mt, config/h8500/h8500.mt,
config/m68k/monitor.mt, config/pa/hppapro.mt, config/sh/sh.mt:
Add srec.o to TDEPFILES.
Stu Grossman [Tue, 14 Nov 1995 23:24:10 +0000 (23:24 +0000)]
* monitor.c (monitor_load_srec monitor_make_srec): Move all
S-record download code into srec.c.
* srec.c srec.h: New files. Contain S-record loading routines
formerly in monitor.c.
* serial.c serial.h: New routine just like fprintf, but uses
serial_t instead of FILE *.
* sh-tdep.c (frame_find_saved_regs init_extra_frame_info):
Don't add four to saved pc (makes things match manual). Also, fix
bug where we didn't get pc from stack frame correctly.
* config/sh/tm-sh.h (SAVED_PC_AFTER_CALL): Don't add four to
saved pc. Real hardware does this for you.
* sh3-rom.c (sh3_load): New routine. Sets up for download then
calls generic S-record loader.
* config/h8300/h8300.mt, config/h8500/h8500.mt,
config/m68k/monitor.mt, config/pa/hppapro.mt, config/sh/sh.mt:
Add srec.o to TDEPFILES.
Jason Molenda [Tue, 14 Nov 1995 23:04:29 +0000 (23:04 +0000)]
* config/mh-i386win32: add LD_FOR_TARGET.
Ian Lance Taylor [Tue, 14 Nov 1995 23:03:25 +0000 (23:03 +0000)]
* dlltool.c: Use FOPEN_* macros rather than "r" or "w".
Jason Molenda [Tue, 14 Nov 1995 22:58:14 +0000 (22:58 +0000)]
* configure.in (target_libs): add target-winsup.
(target==i386-win32): add patch diff flex make to $noconfigdirs.
(target==ppcle-pe): remove ld from $noconfigdirs.
Ian Lance Taylor [Tue, 14 Nov 1995 22:20:12 +0000 (22:20 +0000)]
* dlltool.c (fill_ordinals): Correct memset call.
Ian Lance Taylor [Tue, 14 Nov 1995 22:10:14 +0000 (22:10 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Use the
environment variable LD_RUN_PATH if neither -rpath nor -rpath-link
were used.
(gld${EMULATION_NAME}_before_allocation): Use the environment
variable LD_RUN_PATH if -rpath was not used.
* ld.texinfo, ld.1: Document LD_RUN_PATH.
PR 8428.
Michael Meissner [Tue, 14 Nov 1995 21:25:11 +0000 (21:25 +0000)]
Add preliminary ppcbug support.
Michael Meissner [Tue, 14 Nov 1995 21:17:20 +0000 (21:17 +0000)]
Add preliminary ppcbug support.
Jeff Law [Tue, 14 Nov 1995 18:31:28 +0000 (18:31 +0000)]
Zap partial-stab.h:GDB_TARGET_IS_HPPA item.
Ian Lance Taylor [Tue, 14 Nov 1995 16:55:23 +0000 (16:55 +0000)]
* coff-sh.c (shlcoff_vec): Use _bfd_generic_archive_p, not
_bfd_dummy_target, matching the recent change to archive
recognition.
Michael Meissner [Tue, 14 Nov 1995 11:34:01 +0000 (11:34 +0000)]
make inline model use static when inlining.
Michael Meissner [Tue, 14 Nov 1995 11:25:34 +0000 (11:25 +0000)]
make inline model use static when inlining.
Michael Meissner [Tue, 14 Nov 1995 10:52:24 +0000 (10:52 +0000)]
fix more warnings
David Edelsohn [Tue, 14 Nov 1995 10:40:55 +0000 (10:40 +0000)]
Update. cfg-ml-com.in replaced with config-ml.in.
Michael Meissner [Tue, 14 Nov 1995 09:52:29 +0000 (09:52 +0000)]
Fix warnings and dependency
David Edelsohn [Tue, 14 Nov 1995 09:36:54 +0000 (09:36 +0000)]
Delete debugging -x's.
David Edelsohn [Tue, 14 Nov 1995 09:32:50 +0000 (09:32 +0000)]
* Makefile.in (CONFIGURE_TARGET_MODULES): Pass --with-target-subdir.
Preserve relative path names in $srcdir. Build symlink tree if
configuring cross target dir and srcdir=. (= no VPATH support).
(configure-target-libg++): Depend on configure-target-librx.
* cfg-ml-com.in, cfg-ml-pos.in: Deleted.
* config-ml.in: New file.
* symlink-tree: New file.
* configure: Ensure srcdir="." if that's what it is.
Stan Shebs [Tue, 14 Nov 1995 04:46:32 +0000 (04:46 +0000)]
Keep te-macos.h.
Stan Shebs [Tue, 14 Nov 1995 04:45:54 +0000 (04:45 +0000)]
* configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations.
* configure: Update.
* mpw-make.sed: Reorder commands to make sed happier.
* config/te-macos.h: New file.
* config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac.
Stan Shebs [Tue, 14 Nov 1995 03:31:22 +0000 (03:31 +0000)]
* mpw-README: Clarify some phrasing, add notes about CodeWarrior
includes and FLEX_SKELETON setting.
* mpw-configure (--with-gnu-ld): New option, controls whether
to use PPCLink or ld with PowerMac GCC.
* mpw-build.in (all-grez, do-grez, install-grez): New targets.
* mpw-config.in: Configure grez if targeting Mac.
Stan Shebs [Mon, 13 Nov 1995 20:47:41 +0000 (20:47 +0000)]
* config.sub: Accept pmac and pmac-mpw as names for PowerMacs,
accept mpw and mac-mpw as names for m68k Macs, change macos7 to
just macos.
* configure.in: Configure grez resource compiler if targeting Mac.
* Makefile.in (all-grez, install-grez): New targets.
Ian Lance Taylor [Mon, 13 Nov 1995 20:25:21 +0000 (20:25 +0000)]
* libbfd.c (bfd_get_file_window): Use casts to avoid doing
arithmetic on PTR types.
Jeff Law [Mon, 13 Nov 1995 20:15:42 +0000 (20:15 +0000)]
* partial-stab.h: Remove GDB_TARGET_IS_HPPA kludge.
gcc-2.7.0 and gdb-4.15 have been released, so some old crud can
disappear. Yippie!
Ian Lance Taylor [Mon, 13 Nov 1995 18:31:50 +0000 (18:31 +0000)]
* aout-target.h (MY(callback)): Set the lma of the sections.
Ian Lance Taylor [Mon, 13 Nov 1995 18:27:49 +0000 (18:27 +0000)]
* ecoff.c (ecoff_reloc_link_order): Turn a reloc against a defined
symbol into a reloc against the section.
Michael Meissner [Mon, 13 Nov 1995 16:07:30 +0000 (16:07 +0000)]
checkpoint
Kim Knuttila [Mon, 13 Nov 1995 15:21:12 +0000 (15:21 +0000)]
Missed a debug macro (duh)
Kim Knuttila [Mon, 13 Nov 1995 12:54:05 +0000 (12:54 +0000)]
Implemented IMGLUE reloc + dumping
Jeff Law [Mon, 13 Nov 1995 04:31:25 +0000 (04:31 +0000)]
* gas/hppa/unsorted/brlenbug.s: New test.
* gas/hppa/unsorted/unsorted.exp: Run it.
Jeff Law [Mon, 13 Nov 1995 04:17:57 +0000 (04:17 +0000)]
* config/tc-hppa.c (pa_ip): Fix off-by-2 bug in length check for
conditional branches.
(md_apply_fix): Likewise.
Stan Shebs [Mon, 13 Nov 1995 02:12:19 +0000 (02:12 +0000)]
Add "grez" to keep_these_too.
Michael Meissner [Mon, 13 Nov 1995 01:27:21 +0000 (01:27 +0000)]
Add model-functions support
Stan Shebs [Sun, 12 Nov 1995 21:03:38 +0000 (21:03 +0000)]
* mpw-make.sed (DEMANGLER_PROG): Edit out attempts to do anything
with the man page.
Stan Shebs [Sun, 12 Nov 1995 20:39:38 +0000 (20:39 +0000)]
* Makefile.in (bfd_libs_here, etc): Provide empty definitions.
* coff-rs6000.c (rs6000coff_vec): Add conditional defines
TARGET_SYM and TARGET_NAME for vector and BFD name.
* coff-pmac.c (pmac_xcoff_vec): Remove.
(TARGET_SYM, TARGET_NAME): Define.
* coffcode.h (coff_set_arch_mach_hook) [POWERMAC]: Set the
machine to 0, not all PowerMacs are 601s.
Michael Meissner [Sun, 12 Nov 1995 14:20:39 +0000 (14:20 +0000)]
Add support for setting model name and other things
Michael Meissner [Sun, 12 Nov 1995 02:06:11 +0000 (02:06 +0000)]
Various changes
Michael Meissner [Sat, 11 Nov 1995 12:30:17 +0000 (12:30 +0000)]
fix typo
Michael Meissner [Sat, 11 Nov 1995 01:11:31 +0000 (01:11 +0000)]
Check for files in the source directory, not the build directory
Michael Meissner [Fri, 10 Nov 1995 22:49:05 +0000 (22:49 +0000)]
Tons of changes to allow model specific information in the instruction file.
Victoria Mixon [Fri, 10 Nov 1995 19:59:40 +0000 (19:59 +0000)]
modified from 95q4
Victoria Mixon [Fri, 10 Nov 1995 19:44:30 +0000 (19:44 +0000)]
modified from 95q4
Victoria Mixon [Fri, 10 Nov 1995 19:28:36 +0000 (19:28 +0000)]
references to pesch@cygnus.com changed to doc@cygnus.com
Victoria Mixon [Fri, 10 Nov 1995 19:09:41 +0000 (19:09 +0000)]
binutils.texi: modified from 95q4
Michael Meissner [Fri, 10 Nov 1995 11:41:58 +0000 (11:41 +0000)]
If --enable-sim-inline is not specified, default to DEFAULT_INLINE=1, not 2.
Michael Meissner [Fri, 10 Nov 1995 11:38:13 +0000 (11:38 +0000)]
Add comment about enabing PowerPC simulator
Michael Meissner [Fri, 10 Nov 1995 11:27:14 +0000 (11:27 +0000)]
fix typo
Ian Lance Taylor [Fri, 10 Nov 1995 04:50:15 +0000 (04:50 +0000)]
* archive.c (bfd_generic_archive_p): Preserve tdata in case of
failure.
Michael Meissner [Thu, 9 Nov 1995 22:44:47 +0000 (22:44 +0000)]
Add --enable-sim-powerpc support.
Michael Meissner [Thu, 9 Nov 1995 22:41:34 +0000 (22:41 +0000)]
Enable powerpc simulator for all powerpc-eabi targets, not just powerpc-eabisim if compiling with GCC. Add --enable-sim-powerpc option to control this.
Raymond Jou [Thu, 9 Nov 1995 22:24:44 +0000 (22:24 +0000)]
* mpw-config.in: Add variable with names of SIOW libraries.
* mpw-make.sed: Add an action to build SIOWgdb.
Ian Lance Taylor [Thu, 9 Nov 1995 21:57:02 +0000 (21:57 +0000)]
* ldfile.c (ldfile_try_open_bfd): If bfd_error_invalid_target,
report a better error.
Michael Meissner [Thu, 9 Nov 1995 21:38:13 +0000 (21:38 +0000)]
Obey --silent
Michael Meissner [Thu, 9 Nov 1995 21:23:36 +0000 (21:23 +0000)]
Get CC, etc. vars from configure; build ppc simulator if we are using GCC
Ian Lance Taylor [Thu, 9 Nov 1995 21:15:10 +0000 (21:15 +0000)]
* config/tc-a29k.c (md_apply_fix): Warn if an attempt is made to
generate a reloc which the linker will not handle correctly. Fix
overflow checking--R_IREL is 18 bits, not 17.
Ian Lance Taylor [Thu, 9 Nov 1995 20:54:30 +0000 (20:54 +0000)]
* aoutx.h (NAME(aout,final_link)): Report a reasonable error when
trying to do a relocateable link with a non-a.out object file.