binutils-gdb.git
33 years agoAllways use -O2
Steve Chamberlain [Tue, 12 Nov 1991 04:58:15 +0000 (04:58 +0000)]
Allways use -O2

33 years agoMon Nov 11 20:50:29 1991 Steve Chamberlain (sac at cygnus.com)
Steve Chamberlain [Tue, 12 Nov 1991 04:52:27 +0000 (04:52 +0000)]
Mon Nov 11 20:50:29 1991  Steve Chamberlain  (sac at cygnus.com)

* Makefile.in: Use the MINUS_G no-debug convention
* readline.c: (many_places) move all the declarations of rindex to
only one place, to reduce the number of warnings it makes.

33 years agoallow +foo bar options. stolen from texinfo configure
K. Richard Pixley [Tue, 12 Nov 1991 04:41:21 +0000 (04:41 +0000)]
allow +foo bar options.  stolen from texinfo configure

33 years agoMon Nov 11 20:30:18 1991 Steve Chamberlain (sac at cygnus.com)
Steve Chamberlain [Tue, 12 Nov 1991 04:32:57 +0000 (04:32 +0000)]
Mon Nov 11 20:30:18 1991  Steve Chamberlain  (sac at cygnus.com)

* Makefile.in: standardize on MINUS_G to disable debugging
* coff-m88k.c: create coff armaps instead of bsd ones.
* opncls.c (bfd_close_all_done), (bfd_close): Mask out random bits
when calling chmod.

33 years agouses __inline for now for gcc
Steve Chamberlain [Tue, 12 Nov 1991 04:26:12 +0000 (04:26 +0000)]
uses __inline for now for gcc

33 years agoRemove coredep.o from XDEPFILES. The fetch_core_registers() function is
Fred Fish [Tue, 12 Nov 1991 03:26:13 +0000 (03:26 +0000)]
Remove coredep.o from XDEPFILES.  The fetch_core_registers() function is
now found in procfs.c for hosts with /proc support.

33 years agoMinor rewording of message containing name of program that generated a
Fred Fish [Tue, 12 Nov 1991 03:23:32 +0000 (03:23 +0000)]
Minor rewording of message containing name of program that generated a
core file (core.c), permanently remove the register_addr() stub (elfread.c),
move a misplaced #endif (procfs.c), and add fetch_core_registers func for
core file support (procfs.c).

33 years agoAdditions to support ELF formatted core files.
Fred Fish [Tue, 12 Nov 1991 03:12:26 +0000 (03:12 +0000)]
Additions to support ELF formatted core files.

33 years agoAdd support for ELF note sections, which are used in ELF core files to
Fred Fish [Tue, 12 Nov 1991 03:06:05 +0000 (03:06 +0000)]
Add support for ELF note sections, which are used in ELF core files to
hold copies of various /proc structures at the time of the core dump.

33 years ago * ldmisc.c, ldmisc.h: Re-write info() to take a filename
Per Bothner [Tue, 12 Nov 1991 03:03:42 +0000 (03:03 +0000)]
* ldmisc.c, ldmisc.h:  Re-write info() to take a filename
parameter, a format, and an arg pointer, and rename it to
vfinfo().  Write info() in terms of new vfinfo().
New einfo() is the same as info(), except it writes to stderr.
* ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c,
ldmisc.c:  Replace "error" calls to info() by new einfo().

33 years ago * aoutx.h (NAME(aout,find_nearest_line)): Handle the case
Per Bothner [Tue, 12 Nov 1991 02:46:26 +0000 (02:46 +0000)]
* aoutx.h (NAME(aout,find_nearest_line)):  Handle the case
of two N_SO stabs, one for directory, and one for filename.

* bfd-in.h (print_vma):  Factor out duplicate definition.

Exit a little more gracefully when malloc returns NULL.
* libbfd.c: New function bfd_xmalloc (malloc wrapper).
* opncls.c, syms.c, bout.c, aoutx.h:  Replace malloc by bfd_xmalloc.
* libbfd.h: Rre-generated due to libbfd.c update.

33 years agoAdded tc-sparc.c
Steve Chamberlain [Mon, 11 Nov 1991 23:36:39 +0000 (23:36 +0000)]
Added tc-sparc.c

