Commit Graph

15062 Commits

Author SHA1 Message Date
Ian Lance Taylor
67cf67787d * emultempl/aix.em (gld${EMULATION_NAME}_after_open): Only set
relocateable before calling ldctor_build_sets if the output file
	is in an XCOFF format.
1995-12-19 22:36:03 +00:00
Ian Lance Taylor
d9518e2edc * coff-i960.c (CALC_ADDEND): Define.
(coff_i960_relocate_section): Add the input section VMA to the
	addend for PC relative relocs.
PR 8697.
1995-12-19 21:38:51 +00:00
Michael Meissner
a9ddbbf5a1 12/19 release from Andrew that fixes Netbsd break problem 1995-12-19 16:41:06 +00:00
Jason Molenda
aef95a96bc * configure.in (i386-win32): Don't build expect if we're not
building the tcl subdir.
1995-12-19 01:56:18 +00:00
Stan Shebs
33bc6fe5fc * Makefile.in: (configure-target-examples, all-target-examples):
New targets, configure and build example programs.
1995-12-18 19:50:07 +00:00
Michael Meissner
98a497b3e9 Work with new and old BFDs; Do not inline model externs functions by default 1995-12-16 15:02:48 +00:00
Stan Shebs
a585028b88 * mpw-configure: If an mpw-config.in generated a file mk.sed,
use it as input to sedit the generated MPW makefile.
	* mpw-README: Add a suggestion about Gestalt.h.
1995-12-16 00:20:14 +00:00
J.T. Conklin
29861dd01a * config/tc-sh.c (parse_reg): Recognize SH3 registers.
(get_specific): Handle A_SSR, A_SPC and A_REG_B.
(build_Mbytes): Handle REG_B.
1995-12-15 22:30:33 +00:00
Ian Lance Taylor
ab0ec5d046 * disassemble.c (disassembler): Use new bfd_big_endian macro. 1995-12-15 21:45:00 +00:00
Ian Lance Taylor
656db2ed89 * ld-srec/srec.exp: Remove i960 COFF setup_xfail. 1995-12-15 21:39:35 +00:00
Ian Lance Taylor
4fc151e99a * ldwrite.c (build_link_order): When handling a data statement, if
the endianness of the output file is unknown, use the endianness
	of the input file.
1995-12-15 21:39:09 +00:00
Ian Lance Taylor
e924127a4f * run.c (main): Use new bfd_big_endian macro. 1995-12-15 21:28:11 +00:00
Ian Lance Taylor
dc092b6b2a * targets.c (enum bfd_endian): Define.
(bfd_target): Rename byteorder_big_p to byteorder, and change it
	from boolean to enum bfd_endian.  Change header_byteorder_big_p
	correspondingly.
	* bfd-in.h (bfd_big_endian, bfd_little_endian): New macros.
	(bfd_header_big_endian, bfd_header_little_endian): New macros.
	* bfd-in2.h: Rebuild.
	* All targets: Change initialization of byteorder and
	header_byteorder to use enum bfd_endian values rather than
	booleans.
	* All files: Change all references to byteorder_big_p and
	header_byteorder_big_p to use new bfd_*_endian macros.
1995-12-15 21:18:43 +00:00
Ian Lance Taylor
3ecd62ca75 * top.c (set_endian_from_file): Use new bfd_big_endian macro. 1995-12-15 21:17:04 +00:00
Ian Lance Taylor
432b8fa87a * ecoff.c (ecoff_build_aux): Use new bfd_big_endian macro. 1995-12-15 21:12:36 +00:00
Michael Meissner
669b4e1ef6 Fix warnings when using full inlining. 1995-12-15 21:06:22 +00:00
Raymond Jou
1c1a6a1e3d * mpw-make.sed: Add quotes to RIncludes reference. 1995-12-15 20:31:58 +00:00
Rob Savoye
1e11d889d0 * remote-array.c: Remove bogus setting of baudrate to 4800. Their
hardware has real UARTS now.
1995-12-15 20:20:33 +00:00
Michael Meissner
93fac32455 Changes from Andrew 1995-12-15 20:20:13 +00:00
Raymond Jou
ee68a042d2 * mpw-make.sed: If linking, edit ALL_CFLAGS to CFLAGS. 1995-12-15 20:17:52 +00:00
Ian Lance Taylor
010a405a94 * coffgen.c (make_a_section_from_file): Set lma to s_paddr, not
s_vaddr.
	* coffcode.h (coff_write_object_contents): Set s_paddr to lma, not
	vma.
	* ecoff.c (_bfd_ecoff_write_object_contents): Likewise.
