K. Richard Pixley [Tue, 18 Feb 1992 11:27:34 +0000 (11:27 +0000)]
pulled in from hack's unfinished work
K. Richard Pixley [Tue, 18 Feb 1992 11:25:11 +0000 (11:25 +0000)]
prepping for configure
K. Richard Pixley [Tue, 18 Feb 1992 10:24:13 +0000 (10:24 +0000)]
white space and comments only
K. Richard Pixley [Tue, 18 Feb 1992 10:23:18 +0000 (10:23 +0000)]
add note about i860 relocation types
K. Richard Pixley [Tue, 18 Feb 1992 10:22:46 +0000 (10:22 +0000)]
use the new atof-ns32.c for ns32k.
K. Richard Pixley [Tue, 18 Feb 1992 10:21:45 +0000 (10:21 +0000)]
comment change only
K. Richard Pixley [Tue, 18 Feb 1992 10:20:20 +0000 (10:20 +0000)]
tc-i860.[hc]: blew off the dust. Something must still be done about
conflicting relocation types.
K. Richard Pixley [Tue, 18 Feb 1992 10:18:32 +0000 (10:18 +0000)]
keep ChangeLog
K. Richard Pixley [Tue, 18 Feb 1992 10:18:05 +0000 (10:18 +0000)]
Replaced previous tc_aout_fix_to_chars stub with the real thing.
K. Richard Pixley [Tue, 18 Feb 1992 10:13:57 +0000 (10:13 +0000)]
keep the new file
K. Richard Pixley [Tue, 18 Feb 1992 10:13:09 +0000 (10:13 +0000)]
delete duplicate macro definition
K. Richard Pixley [Tue, 18 Feb 1992 10:11:07 +0000 (10:11 +0000)]
copied from hack's last unreleased gas
Fred Fish [Tue, 18 Feb 1992 01:20:46 +0000 (01:20 +0000)]
* readline.c (readline_default_bindings): Only make use of VLNEXT
when both VLNEXT and TERMIOS_TTY_DRIVER is defined. On SVR4
<termio.h> includes <termios.h>, so VLNEXT is always defined.
* sysdep-norm.h (_POSIX_VERSION): Define this for all SVR4
systems so that <termios.h> gets used, instead of <termio.h>.
Fred Fish [Mon, 17 Feb 1992 23:26:54 +0000 (23:26 +0000)]
Add code to handle TAG_pointer_type DIE's (DWARF Information Entries)
that are produced by the i486/SVR4 MetaWare compiler, but not by the
AT&T or GCC compilers.
Per Bothner [Mon, 17 Feb 1992 20:08:20 +0000 (20:08 +0000)]
New hp300bsd port.
Per Bothner [Mon, 17 Feb 1992 20:04:21 +0000 (20:04 +0000)]
* hp300bsd.c (new), config/mt-hp300bsd: Make hp300bsd
a full configuration (with possible cross-development),
instead of using host-aout.c.
K. Richard Pixley [Mon, 17 Feb 1992 16:02:58 +0000 (16:02 +0000)]
record that files were removed
K. Richard Pixley [Mon, 17 Feb 1992 15:54:49 +0000 (15:54 +0000)]
fighting bitrot in a major way
Fred Fish [Mon, 17 Feb 1992 15:23:05 +0000 (15:23 +0000)]
When creating user defined types for subroutine and array types, check
first to see if a partial type already exists due to a forward reference,
and if so, bash it to fit.
Per Bothner [Sun, 16 Feb 1992 22:42:44 +0000 (22:42 +0000)]
Hack so it Sanitizes cleanly.
Per Bothner [Sun, 16 Feb 1992 21:05:54 +0000 (21:05 +0000)]
* aout-target.h (MY(write_object_contents):
Set obj_reloc_entry_size (abfd).
* gen-aout.c: Change to emit a .c files, not a .h file.
Per Bothner [Sun, 16 Feb 1992 20:58:45 +0000 (20:58 +0000)]
* Makefile.in: Bump version to 1.96, and remove -beta
suffix from distribution name.
* m68k-pinsn.c: New macro COERCE_SIGNED_CHAR to extract
the signed value of a character (even if chars are unsigned).
* sparc-pinsn.c: Add new operand types.
Per Bothner [Sun, 16 Feb 1992 20:49:26 +0000 (20:49 +0000)]
*** empty log message ***
Roland Pesch [Sun, 16 Feb 1992 01:46:59 +0000 (01:46 +0000)]
Two typos fixed, spotted by Jim Irwin of WRS
Roland Pesch [Sun, 16 Feb 1992 01:39:35 +0000 (01:39 +0000)]
Fix missing user-font lines in introductory example (spotted by J Irwin,
WRS).
Per Bothner [Sat, 15 Feb 1992 23:13:00 +0000 (23:13 +0000)]
* Makefile.in: Major changes. Removed some the sed
magic to converts scripts, since that is now handled
by genscripts.sh and the *.sc-sh scipt generators.
* config.h: Remove a bunch of macros defining emulations
and targets. This becomes one less file to edit when
adding emulations or targets.
* ldemul.h (struct ld_emulation_xfer_struct): Add
emulation_name and target_name fields.
* ldemul.c, ldemul.h: Define some default functions used
by most emulations (and remove from the *.em scripts).
* ldemul.c (ldemul_choose_target): Search the new
ld_emulations array using a loop (instead of a hardwired
nested if statement).
Define the ld_emulation from the automatically-geenrated
ldemul-list.h. This means you no longer have to edit ldemul.c
to add a new emulation.
* ldmain.c: Replace {GLD,LNK}960_EMULATION_NAME by
their expansions, since the former no longer exist.
* PORTING: A very rough first draft of a porting guide.
Per Bothner [Sat, 15 Feb 1992 22:21:43 +0000 (22:21 +0000)]
* config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAME
to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.)
* config/mh-foo: Rename LDEMULATION names as appropriate
(usually 'gldfoo' -> plain 'foo').
Per Bothner [Sat, 15 Feb 1992 22:13:53 +0000 (22:13 +0000)]
Major rewrite of how ld is configured. The major idea
is to use shell scripts to generate everything.
* Each emulation is defined by a short shell script with
extension *.sh that specifies the emulation-specific
parameters (such as the name of the *.sh-sc and *.em
files to use).
* genscript.sh is the master shell script used to generate
an emulation. It is passed various argument, including
the name a the emulation-speciic *.sh file that it
"sources" to set variables to emulation-specifc parameters.
Per Bothner [Sat, 15 Feb 1992 22:07:15 +0000 (22:07 +0000)]
Major rewrite of how ld is configured. The major idea
is to use shell scripts to generate everything.
* generic.em replaces ldtemplate.
* Other *.em files replace various *.c files.
A *.em file is a shell script that generates the corresponding
ld__*.c file that implements an emulation. This is usually
a straight 'cat' of a here-document, possibly with substitutions.
* Script files (*.sc) are places by *.sc-sh scripts.
Again, these are simple shell scripts that 'cat'
here-documents, usually with some substitutions.
The output a *.sc-sh is a script file.
K. Richard Pixley [Sat, 15 Feb 1992 21:13:03 +0000 (21:13 +0000)]
White space and comment changes. #ifdef __STDC__ becomes #if __STDC__
== 1. Get the declarations right in listing.[hc].
K. Richard Pixley [Sat, 15 Feb 1992 21:09:34 +0000 (21:09 +0000)]
White space and comment changes, and #ifdef __STDC__ becomes #if
__STDC__ == 1.
Fred Fish [Fri, 14 Feb 1992 04:13:53 +0000 (04:13 +0000)]
Remove obsolete use of BSF_ABSOLUTE and replace with bfd_abs_section ref.
Steve Chamberlain [Fri, 14 Feb 1992 02:29:39 +0000 (02:29 +0000)]
pointer lint and tandem target.
Steve Chamberlain [Fri, 14 Feb 1992 01:48:00 +0000 (01:48 +0000)]
Fix typeo which crept in between compiling and checking in
Steve Chamberlain [Fri, 14 Feb 1992 01:37:56 +0000 (01:37 +0000)]
* coffcode.h (get_normalized_symtab): fixed bug where symbols
with more than one auxent can cause nasty core dumps.
Fred Fish [Fri, 14 Feb 1992 01:22:12 +0000 (01:22 +0000)]
Fix code in elf_symtab_read which attempts to read the standard ELF
symbol table and add symbol information to the misc function vector.
This allows minimum functionality with non -g compiled code, and is
vital for use with shared libraries (non of which are currently
compiled with -g).
Note to anyone doing any SVR4/gdb work. This bug was introduced into
gdb just prior to the gdb 4.4 release, thus any versions currently
in the field will have broken shared library support since no symbol
information at all will be available for the shared library. This
fix, along with one about to go into bfd's elf.c should fix that
problem.
Roland Pesch [Fri, 14 Feb 1992 00:28:22 +0000 (00:28 +0000)]
Might as well keep the contents of the gas/doc subdir, as well as the
dir itself.
Roland Pesch [Fri, 14 Feb 1992 00:21:34 +0000 (00:21 +0000)]
It's OK to keep the doc subdirectory, really.
Stu Grossman [Thu, 13 Feb 1992 20:44:23 +0000 (20:44 +0000)]
* xm-vaxbsd.h: Close off comment.
Heinz G. Seidl [Thu, 13 Feb 1992 19:39:48 +0000 (19:39 +0000)]
terminated unterminated comment
Fred Fish [Thu, 13 Feb 1992 15:47:18 +0000 (15:47 +0000)]
Define NEED_POSIX_SETPGID for all SVR4 hosts.
K. Richard Pixley [Thu, 13 Feb 1992 10:13:24 +0000 (10:13 +0000)]
clean up Sanitize for gas
K. Richard Pixley [Thu, 13 Feb 1992 09:56:39 +0000 (09:56 +0000)]
add README fluff
K. Richard Pixley [Thu, 13 Feb 1992 09:56:04 +0000 (09:56 +0000)]
fluff
K. Richard Pixley [Thu, 13 Feb 1992 09:49:39 +0000 (09:49 +0000)]
All files over ~5 lines get copylefted. All copylefted files get
copylefted 1992.
K. Richard Pixley [Thu, 13 Feb 1992 09:13:54 +0000 (09:13 +0000)]
force all files to end in "/* end of filename"
K. Richard Pixley [Thu, 13 Feb 1992 08:39:15 +0000 (08:39 +0000)]
remove all rcs keywords
K. Richard Pixley [Thu, 13 Feb 1992 08:33:54 +0000 (08:33 +0000)]
White space and comments only. The devo tree prior to this delta is
tagged as "vanilla" for your convenience.
There are also some comment changes.
K. Richard Pixley [Thu, 13 Feb 1992 00:20:17 +0000 (00:20 +0000)]
I think this solves the MAKEINFO and BISON rooting problems.
Steve Chamberlain [Wed, 12 Feb 1992 06:42:21 +0000 (06:42 +0000)]
Make the emulation GLD960, not GLD
Sean Eric Fagan [Tue, 11 Feb 1992 23:15:03 +0000 (23:15 +0000)]
Updating gprof for latest bfd stuff, and making configure work.
Steve Chamberlain [Tue, 11 Feb 1992 20:21:52 +0000 (20:21 +0000)]
ldlang.c: now won't core dump with -M
configure.in: add configure target for vxworks960
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.
Steve Chamberlain [Tue, 11 Feb 1992 00:51:52 +0000 (00:51 +0000)]
New files for MRI syntax assembler
Steve Chamberlain [Tue, 11 Feb 1992 00:23:32 +0000 (00:23 +0000)]
* 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:16:18 +0000 (00:16 +0000)]
Added mh-apollo68v and mt-os68k as files-to-keep.
Sean Eric Fagan [Tue, 11 Feb 1992 00:14:59 +0000 (00:14 +0000)]
Added a68v-xdep.c os68k-xdep.c, tm-os68k.h, and xm-apollo68v.h as files-
to-keep.
Sean Eric Fagan [Tue, 11 Feb 1992 00:10:56 +0000 (00:10 +0000)]
Added mh-apollo68 and mt-os68k as files-to-keep.
Sean Eric Fagan [Tue, 11 Feb 1992 00:08:55 +0000 (00:08 +0000)]
Added h-apollo68v.h as a file to keep.
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.
Sean Eric Fagan [Mon, 10 Feb 1992 23:43:56 +0000 (23:43 +0000)]
Added support for OS/68k (as a target) and Apollo Series 400's (as
a host).
Sean Eric Fagan [Mon, 10 Feb 1992 23:31:40 +0000 (23:31 +0000)]
Added support for hosting on an Apollo Series 400 (under System V emulation),
and targeted towards an OS/68000 system.
Sean Eric Fagan [Mon, 10 Feb 1992 23:30:35 +0000 (23:30 +0000)]
Added support for hosting on an Apollo Series 400 processor (under
System V emulation), and targeted towards an OS/68000 system.
Sean Eric Fagan [Mon, 10 Feb 1992 23:26:10 +0000 (23:26 +0000)]
Added support for hosting on an Apollo Series 400 box, and targeted towards
an OS/68000 system.
Sean Eric Fagan [Mon, 10 Feb 1992 23:22:24 +0000 (23:22 +0000)]
Adding support for hosting on an apollo series 400 (68k processor).
Steve Chamberlain [Mon, 10 Feb 1992 18:54:27 +0000 (18:54 +0000)]
Make undefined refs not make an executable
K. Richard Pixley [Sat, 8 Feb 1992 08:57:08 +0000 (08:57 +0000)]
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.
K. Richard Pixley [Sat, 8 Feb 1992 02:22:09 +0000 (02:22 +0000)]
correct a collision against recent configure changes
Heinz G. Seidl [Sat, 8 Feb 1992 00:32:56 +0000 (00:32 +0000)]
added libg++
Stu Grossman [Fri, 7 Feb 1992 22:58:40 +0000 (22:58 +0000)]
Add xm-vaxbsd.h and xm-vaxult.h to .Sanitize. Add mh-vaxbsd and mh-vaxult,
remove mh-vax from config/.Sanitize.
Heinz G. Seidl [Fri, 7 Feb 1992 22:34:19 +0000 (22:34 +0000)]
added mt-sun3 mt-vxworks68 mt-vxworks960
Heinz G. Seidl [Fri, 7 Feb 1992 22:32:29 +0000 (22:32 +0000)]
added h8300hms.c and h8300hms.sc
K. Richard Pixley [Fri, 7 Feb 1992 21:46:30 +0000 (21:46 +0000)]
keep configure.texi
Steve Chamberlain [Fri, 7 Feb 1992 21:07:18 +0000 (21:07 +0000)]
Fixed prototype mismatch reported by MDT
Heinz G. Seidl [Fri, 7 Feb 1992 20:14:25 +0000 (20:14 +0000)]
need bfd for mips
John Gilmore [Fri, 7 Feb 1992 16:23:57 +0000 (16:23 +0000)]
* buildsym.c (read_struct_type): Avoid double-bump of parse ptr
in the op$::OPERATOR. case. From Steven McCanne, <mccanne@horse.ee.lbl.gov>.
John Gilmore [Fri, 7 Feb 1992 15:57:32 +0000 (15:57 +0000)]
* exec.c (set_section_name): Pass arg to exec_files_info;
only call it if interactive. From Francis Kauth <fk@tv.tv.tek.com>.
John Gilmore [Fri, 7 Feb 1992 15:55:35 +0000 (15:55 +0000)]
* configure.in: Ultrix is only a decstation if it's a MIPS.
Michael Tiemann [Fri, 7 Feb 1992 07:52:08 +0000 (07:52 +0000)]
Add ${srcdir} for makefile_frags.
K. Richard Pixley [Fri, 7 Feb 1992 02:04:53 +0000 (02:04 +0000)]
Optimized Makefile generation for a ~30% time win.
John Gilmore [Fri, 7 Feb 1992 01:43:22 +0000 (01:43 +0000)]
* main.c (print_gdb_version): Copyright msg: only this year.
(cd_command): Avoid changing current_directory on error.
K. Richard Pixley [Fri, 7 Feb 1992 00:36:15 +0000 (00:36 +0000)]
Patch joins devo.
Steve Chamberlain [Fri, 7 Feb 1992 00:33:57 +0000 (00:33 +0000)]
Fluff removal.
K. Richard Pixley [Fri, 7 Feb 1992 00:33:49 +0000 (00:33 +0000)]
Fix so that "guested" configure scripts work when using -srcdir.
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.)
Steve Chamberlain [Thu, 6 Feb 1992 20:15:19 +0000 (20:15 +0000)]
* objdump.c (disassemble_data): don't print a section's contents
if it's not loadable (eg bss)
Steve Chamberlain [Thu, 6 Feb 1992 20:09:39 +0000 (20:09 +0000)]
* 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.
Steve Chamberlain [Thu, 6 Feb 1992 20:03:31 +0000 (20:03 +0000)]
* 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.
Steve Chamberlain [Thu, 6 Feb 1992 19:44:44 +0000 (19:44 +0000)]
From h8300hds*
Steve Chamberlain [Thu, 6 Feb 1992 19:43:25 +0000 (19:43 +0000)]
* 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
Steve Chamberlain [Thu, 6 Feb 1992 19:22:03 +0000 (19:22 +0000)]
* 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.
K. Richard Pixley [Thu, 6 Feb 1992 04:05:26 +0000 (04:05 +0000)]
reversed tense on a test -> case conversion
K. Richard Pixley [Thu, 6 Feb 1992 01:21:44 +0000 (01:21 +0000)]
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.
K. Richard Pixley [Thu, 6 Feb 1992 01:02:21 +0000 (01:02 +0000)]
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.
K. Richard Pixley [Thu, 6 Feb 1992 00:36:10 +0000 (00:36 +0000)]
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.
Per Bothner [Wed, 5 Feb 1992 02:14:31 +0000 (02:14 +0000)]
Mips-specific bug-fix (for stabs-in-ecoff), and style fix. See ChangeLog.
Steve Chamberlain [Tue, 4 Feb 1992 23:42:34 +0000 (23:42 +0000)]
* aoutx.h: (translate_from_native_sym_flags): fix constructor
stuff to use the New Order.
Steve Chamberlain [Tue, 4 Feb 1992 23:29:33 +0000 (23:29 +0000)]
* ldlex.l: Put pack -noinhibit-exec and -sort-common
* ldlang.c (print_data_statement): print the right address.