Michael Tiemann [Tue, 11 Feb 1992 10:34:03 +0000 (10:34 +0000)]
#include <sys/stdtypes.h> before <stddef.h> so that when we compile
with GCC, the compiler does not stumble over `size_t', `ptrdiff_t',
and `wchar_t'. Also note that the comment in <stddef.h> says that we
have to #include <sys/stdtypes.h> before including <stddef.h> when on
a sun.
* ldexp.c, ldlang.c: added new idea "abs_output_section", removes
tests for NULL pointers all over the place.
* ldlang.c (lang_process): remember to relocate global symbols
*after* relaxing has done it stuff.
Sean Eric Fagan [Tue, 11 Feb 1992 00:01:35 +0000 (00:01 +0000)]
all: Don't include <sys/file.h> if NO_SYS_FILE is defined. On the Apollo,
this file does not exist, and not including it hasn't seemed to
cause problems.
main.c: Use the proper enum's in the options structure initialization;
the Apollo compiler chokes on this.
Sean Eric Fagan [Mon, 10 Feb 1992 23:58:50 +0000 (23:58 +0000)]
Makefile.in: Removed some '#''s that caused an extraneous include of
the host/site/target files.
configure.in: Added support for hosting on an Apollo Series 400, and
targeting on an OS/68k machine.
In configure{.in} {host|target}_makefile_frag should name a file
relative to srcdir. I think it now does. configure has been
corrected. configure.texi has been clarified.
Per Bothner [Thu, 6 Feb 1992 23:24:30 +0000 (23:24 +0000)]
* mipsread.c (parse_partial_symbols): Handle dependencies
between partial symbol tables (when not doing stabs-in-ecoff).
(This used to be handled by parse_fdr, but parse_fdr was
incompatible with handling stabs-in-ecoff, so the code
was re-written to not use parse_fdr. Unfortunately,
the logic to handle dependencies was overlooked.)
* as.c: added new option -ad for hll listings without debug info
* listing.c,listing.h: support for new listings, and more for forgiving
when lied to about where linenumbers are.
* config/obj-coffbfd.c (do_linenos_for): relocate line numbers
correctly.
* coffread.c (read_enum_type): Use the size of a target int when
describing enum.
* defs.h: added new #define for TARGET_PTR_BIT, defaults to size
of target int.
* h8300-tdep.c, remote-hms.c, tm-h8300.h: too many changes to count
* symtab.c (lookup_reference_type, lookup_ptr_type): use
TARGET_PTR_BIT to determine size of a pointer
* values.c (unpack_long): when unpacking a REF or a PTR don't
assume the size of the type.
* config/mt-coff-h8300: use EMUL like everything else
* ldlang.c: (print_padding_statement): print the right address.
* Makefile.in, config.h, ldemul.c: renamed h8300hds to h8300hms
* coffcode.h, libcoff.c: added new fielded to coff_symbol_struct
"done_lineno" so that a symbol which appears twice in the symbol
table only gets it's linenumbers relocated once. Modifed
(coff_write_native_symbol) and (coff_make_empty_symbol) to make
John Gilmore [Thu, 6 Feb 1992 06:33:15 +0000 (06:33 +0000)]
* mipsread.c (parse_symbol): Avoid clobbering enum pointer when
looking at its members. Improve guess between struct and union,
only assuming union if multiple members have offsets of zero.
Converting "[ -n" and "[ -z" into case statements looks like a small
time penalty for modern shells which have "[" builtin. I've elected
to take it anyway as a compensation for older, slower shells.
support for subdirs, multiple hosts, and multiple targets was
previously commented out. This delta removes it entirely. This makes
a small time difference on cygint.
Removing unnecessary ()'s doesn't seem to make any time difference on
cygint. I think modern shell's execute this internally without a call
to a separate shell process. I've left the change in anyway. It may
help on older, slower machines.
John Gilmore [Fri, 31 Jan 1992 20:37:24 +0000 (20:37 +0000)]
* symfile.c (reread_symbols): Whenever we reread one object
file's symbols, we must restart the scan, because the object_files
chain has been permuted.
John Gilmore [Fri, 31 Jan 1992 08:45:11 +0000 (08:45 +0000)]
* exec.c (exec_files_info): Split out into print_section_info.
Print BFD filename of each section if it's not the default one.
* core.c (core_files_info): Call print_section_info.
John Gilmore [Fri, 31 Jan 1992 07:54:12 +0000 (07:54 +0000)]
* Makefile.in: host-aout.c doesn't depend on aout-params.h.
* aout-target.h: Use TARGET_BIG_ENDIAN_P to set up vector.
* host-aout.c: Don't use aout-params.h; configure these systems
in their xm files, not in a randomly generated file.
Stu Grossman [Thu, 30 Jan 1992 19:42:52 +0000 (19:42 +0000)]
* host-aout.c: Change TARGETNAME to "a.out" to be compatible with
gdb. config/mt-hp300bsd: Change DEFAULT_VECTOR to host_aout_vec
to prevent undefined symbol.
Various lints found on PersSony
* aoutx.h: cast an enum
* coff-a29k.c: many ints in reloc structure turned to enum
* coffcode.h: more enums
* cpu-h8300.c: more enums
* opncls.c: more enums
John Gilmore [Thu, 30 Jan 1992 09:21:33 +0000 (09:21 +0000)]
* configure.in: Make Tahoe configuration work again.
* bfd-in.h: Remove trailing comma from enum declaration.
* ieee.c: Can't put byte values >0x7F into a signed char.
John Gilmore [Thu, 30 Jan 1992 09:14:21 +0000 (09:14 +0000)]
* sparc.h: Remove "cypress" architecture. Remove "fitox" and
similar instructions -- they've been renamed to "fitoq", etc.
REALLY fix tsubcctv. Fix "fcmpeq" and "fcmpq" which had wrong
number of arguments.
* h8300.h: Remove extra ; which produces compiler warning.
John Gilmore [Thu, 30 Jan 1992 09:06:49 +0000 (09:06 +0000)]
* sparc-pinsn.c: Remove kludge for preferring architectures.
Remove #ifdef's for SORT_NEEDED. We need to sort the table, now
and forever. Add `add' instruction to the set that get checked
for a preceding `sethi' in order to print an absolute address.
Corresponding changes in ../include/opcode/sparc.h needed
to eliminate garbage instructions.