1995-12-15 17:07:00 +00:00
Steve Chamberlain
445604d7eb * dlltool.c (fill_ordinals): Start from 1 if no other instructions
given.
1995-12-15 15:52:56 +00:00
Steve Chamberlain
fcb4390628 * pe[i]-i386.c (TARGET_UNDERSCORE): Define to '_'. 1995-12-15 15:32:29 +00:00
David Edelsohn
214a9db6a9 Delete jaguar. Delete psion sanitization. 1995-12-14 22:48:32 +00:00
Ian Lance Taylor
1457810573 * ieee.c: Lots of minor cleanups. Make many functions return
errors rather than calling abort.  Also:
	(ieee_write_twobyte): Remove; change callers to call existing
	ieee_write_2bytes function.
	(ieee_write_expression): Don't output the section twice when
	outputting a local symbol.  Don't emit an extraneous zero if there
	is only one term.
	(ieee_slurp_sections): Set the lma as well as the vma.
	(ieee_archive_p): Use bfd_alloc_grow rather than an obstack.
1995-12-14 20:33:14 +00:00
Ian Lance Taylor
b14630f2df * config/obj-coff.c (write_object_file): Set the s_align field to
the number of bytes, rather than to the power of 2.
PR 8674, 8678.
1995-12-14 20:12:31 +00:00
Ian Lance Taylor
0d709d3137 * ihex.c (ihex_set_arch_mach): Don't accept any architecture, just
a recognized one or bfd_arch_unknown.
	(ihex_get_symtab_upper_bound): Define as bfd_0l, to permit objcopy
	to succeed.
	(ihex_get_symtab): Likewise.
1995-12-14 18:46:54 +00:00
Ian Lance Taylor
48ac185397 * config.sub: Accept *-*-ieee*. 1995-12-13 21:45:07 +00:00
Ian Lance Taylor
14dc2f774e * aoutx.h: Include <ctype.h>.
(struct aout_link_includes_table): Define.
	(struct aout_link_includes_totals): Define.
	(struct aout_link_includes_entry): Define.
	(aout_link_includes_lookup): Define macro.
	(struct aout_final_link_info): Add includes field.
	(aout_link_includes_newfunc): New static function.
	(NAME(aout,final_link)): Initialize includes hash table.
	(aout_link_write_symbols): Eliminate duplicate N_BINCL entries.
1995-12-13 20:47:36 +00:00
Stan Shebs
480ccad563 * mpw-config.in: Match on mips-*-* instead of mips-idt-ecoff. 1995-12-13 18:54:24 +00:00
Ian Lance Taylor
120e5e8912 * stabs.texinfo (Include Files): Document the values the SunOS4
linker creates for N_BINCL/N_EINCL/N_EXCL stabs.
1995-12-13 17:36:52 +00:00
Kim Knuttila
3920d9c924 Protected debugging code. (duh) 1995-12-13 16:22:02 +00:00
Kim Knuttila
207345f2f6 Fixes for .reloc 1995-12-13 12:56:29 +00:00
Kim Knuttila
caa740beb8 Fixes for .reloc 1995-12-12 23:47:05 +00:00
Stan Shebs
aaa877b7ac Reflect file rename. 1995-12-12 22:37:05 +00:00
Stan Shebs
d8d4a450ff * mpw-config.in: Recognize mips-*-* as equivalent to
mips-idt-ecoff.
	* mpw-eppcmac.c: Shortened from mpw-eppcmacos.c.
	* mpw-ld.r: Add version resources.
	(cfrg): Use symbolic instead of literal name for executable.
