Commit Graph

459 Commits

Author SHA1 Message Date
John Gilmore
3863d64f95 * 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.
1992-01-31 07:54:12 +00:00
Stu Grossman
588d21ac35 Fix checkin botch. 1992-01-31 00:32:38 +00:00
Per Bothner
ab43e4e35c Change DEFAULT_VECTOR to host_aout_vec here as well. 1992-01-30 21:04:42 +00:00
Stu Grossman
fa8c88b29d * 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.
1992-01-30 19:42:52 +00:00
Steve Chamberlain
21a7f8b6de 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
1992-01-30 15:30:34 +00:00
John Gilmore
d89b9f991b * 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.
1992-01-30 09:21:33 +00:00
Fred Fish
d01cd8fc75 Makefile.in: Add dependencies for various coff-*.o files.
elf.c:  Remove extraneous paren from core_prpsinfo and core_prpstatus
macros, rename core_prpstatus to core_prstatus.  Replace references to
old section "size" member with new "_raw_size" member.  Implement
elf_make_empty_symbol, which is now used.
1992-01-29 05:16:49 +00:00
Roland Pesch
151760d0d7 bfd.c: use `<<foo>>' instead of @file{foo}
section.c, syms.c: @* rather than * at beginning of menu lines
1992-01-29 01:04:30 +00:00
Stu Grossman
2b74083cb8 * trad-core.c, bfd.c, ../include/bfd.h: Various fixes for PMAX
core reading.
1992-01-28 22:53:51 +00:00
Steve Chamberlain
087eb65291 * coffcode.h (bfd_coff_relax_section): now static.
(bfd_coff_get_relocated_section_contents): various type lints.
1992-01-28 18:48:07 +00:00
Steve Chamberlain
6590a8c953 New entry point in the transfer vector - bfd_relax_section.
* aout-target.h: add to vector, call generic_relax
	* bfd-in.h: add to vector
	* bfd.c: add #define for vector
	* bout.c: add to vector, call generic_relax
	* coffcode.h: add to vector, also now has coff specific relax code
	for the relaxable H8/300 relocs. Also clean up abs section cruft.
	* elf.c: call generic_relax
	* ieee.c: call new vector, clean up some bugs due to the creation
	of bfd_abs_section
	* libbfd.h: add bfd_generic_relax_section EXFUN
	* oasys.c: call generic_relax
	* reloc.c: implement generic_relax
	* seclet.c: moved much of this into coffcode.h
	* srec.c: call generic_relax
	* targets.c: define new transfer vector
1992-01-28 06:01:25 +00:00
Stu Grossman
dc72b0b679 Add seclet.h to files-to-keep. 1992-01-27 21:48:38 +00:00
Steve Chamberlain
e98e6ec111 Uses the new small reloc type now.
Currently self hosts on sun4 and sun3
1992-01-24 22:44:51 +00:00
Fred Fish
6e549c78ab New host file for stratus. 1992-01-19 00:59:58 +00:00
Fred Fish
bfab6110a3 Initial revision 1992-01-19 00:59:57 +00:00
Fred Fish
026fba8c3e Declare various filename variables to be CONST since they are initialized
to point to a CONST char string.  Fixes gcc moans and groans.
1992-01-15 18:06:39 +00:00
Fred Fish
5baf85b6c5 Change abort() to a function return void to match usage on SVR4. 1992-01-11 01:46:29 +00:00
Fred Fish
f81059ead7 Document changes to hosts/h-amix.h and hosts/h-i386v4.h. 1992-01-11 01:45:53 +00:00
Per Bothner
3f7607af77 * aoutx.h (NAME(aout,find_nearest_line)): Recognize N_SOL symbols,
so that we can emit the correct file name even if it's an include file.
1992-01-10 22:54:39 +00:00
Fred Fish
748ec1244c Add '#define HAVE_PROCFS', move '#include "fopen-same.h" to end of file
to match the other h-* files.
1992-01-01 12:26:42 +00:00
Fred Fish
30bf2fd2f0 Change all '#if HAVE_PROCFS' to '#ifdef HAVE_PROCFS'. 1992-01-01 12:24:48 +00:00
Fred Fish
2e80a74835 Change svr4 references to sysv4. 1991-12-20 20:11:03 +00:00
Steve Chamberlain
4a96bc044a Changed the @node to use INODE 1991-12-19 01:36:25 +00:00
Steve Chamberlain
3d60de8161 Added new word
NODE
which allows nodes to be written to texinfo files.
1991-12-19 01:32:18 +00:00
Stu Grossman
9c96a6bcb0 * bfd-in.h, libaout.h: ANSIfy enums. 1991-12-19 01:19:14 +00:00
Steve Chamberlain
56f5e00599 * archive.c (normalize): created version for VMS which removes the
VMS directory crap from the front and end of a filename, eg turn
	[-.foo]bar.obj;123 into bar.obj
	(bfd_construct_extended_name_table): now writes index into an
	extended name table in decimal - the same base used to read an
	extended name table.
1991-12-19 00:15:54 +00:00
Per Bothner
608de555e4 Use aout-target.h more extensively.
Replace Berkeley functions (e.g. bcopy) with ANSI ones (e.g. memcpy).
Other improvements (see ChangeLog).
1991-12-18 23:01:48 +00:00
Per Bothner
61ed7fc37c Initial revision 1991-12-18 23:01:07 +00:00
Fred Fish
e83f304031 Enclose corename and execname inside a HAVE_PROCFS ifdef, since they
are unused when it is not defined.
1991-12-18 03:51:33 +00:00
David Henkel-Wallace
4ee249dab1 Archive doc. 1991-12-17 16:39:31 +00:00
John Gilmore
a5431adc97 * hosts/h-*.h: Configure fopen using ../include/fopen-*.h
rather than N copies of the same lines.
1991-12-13 05:03:17 +00:00
John Gilmore
c0fcc20765 * hosts/h-*.h: Configure fopen using ../include/fopen-*.h
rather than N copies of the same lines.
1991-12-13 05:02:20 +00:00
Steve Chamberlain
be40d9aad1 Added configdos.bat makefile.dos 1991-12-12 03:19:36 +00:00
Steve Chamberlain
05c6bf2f0b * cpu-h8300.c: disassemble branch displacements correctly
* coff-h8300.c: put reloc offsets out in 32bits
1991-12-12 02:29:39 +00:00
Steve Chamberlain
b4e2425020 * cache.c: fopen with new macros is needed for DOS.
* opncls.c, coff-rs6000.c: more fopens with macros.
1991-12-12 01:23:11 +00:00
Steve Chamberlain
33b6c26253 Added macros for the 'type' part of an fopen, freopen or fdopen.
<Read|Write>[Update]<Binary file>|<text file>
eg:
fopen("foo", FOPEN_WB) to open for writing binary. Usefull for vms,
dos and who knows what else.
1991-12-12 01:21:40 +00:00
Steve Chamberlain
5af1905211 Initial revision 1991-12-12 01:21:11 +00:00
Steve Chamberlain
db40ba149d Initial revision 1991-12-12 00:53:23 +00:00
Steve Chamberlain
b645b63248 * makefile.dos, configdj.bat: New files from DJ
* cache.c: fopen with "b" is needed for DOS.
	* ieee.c: environ renamed to envi to stop an include file
	conflict.
	* opncls.c: more fopens with "b"
1991-12-12 00:42:50 +00:00
K. Richard Pixley
430485bb1d build chew into the current directory 1991-12-11 06:11:31 +00:00
Steve Chamberlain
e152cd1e65 * chew.c: don't core dump when can't open file
* Makefile.in: get proto.str from the right place when built in
	odd directories
1991-12-10 16:27:13 +00:00
Steve Chamberlain
f39b81f5a3 Remove crass vaxism. Now SELECT_VECS will do something again. 1991-12-08 23:40:35 +00:00
Steve Chamberlain
147a251ab6 More prototype lint. 1991-12-08 01:05:54 +00:00
Steve Chamberlain
cf9bf3979a * chew.c: Much modified
* proto.str, doc.str: New files for extracting to product
	prototypes and documents respectively.
1991-12-08 01:04:31 +00:00
Steve Chamberlain
616ebcfd0b * aoutx.h, archive.c, archures.c, bfd.c, cache.c, coff-m88k.c,
coffcode.h, core.c, ctor.c, elf.c, format.c, ieee.c, init.c,
	 libbfd.c, libbfd.h, libcoff.h, opncls.c, reloc.c, section.c,
	 srec.c, syms.c, targets.c : all new documentation and lint
	 removal.
1991-12-08 00:56:56 +00:00
John Gilmore
0713e3236b Merge Rich's and the gdb-4.3 changes. 1991-12-08 00:30:08 +00:00
John Gilmore
2daa942682 This is the version of devo/bfd/ChangeLog that was in the gdb-4.3 release. 1991-12-08 00:27:19 +00:00
K. Richard Pixley
51c5673cda avoid building chew into $(srcdir) 1991-12-07 23:01:02 +00:00
K. Richard Pixley
bf7708dad5 find sysdep.h 1991-12-07 22:35:46 +00:00
John Gilmore
9898b92969 Lint (detected on hp300bsd & sconix) 1991-12-07 15:37:42 +00:00