33 years agoAdded MINUS_G flag, now debugging can be turned off
Steve Chamberlain [Mon, 11 Nov 1991 19:23:24 +0000 (19:23 +0000)]
Added MINUS_G flag, now debugging can be turned off

33 years ago* ldlex.l ldgram.y: made -V option do same as -v
Steve Chamberlain [Mon, 11 Nov 1991 17:59:52 +0000 (17:59 +0000)]
* ldlex.l ldgram.y: made -V option do same as -v
* Makefile.in: Added $(MINUS_G) flag so debugging can be
turned off

33 years agoAdded the $(MINUS_G) flag so that debugging can be turned off
Steve Chamberlain [Mon, 11 Nov 1991 17:51:21 +0000 (17:51 +0000)]
Added the $(MINUS_G) flag so that debugging can be turned off

33 years agoadd GCCVERBOSE flag for debugging
K. Richard Pixley [Mon, 11 Nov 1991 10:17:11 +0000 (10:17 +0000)]
add GCCVERBOSE flag for debugging

33 years agoRemove leftover call to do_cleanups() which resulted from a previous change.
Fred Fish [Sat, 9 Nov 1991 21:57:55 +0000 (21:57 +0000)]
Remove leftover call to do_cleanups() which resulted from a previous change.
Was being called with a random pointer.

33 years agoDocument use of elf_big_vec as DEFAULT_VECTOR.
Fred Fish [Sat, 9 Nov 1991 21:51:52 +0000 (21:51 +0000)]
Document use of elf_big_vec as DEFAULT_VECTOR.

33 years agoDon't try to create a bfd section for the first ELF section header table
Fred Fish [Sat, 9 Nov 1991 21:48:15 +0000 (21:48 +0000)]
Don't try to create a bfd section for the first ELF section header table
entry, since it is just a placeholder with no name.

33 years agoRe-enable compilation of register_addr() stub whenever it is not supplied
Fred Fish [Sat, 9 Nov 1991 21:43:47 +0000 (21:43 +0000)]
Re-enable compilation of register_addr() stub whenever it is not supplied
by coredep.c, since it is referenced by fetch_core_registers().  This is
still a temporary kludge.

33 years agocorrect a comment
K. Richard Pixley [Sat, 9 Nov 1991 11:34:52 +0000 (11:34 +0000)]
correct a comment

33 years agothin out directories actually created
K. Richard Pixley [Sat, 9 Nov 1991 11:34:34 +0000 (11:34 +0000)]
thin out directories actually created

33 years agoModernize, add sysdep-*.h files
John Gilmore [Sat, 9 Nov 1991 11:32:52 +0000 (11:32 +0000)]
Modernize, add sysdep-*.h files

33 years ago* configure.in: Make a link for sysdep.h. Specify commontargets.
John Gilmore [Sat, 9 Nov 1991 11:24:36 +0000 (11:24 +0000)]
* configure.in:  Make a link for sysdep.h.  Specify commontargets.
* sysdep-norm.h:  The usual alloca declarations.
* sysdep-aix.h:  What AIX 3.1 on RS/6000 needs for alloca.
* history.c, readline.c:  Use sysdep.h.

33 years agoInitial revision
John Gilmore [Sat, 9 Nov 1991 11:24:32 +0000 (11:24 +0000)]
Initial revision

33 years agoRemove Rs/6000 changes (patch_block_stabs) so it will link without.
John Gilmore [Sat, 9 Nov 1991 11:16:47 +0000 (11:16 +0000)]
Remove Rs/6000 changes (patch_block_stabs) so it will link without.

33 years ago* coff-rs6000.c, config/mh-rs6000: Make it work on archive and
John Gilmore [Sat, 9 Nov 1991 11:13:02 +0000 (11:13 +0000)]
* coff-rs6000.c, config/mh-rs6000:  Make it work on archive and
core files, when compiling native.
* hosts/h-rs6000.h:  Define FASCIST_FDOPEN for bfd_fdopenr.

33 years agoDefine FASCIST_FDOPEN.
John Gilmore [Sat, 9 Nov 1991 11:11:09 +0000 (11:11 +0000)]
Define FASCIST_FDOPEN.

33 years agoMore changes for objfiles.
John Gilmore [Sat, 9 Nov 1991 11:01:08 +0000 (11:01 +0000)]
More changes for objfiles.