1995-12-12 22:35:48 +00:00
Ian Lance Taylor
1d77631329 * Makefile.in (distclean): Remove stamp-h. From Ronald
F. Guilmette <rfg@monkeys.com>.
1995-12-12 17:23:11 +00:00
Ian Lance Taylor
4a3d48fc1e * Makefile.in (DISTCLEAN_HERE): New variable.
(distclean): Use it.
	(maintainer-clean): Depend upon clean-here rather than clean,
	distclean, and clean-info.  Run make maintainer-clean in doc.
	Remove files listed in DISTCLEAN_HERE.
	* doc/Makefile.in (maintainer-clean realclean): Split out from
	distclean.  Depend upon clean-info and distclean.
1995-12-12 17:21:31 +00:00
Ian Lance Taylor
64c4b2ad86 * Makefile.in (clean): Remove $(DEMANGLER_PROG).1. From Ronald
F. Guilmette <rfg@monkeys.com>.
1995-12-12 17:08:17 +00:00
Ian Lance Taylor
8c5bc3e33a * Makefile.in (local-distclean): Remove $(TARGET_SUBDIR). From
Ronald F. Guilmette <rfg@monkeys.com>.
1995-12-12 17:03:18 +00:00
Ian Lance Taylor
273c019e53 * config.bfd: Handle sparc-*-elf*. From Ronald F. Guilmette
<rfg@monkeys.com>.
1995-12-12 16:44:22 +00:00
Stan Shebs
2e81067b0c Keep all new PowerMac files. 1995-12-12 02:39:06 +00:00
Stan Shebs
c148ab3c6d * configure.in (powerpc-*-macos*): New target configuration.
* configure: Update.
	* config/powerpc/macos.mh, config/powerpc/macos.mt,
 	config/powerpc/nm-macos.h, config/powerpc/tm-macos.h, mac-nat.c:
 	New files, native PowerMac debugging support.
	* Makefile.in (mac-nat.o): Add build rule.
	* mpw-config.in (enable_cflags): Add support.
	(m68k-apple-macos, powerpc-apple-macos): Fix natdepfiles to
	list object file instead of source file.
	* mpw-make.sed (@ENABLE_CFLAGS@): Don't edit out, replace with
	value of variable.
	(install, install-only): Edit MPW-specific installation into
	place of Unix shell code.
	* mac-gdb.r: Fix version resources to use symbolic version strings.
	(cfrg): New resource, code fragment for PowerMac.
1995-12-12 02:35:27 +00:00
Fred Fish
1f43e1dd51 * dbxread.c (process_one_symbol): When looking at the next
minimal symbol, check for end of the minimal symbol array
 	(symbol with NULL pointer for name) before dereferencing it.
Fixes PR 8644
1995-12-12 01:58:31 +00:00
Per Bothner
b44fe1d5e0 * tuples.ch, tuples.exp: Exhance test cases (from PR 8643). 1995-12-12 00:55:18 +00:00
Per Bothner
339038710b * eval.c (evaluate_struct_tuple): Fix thinko.
This fixes PR 8643.
1995-12-12 00:51:21 +00:00
Stan Shebs
7e5e83cfb4 * mac-as.r: Fix copyright and version strings.
(cfrg): Use PROG_NAME instead of literal name.
1995-12-12 00:27:29 +00:00
Jason Molenda
a51794f15a * configure.in (host==powerpc-pe): Add many directories to noconfigdirs
for powerpc-pe native.
        (target==i386-win32): add tcl, make to noconfigdirs if canadian cross.
        (target==powerpc-pe): duplicate i386-win32 entry.
1995-12-11 23:34:30 +00:00
Kim Knuttila
9499591f90 Moved the .reloc section slightly 1995-12-11 23:04:18 +00:00
Stan Shebs
f44f761453 * mac-binutils.r: Fix copyright and version strings.
* Makefile.in (version): Remove, no longer used.
1995-12-11 22:35:35 +00:00