33 years agoAdd tracking of object files (that contain symbols) to gdb.
John Gilmore [Sat, 9 Nov 1991 10:50:07 +0000 (10:50 +0000)]
Add tracking of object files (that contain symbols) to gdb.
This includes a "struct objfile" that owns symtabs and psymtabs
that were read in from that binary file.  See ChangeLog.

33 years agoLint and some rs/6000 port.
John Gilmore [Sat, 9 Nov 1991 07:45:36 +0000 (07:45 +0000)]
Lint and some rs/6000 port.

33 years agoNow runs write_armap, even when listing contents.
Steve Chamberlain [Sat, 9 Nov 1991 01:07:40 +0000 (01:07 +0000)]
Now runs write_armap, even when listing contents.

33 years agoFixed bug printing 29050 instructions.
Steve Chamberlain [Sat, 9 Nov 1991 00:13:31 +0000 (00:13 +0000)]
Fixed bug printing 29050 instructions.

33 years agoFormat improvements, mostly for @smallbook (including reformatted table
Roland Pesch [Fri, 8 Nov 1991 20:57:43 +0000 (20:57 +0000)]
Format improvements, mostly for @smallbook (including reformatted table
of config options).

33 years agoRemove spurious echo
Steve Chamberlain [Fri, 8 Nov 1991 05:59:52 +0000 (05:59 +0000)]
Remove spurious echo

33 years agoPut .comments into .data section, otherwise 88k can't exec the image.
Steve Chamberlain [Fri, 8 Nov 1991 05:55:19 +0000 (05:55 +0000)]
Put .comments into .data section, otherwise 88k can't exec the image.

33 years ago * Makefile.in: link with libiberty after libreadline, since
Steve Chamberlain [Fri, 8 Nov 1991 02:58:01 +0000 (02:58 +0000)]
* Makefile.in: link with libiberty after libreadline, since
readline might want something in libiberty.

33 years agoOnly has -DSYSV now
Steve Chamberlain [Fri, 8 Nov 1991 02:51:27 +0000 (02:51 +0000)]
Only has -DSYSV now

33 years ago * m88k-xdep.c: Fixed the register offsets in the ptrace_user
Steve Chamberlain [Fri, 8 Nov 1991 02:28:35 +0000 (02:28 +0000)]
* m88k-xdep.c: Fixed the register offsets in the ptrace_user
struct for BCS 88k machines.
* xm-m88k.h: don't define USIZE if already defined.
* configure.in: Added delta88 target.

33 years agoFixed S?IP_OFFSETs for the Motorola Delta 88.
Steve Chamberlain [Fri, 8 Nov 1991 02:22:46 +0000 (02:22 +0000)]
Fixed S?IP_OFFSETs for the Motorola Delta 88.

33 years agoAdded delta88 cases
Steve Chamberlain [Fri, 8 Nov 1991 02:20:29 +0000 (02:20 +0000)]
Added delta88 cases

33 years ago#ifndef USIZE
Steve Chamberlain [Fri, 8 Nov 1991 02:18:49 +0000 (02:18 +0000)]
#ifndef USIZE
around #define USIZE

33 years agoInclude coff-m88k.h rather than m88kbcs.h
Steve Chamberlain [Fri, 8 Nov 1991 02:17:43 +0000 (02:17 +0000)]
Include coff-m88k.h rather than m88kbcs.h

33 years agoInstall ld into ddestdir/bin.
Steve Chamberlain [Fri, 8 Nov 1991 02:16:19 +0000 (02:16 +0000)]
Install ld into ddestdir/bin.

33 years agoFix decoding of mtacc, dmac, fmac. These files should really get merged
John Gilmore [Fri, 8 Nov 1991 01:50:51 +0000 (01:50 +0000)]
Fix decoding of mtacc, dmac, fmac.  These files should really get merged
with the ones in BFD and the assembler, but c'est la vie.

33 years agoSmallbook format fixes.
Roland Pesch [Fri, 8 Nov 1991 01:46:38 +0000 (01:46 +0000)]
Smallbook format fixes.

33 years agoInitial revision
Sean Eric Fagan [Fri, 8 Nov 1991 01:17:18 +0000 (01:17 +0000)]
Initial revision

33 years agofixed for objdir/subdirs
K. Richard Pixley [Fri, 8 Nov 1991 00:54:27 +0000 (00:54 +0000)]
fixed for objdir/subdirs

33 years agoFix missing brackets, parens, discovered during man-page conversion.
Roland Pesch [Fri, 8 Nov 1991 00:31:44 +0000 (00:31 +0000)]
Fix missing brackets, parens, discovered during man-page conversion.

33 years agoinstall man pages too
K. Richard Pixley [Fri, 8 Nov 1991 00:14:07 +0000 (00:14 +0000)]
install man pages too

33 years agoget version from the right place
K. Richard Pixley [Fri, 8 Nov 1991 00:13:45 +0000 (00:13 +0000)]
get version from the right place

33 years agorework install-dirs, add install-no-fixinclude
K. Richard Pixley [Fri, 8 Nov 1991 00:08:14 +0000 (00:08 +0000)]
rework install-dirs, add install-no-fixinclude

33 years agoInitial revision
Steve Chamberlain [Thu, 7 Nov 1991 23:37:54 +0000 (23:37 +0000)]
Initial revision

33 years agoThu Nov 7 08:58:26 1991 Steve Chamberlain (sac at cygnus.com)
Steve Chamberlain [Thu, 7 Nov 1991 19:08:56 +0000 (19:08 +0000)]
Thu Nov  7 08:58:26 1991  Steve Chamberlain  (sac at cygnus.com)

* internalcoff.h: took out the M88 dependency in the lineno
struct.
* coff-m88k.h: defines GET_LINENO_LNNO and PUT_LINENO_LNNO to use
32bit linno entries.
* a29k-opcode.h: fixed encoding of mtacc

33 years agoThu Nov 7 11:03:55 1991 Steve Chamberlain (sac at rtl.cygnus.com)
Steve Chamberlain [Thu, 7 Nov 1991 19:06:38 +0000 (19:06 +0000)]
Thu Nov  7 11:03:55 1991  Steve Chamberlain  (sac at rtl.cygnus.com)

* coffcode.h: Defined new macros [PUT|GET]LINENO_LNNO for
manipulation of lnno fields in lineno structs in a coff-<f>.h
independent way. Override it in coff-<f>.h to your favourite
number if you don't have a 16bit lnno field. (coff_swap_lineno_in)
(coff_swap_lineno_out): modified to use the new macros.

33 years agoFixed encoding of mtacc instruction.
Steve Chamberlain [Thu, 7 Nov 1991 16:59:19 +0000 (16:59 +0000)]
Fixed encoding of mtacc instruction.

33 years ago*** empty log message ***
Steve Chamberlain [Thu, 7 Nov 1991 16:57:21 +0000 (16:57 +0000)]
*** empty log message ***

33 years ago* tm-*.h: Remove READ_DBX_FORMAT, COFF_FORMAT, and
John Gilmore [Thu, 7 Nov 1991 13:14:59 +0000 (13:14 +0000)]
* tm-*.h:  Remove READ_DBX_FORMAT, COFF_FORMAT, and
READ_MIPS_FORMAT, which have been unused since BFD.  Still
remaining is COFF_NO_LONG_FILE_NAMES.
* tm-sun3.h, tm-altos.h:  Remove detritus accidentally left from
function calling code moved to m68k-tdep.c.

33 years agofix a three-stage typo, build better install-dirs
K. Richard Pixley [Thu, 7 Nov 1991 10:16:37 +0000 (10:16 +0000)]
fix a three-stage typo, build better install-dirs

33 years agoonly build a link if it isn't there already
K. Richard Pixley [Thu, 7 Nov 1991 10:14:32 +0000 (10:14 +0000)]
only build a link if it isn't there already

33 years agofixed some comments, removed the "in /giga/auto-tests/devo" line
K. Richard Pixley [Thu, 7 Nov 1991 07:25:27 +0000 (07:25 +0000)]
fixed some comments, removed the "in /giga/auto-tests/devo" line

33 years ago* coffread.c: Eliminate c_nsyms in favor of c_naux.
John Gilmore [Thu, 7 Nov 1991 01:27:46 +0000 (01:27 +0000)]
* coffread.c:  Eliminate c_nsyms in favor of c_naux.
Complain if no auxents on .bf and .ef FCN symbols, and assume
lots of line numbers.
(init_linenos, enter_linenos):  Use a sentinel at the end of the
read-in linenos, to make for a fast, safe loop-end test.

33 years agoWouldn't it be nice if Sanitize ignored spaces ?
Steve Chamberlain [Wed, 6 Nov 1991 11:53:16 +0000 (11:53 +0000)]
Wouldn't it be nice if Sanitize ignored spaces ?

33 years agoInitial revision
K. Richard Pixley [Wed, 6 Nov 1991 09:48:32 +0000 (09:48 +0000)]
Initial revision

33 years agoUse the right AR
Steve Chamberlain [Wed, 6 Nov 1991 09:29:36 +0000 (09:29 +0000)]
Use the right AR

33 years agoAdded three files which had been forgotten
Steve Chamberlain [Wed, 6 Nov 1991 09:26:59 +0000 (09:26 +0000)]
Added three files which had been forgotten

33 years agoAdded gdb.1
Steve Chamberlain [Wed, 6 Nov 1991 09:24:57 +0000 (09:24 +0000)]
Added gdb.1

33 years agoUniq contents, since configure gets confused if the same file is in more than once.
Steve Chamberlain [Wed, 6 Nov 1991 09:14:33 +0000 (09:14 +0000)]
Uniq contents, since configure gets confused if the same file is in more than once.

33 years agoAdded nm.1, objdump.1, ranlib.1, size.1 and strip.1
Steve Chamberlain [Wed, 6 Nov 1991 09:06:02 +0000 (09:06 +0000)]
Added nm.1, objdump.1, ranlib.1, size.1 and strip.1

33 years agoAdded $(INSTALL_FIXED_INCLUDES) so devo/config dir can chose not to create
Steve Chamberlain [Wed, 6 Nov 1991 08:12:56 +0000 (08:12 +0000)]
Added $(INSTALL_FIXED_INCLUDES) so devo/config dir can chose not to create
all the /usr/include stuff if it wants to.

Steve

33 years ago*** empty log message ***
Steve Chamberlain [Wed, 6 Nov 1991 08:01:00 +0000 (08:01 +0000)]
*** empty log message ***

33 years ago*** empty log message ***
Steve Chamberlain [Wed, 6 Nov 1991 07:38:18 +0000 (07:38 +0000)]
*** empty log message ***

33 years agowith bison's help, call it in such a way that any configuration type can find it
K. Richard Pixley [Wed, 6 Nov 1991 07:34:54 +0000 (07:34 +0000)]
with bison's help, call it in such a way that any configuration type can find it

33 years ago * Makefile.in: put a - infront of the mv y.tab.c c-exp.tab.c and
Steve Chamberlain [Wed, 6 Nov 1991 06:49:20 +0000 (06:49 +0000)]
* Makefile.in: put a - infront of the mv y.tab.c c-exp.tab.c and
mv y.tab.c m2-exp.tab.c, so that if bison is used, and the files
are created in place, so the mv fails, then the make continues.

33 years agoHi, I've fixed this twice now.
Steve Chamberlain [Wed, 6 Nov 1991 06:07:13 +0000 (06:07 +0000)]
Hi, I've fixed this twice now.

the old solution:
then echo \`pwd\`/$(unsubdir)/../bison$(subdir)/bison -L $(srcdir)/bison/ ; \
is wrong: proof:
[stuff]
>> /limbo/steve/devo/gcc/./../bison/bison -L ./bison/ -v ./c-parse.y -o c-parse.tab.c
>> /limbo/steve/devo/gcc/./../bison/bison: ./bison/bison.simple: No such file or directory

This solution:
then echo \`pwd\`/$(unsubdir)/../bison$(subdir)/bison -L \`pwd\`/$(unsubdir)/../bison$(subdir)/ ; \

works.

33 years agoget bison library path right
K. Richard Pixley [Wed, 6 Nov 1991 05:18:14 +0000 (05:18 +0000)]
get bison library path right

33 years agoget bison library path right
K. Richard Pixley [Wed, 6 Nov 1991 05:15:52 +0000 (05:15 +0000)]
get bison library path right

33 years agooops, syntax error
K. Richard Pixley [Wed, 6 Nov 1991 02:30:51 +0000 (02:30 +0000)]
oops, syntax error

33 years agoadjust STRIP_UNDERSCORE
K. Richard Pixley [Wed, 6 Nov 1991 02:27:02 +0000 (02:27 +0000)]
adjust STRIP_UNDERSCORE

33 years agoadjust STRIP_UNDERSCORE, polish te-files
K. Richard Pixley [Wed, 6 Nov 1991 02:23:49 +0000 (02:23 +0000)]
adjust STRIP_UNDERSCORE, polish te-files

33 years agoInitial revision
K. Richard Pixley [Wed, 6 Nov 1991 02:23:45 +0000 (02:23 +0000)]
Initial revision

33 years ago*** empty log message ***
Steve Chamberlain [Wed, 6 Nov 1991 01:53:55 +0000 (01:53 +0000)]
*** empty log message ***

33 years agoNew prototype from sectino.c
Steve Chamberlain [Wed, 6 Nov 1991 01:23:48 +0000 (01:23 +0000)]
New prototype from sectino.c

33 years agoCorrection in intro text re corefile arg (may also be procID); second time
Roland Pesch [Wed, 6 Nov 1991 01:22:44 +0000 (01:22 +0000)]
Correction in intro text re corefile arg (may also be procID); second time
around didn't ack two possibilities.

33 years agoCall new bfd entrypoint bfd_make_section_old_way
Steve Chamberlain [Wed, 6 Nov 1991 01:21:19 +0000 (01:21 +0000)]
Call new bfd entrypoint bfd_make_section_old_way

33 years agoAdd C++ as a separate language.
Per Bothner [Wed, 6 Nov 1991 01:08:21 +0000 (01:08 +0000)]
Add C++ as a separate language.

Also, fix a C++ problem when looking for methods in super-classes.
(There was confusion between base and derived types.)

33 years agoRecord (as comments) three FIXMEs.
Roland Pesch [Wed, 6 Nov 1991 00:36:08 +0000 (00:36 +0000)]
Record (as comments) three FIXMEs.

33 years agoInitial revision
Roland Pesch [Tue, 5 Nov 1991 23:35:16 +0000 (23:35 +0000)]
Initial revision

33 years agoInitial revision
Roland Pesch [Tue, 5 Nov 1991 23:19:25 +0000 (23:19 +0000)]
Initial revision

33 years agoFix for slight formatting error discovered while converting man pages.
Roland Pesch [Tue, 5 Nov 1991 22:53:44 +0000 (22:53 +0000)]
Fix for slight formatting error discovered while converting man pages.

33 years agoInitial revision
Roland Pesch [Tue, 5 Nov 1991 22:52:54 +0000 (22:52 +0000)]
Initial revision

33 years agoInitial revision
Roland Pesch [Tue, 5 Nov 1991 22:43:50 +0000 (22:43 +0000)]
Initial revision

33 years agoInitial revision
Roland Pesch [Tue, 5 Nov 1991 22:29:15 +0000 (22:29 +0000)]
Initial revision

33 years agoAdded default_reloc_type_lookup to arch_info
Steve Chamberlain [Tue, 5 Nov 1991 22:18:59 +0000 (22:18 +0000)]
Added default_reloc_type_lookup to  arch_info

33 years agoInitial revision
Roland Pesch [Tue, 5 Nov 1991 22:18:44 +0000 (22:18 +0000)]
Initial revision

33 years agougly bug in relocation emission
K. Richard Pixley [Tue, 5 Nov 1991 22:00:51 +0000 (22:00 +0000)]
ugly bug in relocation emission

33 years ago*** empty log message ***
Steve Chamberlain [Tue, 5 Nov 1991 21:56:06 +0000 (21:56 +0000)]
*** empty log message ***

33 years agoget bison subdirs right
K. Richard Pixley [Tue, 5 Nov 1991 21:54:33 +0000 (21:54 +0000)]
get bison subdirs right

33 years agoInitial revision
Roland Pesch [Tue, 5 Nov 1991 21:54:10 +0000 (21:54 +0000)]
Initial revision

33 years agoAdded a load of mt/mh files
Steve Chamberlain [Tue, 5 Nov 1991 21:21:12 +0000 (21:21 +0000)]
Added a load of mt/mh files