Fred Fish
d4acec2c22
Fix to use a single disposable copy of section header table and program
...
header table entries.
1992-03-28 21:10:05 +00:00
John Gilmore
17904eeb4d
Set MINIMIZE to 0 for a real release.
1992-03-27 01:00:58 +00:00
K. Richard Pixley
fbad27e8b3
add support for irix4
1992-03-24 23:58:58 +00:00
Stu Grossman
2b7eef3c57
* coff-msym.c (ecoff_swap_rfd_in): remove & for array ref.
1992-03-24 06:39:01 +00:00
Per Bothner
afbdd10672
* bout.c (b_out_slurp_reloc_table): Use BFD_ASSERT macro,
...
not internal bfd_assert function (twice).
1992-03-17 22:14:18 +00:00
Steve Chamberlain
b772312e68
* aout-target.h: change ar_max_namelen to 15 (the right value)
...
* coff-a29k, coffcode.h: more hangovers from the bfd_abs_section
change
1992-03-17 18:47:16 +00:00
Steve Chamberlain
0d65ac52cd
More bitrot
1992-03-17 00:41:11 +00:00
Steve Chamberlain
fc2f4c758a
Remove i960 b.out bitrot.
1992-03-16 22:59:58 +00:00
Fred Fish
009898fddb
Convert calls to bare malloc() to bfd_xmalloc().
1992-03-15 01:33:32 +00:00
K. Richard Pixley
935325ad0f
pass MAKEINFO on recursion
1992-03-14 02:54:17 +00:00
Steve Chamberlain
302c8ab121
Fixed the whitespace
1992-03-13 15:57:41 +00:00
Steve Chamberlain
3e312eb07f
* config/mt-<foo> now <foo>.mt, config/mh-<foo> now <foo>.mh.
...
host/h-<foo> now just <foo>.
* configure.in: reflect changes
1992-03-13 15:43:32 +00:00
Per Bothner
2a274d5d19
* libbfd-in.h (set_tdata): Make change of Feb 27 in the
...
actual source file, not just the generated libbfd.h.
1992-03-12 19:17:28 +00:00
John Gilmore
77c3feeed1
mips-big-* target
1992-03-12 06:08:56 +00:00
K. Richard Pixley
335413d8ea
include ansidecl.h
1992-03-08 07:11:56 +00:00
Steve Chamberlain
d446483b5e
* coff-i960.c (icoff_little_vec): add COFF_SWAP_TABLE so we can run gdb on little
...
endian 960 code.
* archive.c (compute_and_write_armap): indirect symbols should go
into the archive header too.
1992-03-07 18:36:38 +00:00
Steve Chamberlain
94f02cf2c2
* chew.c: now has -w switch turn on warnings
1992-03-07 02:54:09 +00:00
Steve Chamberlain
56a56f4c15
Now use EXFUN rather than PROTO, so that things using ansidecl.h and
...
not bfd.h can use them
1992-03-06 12:14:14 +00:00
John Gilmore
583f79e974
Add rule for coff-msym.
1992-03-06 08:42:41 +00:00
John Gilmore
6dc776918c
Add swapping of RFD's.
1992-03-06 08:06:56 +00:00
John Gilmore
5c12fcf521
* coff-msym.c: Move this file from gdb/ecoff.c. It
...
handles byte-swapping for ECOFF (MIPS symbol) files.
1992-03-06 07:53:38 +00:00
John Gilmore
246ccf5f8f
Initial revision
1992-03-06 07:53:37 +00:00
Per Bothner
cf15d9e97a
New file: rs6000-core.c.
1992-03-02 06:39:32 +00:00
Per Bothner
8eb8b9aaa3
* aoutx.h (NAME(aout,print_symbol)): Don't print
...
symbol addresss for undefined symbols.
* coff-rs6000.c: Various updates (due to target-
independent changes).
* libbfd.h: Ditto (tdata field is now a union).
* hosts/h-sparc.h: Removed prototype for bogus function
'emset' (presumably should have been 'memset' - which is there).
1992-02-29 04:44:27 +00:00
Steve Chamberlain
e7b4046cbf
Don't core dump if no output section available for a symbol
1992-02-27 19:22:41 +00:00
Steve Chamberlain
6db82ea7e5
* aoutx.h (translate_from_native_sym_flags): when creating an alias symbol, fill in the section as undefined, rather than leaving it blank
1992-02-27 17:26:08 +00:00
Steve Chamberlain
1d535e75df
Wed Feb 26 19:40:59 1992 Steve Chamberlain (sac at thepub.cygnus.com)
...
* bfd.c: lint
* coff-h8300.c: fix stupid reloc subtraction bug
* coffcode.h (coff_swap_aux_out): only swap a tvndx by 2 bytes,
since that's how wide it is. (coff_slurp_symbol_table): always zero out
the symbol.flags and done_lineno fields.
1992-02-27 03:52:15 +00:00
Steve Chamberlain
13b351cceb
DOS file name change
1992-02-21 22:55:08 +00:00
Steve Chamberlain
433fb166d4
Name change for DJ
1992-02-21 22:54:39 +00:00
Steve Chamberlain
d05511ca57
* coffcode.h (coff_swap_aux_in): lint, (coff_print_symbol): prints
...
out tagndx too.
* aoutx.h (swap_std_reloc_out, swap_ext_reloc_out): use the output
section of a symbol rather than the section of a reffed symbol to
determine the r_index of an emmitted reloc.
1992-02-21 19:06:34 +00:00
Per Bothner
73afbe2809
* PORTING: New (preliminary) porting guide.
1992-02-21 05:56:57 +00:00
John Gilmore
8b87cbae28
* bout.c (callj_callback), coff-a29k.c (a29k_reloc), coff-m88k.c
...
(howto_hvrt16): lint.
1992-02-20 16:31:21 +00:00
Per Bothner
9832e16cc3
* hp300bsd.c (new), config/mt-hp300bsd: Make hp300bsd
...
a full configuration (with possible cross-development),
instead of using host-aout.c.
1992-02-17 20:04:21 +00:00
Per Bothner
adf441b919
* 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.
1992-02-16 21:05:54 +00:00
Fred Fish
5b3fb53040
Remove obsolete use of BSF_ABSOLUTE and replace with bfd_abs_section ref.
1992-02-14 04:13:53 +00:00
Steve Chamberlain
d5cd3c0e3d
pointer lint and tandem target.
1992-02-14 02:29:39 +00:00
Steve Chamberlain
a213432461
Fix typeo which crept in between compiling and checking in
1992-02-14 01:48:00 +00:00
Steve Chamberlain
a0f3f080c1
* coffcode.h (get_normalized_symtab): fixed bug where symbols
...
with more than one auxent can cause nasty core dumps.
1992-02-14 01:37:56 +00:00
Sean Eric Fagan
3aaa5a482f
Added h-apollo68v.h as a file to keep.
1992-02-11 00:08:55 +00:00
Sean Eric Fagan
9ba0618dc7
Adding support for hosting on an apollo series 400 (68k processor).
1992-02-10 23:22:24 +00:00
Steve Chamberlain
31bc9fde33
Fixed prototype mismatch reported by MDT
1992-02-07 21:07:18 +00:00
Steve Chamberlain
d58b7049a7
Fluff removal.
1992-02-07 00:33:57 +00:00
Steve Chamberlain
2f8640fe6a
* 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
1992-02-06 19:22:03 +00:00
Steve Chamberlain
7e1131e1f0
* aoutx.h: (translate_from_native_sym_flags): fix constructor
...
stuff to use the New Order.
1992-02-04 23:42:34 +00:00
Stu Grossman
eca85ebe09
* elf.c (bfd_section_from_shdr): Deal with null return from
...
bfd_make_section(). (elf_object_p): Select endianess properly.
1992-01-31 09:37:59 +00:00
John Gilmore
37fc9d04ee
Fix core file stacks.
1992-01-31 09:21:14 +00:00
John Gilmore
e702d26e3b
Fix stack in core files.
1992-01-31 09:20:58 +00:00
John Gilmore
ab68b260f6
* hosts/h-hp300bsd.h, h-tahoe.h, h-vaxbsd.h, h-vaxult.h:
...
Specify byte order.
* hosts/h-vaxbsd.h: Define the form of exec and core files.
1992-01-31 07:59:13 +00:00
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
K. Richard Pixley
fde8212edc
Fri Dec 6 22:58:48 1991 K. Richard Pixley (rich at rtl.cygnus.com)
...
* Makefile.in: install using INSTALL_DATA, added standards.text
support.
* configure.in: mark directory as target dependent. configure
nows works in objdir always so make file existence checks
against ${srcdir}.
Thu Dec 5 22:46:19 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: idestdir and ddestdir go away. Added copyrights
and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
and mandir now keyed off datadir by default.
1991-12-07 07:01:15 +00:00
K. Richard Pixley
a7571b1797
Fri Dec 6 22:57:12 1991 K. Richard Pixley (rich at rtl.cygnus.com)
...
* Makefile.in: added standards.text support, host/site/target
inclusion hooks, install using INSTALL_DATA rather than cp,
don't echo on install.
Thu Dec 5 22:46:17 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: idestdir and ddestdir go away. Added copyrights
and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
and mandir now keyed off datadir by default.
1991-12-07 06:58:04 +00:00
Steve Chamberlain
d33598ee28
Change from m88kbcs to m88k-coff
1991-12-06 17:56:02 +00:00
Steve Chamberlain
431b442200
* aoutf1.h (sunos_<size>_object_p, sunos4_callback): moved the
...
computation of arch and machine type so it's worked out before
some_aout_object_p is called.
* aoutx.h: (some_aout_object_p): don't set arch and mach to
unknown.
* archures.c: add extra field 'section_align_power' to hold
default section alignment in object files.
* cpu-a29k.c, cpu-h8300.c, cpu-i386.c, cpu-i960.c, cpu-m68k.c,
cpu-m88k.c, cpu-mips.c, cpu-rs6000.c, cpu-sparc.c, cpu-vax.c:
initialize the new field.
* bout.c (b_out_callback): replace the text size, since aout
fries them.
* aoutx.h: Documentation in the new style
1991-12-04 18:30:12 +00:00
Steve Chamberlain
4e41b5aa40
*** empty log message ***
1991-12-04 18:16:41 +00:00
John Gilmore
40985bbf13
* bfd.c (bfd_get_mtime): Don't cache mtime any more; only
...
use the saved value if mtime_set is already set (intended
for archive files, though apparently not used yet).
1991-12-04 10:01:45 +00:00
John Gilmore
01a8219f15
* targets.c: Revise comments about how to configure the target
...
vector, to match reality. Remove mention of obsolete methods.
Remove long lists of capitalized macros that turn into the same
thing in lowercase. Normal vector simply lists all known
lowercase xvec names; all other cases are handled by SELECT_VECS.
1991-12-04 07:39:57 +00:00
Per Bothner
7a5f996269
* archive.c (bsd_write_armap): The pad byte sometimes added to
...
the string table in a __.SYMDEF member is now
counted as part of the size of the string table.
This is compatible with the old ranlib, as well as Sun's.
1991-12-03 22:25:01 +00:00
Steve Chamberlain
706e58f11b
* srec.c: Rewrote to fix many bugs; now gets the record type
...
right, doesn't choke on input, sets the start address in an S9 and
fills in the filename on an S0.
1991-12-03 18:54:50 +00:00
Steve Chamberlain
0d4b8e3fd2
* cpu-h8300.c: Add support for MEMIND addressing mode
1991-12-01 07:53:50 +00:00
Steve Chamberlain
6cba8f4b78
* coff-a29k.c: defined RELOC_PROCESSING to take the #ifdef out of
...
coffcode.h
* coffcode.h: use the new macro if available
1991-12-01 07:37:33 +00:00
Steve Chamberlain
dff5e6026e
* elf.c (elf_corefile_note): cast malloc to avoid warning.
...
* Makefile.in: Fixed dependencies due to file rename
1991-12-01 06:28:28 +00:00
Steve Chamberlain
d1ee1a893e
Fixed dependencies
1991-12-01 06:03:28 +00:00
Steve Chamberlain
c3eb25fc25
* aout-encap.c, aoutf1.h, aoutx.h, archive.c, bout.c, coff-a29k.c,
...
coff-h8300.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c,
coff-mips.c, coff-rs6000.c, cpu-h300.c, elf.c, i386aout.c,
newos3.c, stab-syms.c, syms.c: All these files have had their
#includes altered to point to the new places.
1991-12-01 05:24:02 +00:00
Steve Chamberlain
179ca8db66
Changed all prototypes from PROTO to EXFUN
1991-12-01 01:32:27 +00:00
Steve Chamberlain
1a15b9fc23
Fix typo in dependencies
1991-12-01 01:31:03 +00:00
Steve Chamberlain
fd8c21f9a1
bfd.texinfo
...
use fsf-texi.tex rather than texinfo
Makefile.in
various bugfixes
1991-12-01 01:28:32 +00:00
Steve Chamberlain
b8d69097ee
New order documentation
1991-12-01 01:27:19 +00:00
Steve Chamberlain
a1711bb474
Now reflect the new documentation order
1991-12-01 01:16:56 +00:00
Steve Chamberlain
22e9874378
Moved the position of the #### lines so that the makefile fragments
...
can override the BFD_{LIBS,MACHINES,BACKENDS} make variables.
1991-12-01 00:40:39 +00:00
Steve Chamberlain
0cda46cff1
New documentation style
1991-12-01 00:39:12 +00:00
Steve Chamberlain
93351e91c5
Even more documentation
1991-11-30 22:33:57 +00:00
Steve Chamberlain
9fda1a399c
New documentation style
1991-11-30 21:41:22 +00:00
Fred Fish
05b261a334
Add h-i386v4.h to Sanitize file. Check in new h-i386v4.h.
1991-11-30 04:22:57 +00:00
Fred Fish
f8b4dadf65
Initial revision
1991-11-30 04:22:56 +00:00
Fred Fish
eb8983c9ca
Fix bug in elf.c (missing "break" statements in cases), add ncr and
...
SVR4 i386 support to configuration.
1991-11-30 04:20:07 +00:00
Per Bothner
3721706073
Two small bug-fixes (affecting ar and nm).
1991-11-29 20:31:57 +00:00
John Gilmore
17e9960f57
Add COFF_SWAP_TABLE to it (oops)
1991-11-27 22:05:28 +00:00
Steve Chamberlain
c9301d7bcf
coff-i386.c
...
Fixed the RTYPETOHOWTO -> TYPE2HOWTO
coff-mips.c coff-rs6000.c
Can't read relocs, so provide empty macro
1991-11-27 21:57:48 +00:00
John Gilmore
3377d4d2a1
Fiddle diddle descriptor
1991-11-27 19:28:39 +00:00
Steve Chamberlain
b4e42a642c
Initial revision
1991-11-27 18:35:48 +00:00
Steve Chamberlain
71e3403212
Added h8
1991-11-27 16:58:22 +00:00
Steve Chamberlain
3b4f1a5d05
* Makefile.in: added coff-h8300
...
* configure.in: now h8 is a coff target
* cpu-h8300.c: fix various disassembly problems
* libcoff.h: took out some code which has been #0ed for a long
time.
* targets.c: added h8 coff
* coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c
added new macro RTYPE2HOWTO to take a load of #ifdefs out of
coffcode.h
* coffcode.h: Started to change the way machine dependencies are
handled, from the nest of #ifdefs to macros defined in the
including coff-<foo>.c
1991-11-27 16:56:08 +00:00
John Gilmore
e6e265ce3a
Fix hp300bsd entry point problem.
1991-11-23 03:20:41 +00:00
John Gilmore
853f0a7030
* coff-mips.c, coffcode.h: Peter Schauer's patch to kludge in
...
nonstandard MIPS sections (.rdata, .sdata, etc).
1991-11-22 23:02:29 +00:00
John Gilmore
f8adc62df4
const lint
1991-11-22 19:09:03 +00:00
John Gilmore
de0da6cee0
ALIGN -> BFD_ALIGN
1991-11-22 16:48:27 +00:00
John Gilmore
8c4a1ace3d
ALIGN->BFD_ALIGN
1991-11-22 16:45:04 +00:00
John Gilmore
1e310759ec
Lint
1991-11-22 16:22:01 +00:00
John Gilmore
f39eae7baa
Lint
1991-11-22 16:14:23 +00:00
Per Bothner
7de245d362
Moved bfd_stab_name() and bfd_stab_names[]
...
from syms.c to new file stab-syms.c.
Renamed to aout_stab_name() and aout_stab_names[].
Also, since GNU extended type codes such as N_SETT are no longer
in ../include/stab.def, include them manually.
1991-11-22 05:00:08 +00:00
Per Bothner
c3a1a56bda
Initial revision
1991-11-22 04:59:56 +00:00
John Gilmore
98d4310737
* libaout.h (WORK_OUT_FILE_POSITIONS): One more try at this
...
rather complicated seeming problem. Eliminate LOGICAL_ versions,
just make N_XXX work by excluding the header from the text segment.
* aoutx.h: Fix comments to match.
1991-11-21 19:52:23 +00:00
John Gilmore
400184f0fd
Remove echo.
1991-11-21 02:04:02 +00:00
John Gilmore
9ba6d81f63
Avoid duplicate echo.
1991-11-21 01:56:17 +00:00
Per Bothner
a89f7423b4
* targets.c: Make the default target_vector contain
...
just &DEFAULT_VECTOR. This makes executables a lot smaller.
Old behavior can be gotten by defining ALL_TARGETS.
* aoutf1.h, demo64.c, i386aout.c, newsos3.c, sunos.c:
Factored out common code into new file aout-target.h.
Saves a lot of duplicate code for a.out variants.
1991-11-17 21:38:05 +00:00
Roland Pesch
2090ba8351
Quit moving *-in.h into and out of doc subdir. Doc subdir knows how
...
to find them.
1991-11-15 20:26:52 +00:00
Roland Pesch
fafbc31929
Repairs for srcdir/objdir separation.
...
Individual targets for proto-header files.
1991-11-15 20:22:15 +00:00
Per Bothner
c9f19dac96
* aoutx.h (NAME(aout,print_symbol)): Fix thinko.
...
* syms.c (bfd_stab_names): Turn on new GNU_EXTRA_STABS macro
to include names of N_SETT etc.
1991-11-15 03:53:14 +00:00
Fred Fish
f8a754829c
Remove line containing only a leading tab. Such lines cause some versions
...
of "make" to choke, including SVR4 versions.
1991-11-15 03:44:04 +00:00
Per Bothner
811b9ab218
Add Makefile.in, configure.in. Remove Makefile.
1991-11-15 03:29:15 +00:00
Fred Fish
58df00e9aa
Add minimal support for reading ELF symbol files and generating canonical bfd
...
symbol tables. Also change the names of some functions.
1991-11-15 03:26:58 +00:00
Fred Fish
7d68537f73
Trivial change to comment to remove redundant "to".
1991-11-15 03:14:20 +00:00
Steve Chamberlain
fb3851d4d4
Added harris
1991-11-14 15:24:43 +00:00
Steve Chamberlain
da9471d47b
Get prototype of memchr right
1991-11-14 04:35:42 +00:00
Steve Chamberlain
2bf92e47a9
Install bfd.h into destdir/include
1991-11-14 04:35:20 +00:00
K. Richard Pixley
38dc9747fe
Now works in objdir/subdirs.
1991-11-14 03:14:12 +00:00
Roland Pesch
a28c84e830
Removed '-' prefix from Makefile invocation of makeinfo. Not needed
...
(til next time someone breaks it; I want a bugreport then).
1991-11-14 00:23:20 +00:00
K. Richard Pixley
8792d41421
added staging stuff & install target
1991-11-14 00:17:45 +00:00
K. Richard Pixley
f259290f0d
take care of doc subdir, too
1991-11-14 00:16:05 +00:00
Roland Pesch
a9773c8993
Repair info node-pointer bug.
1991-11-13 23:06:07 +00:00
Sean Eric Fagan
bf61dec7d8
Changed 'i386_coff' to 'i386-coff' to match the real file's name.
1991-11-13 22:19:33 +00:00
K. Richard Pixley
40c0f22d98
Initial revision
1991-11-13 20:00:07 +00:00
Steve Chamberlain
56b10d6dee
* ieee.c: (ieee_object_p) cast NULL correctly.
...
* configure.in: added harris host
1991-11-13 19:27:21 +00:00
Steve Chamberlain
d14a8a061e
Initial revision
1991-11-13 19:25:56 +00:00
Steve Chamberlain
6ea296a6fd
*** empty log message ***
1991-11-13 17:10:23 +00:00
Steve Chamberlain
c2ce073867
Various changes from David Wood.
1991-11-13 17:09:33 +00:00
John Gilmore
5685fb5005
Just use #undef, not #define foo foo
1991-11-12 15:22:22 +00:00
Steve Chamberlain
080f6324d6
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.
1991-11-12 04:32:57 +00:00
Fred Fish
4807bcf9a3
Additions to support ELF formatted core files.
1991-11-12 03:12:26 +00:00
Per Bothner
ff7ce1700b
* 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.
1991-11-12 02:46:26 +00:00
Fred Fish
f135f137a9
Document use of elf_big_vec as DEFAULT_VECTOR.
1991-11-09 21:51:52 +00:00
Fred Fish
a6c1d73165
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.
1991-11-09 21:48:15 +00:00
John Gilmore
285dbe1917
* 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.
1991-11-09 11:13:02 +00:00
John Gilmore
00a76e06c9
Define FASCIST_FDOPEN.
1991-11-09 11:11:09 +00:00
Steve Chamberlain
85e0c72139
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.
1991-11-07 19:06:38 +00:00
Steve Chamberlain
d60f7e4804
Added default_reloc_type_lookup to arch_info
1991-11-05 22:18:59 +00:00
Steve Chamberlain
a53047e8a6
Added h-delta88
1991-11-05 20:55:45 +00:00
K. Richard Pixley
40773f7f3f
find include files
1991-11-05 00:06:29 +00:00
Steve Chamberlain
e181b631aa
Added ctor.c (I remembered this time)
1991-11-04 00:37:06 +00:00
Steve Chamberlain
cad28227e3
added ctor.c
1991-11-04 00:36:30 +00:00
Steve Chamberlain
a7bae57e32
Added ctor.c
1991-11-04 00:36:13 +00:00
Steve Chamberlain
522e0ead63
Sat Nov 2 14:26:03 1991 Steve Chamberlain (steve at cygnus.com)
...
* Makefile.in: Added ctor.c
* archures.c (bfd_default_arch_struct) added
bfd_default_reloc_type_lookup.
* coffcode.h: removed a load of #if 0ed code.
(coff_compute_file_section_positions): now works out the section
alignment and size correctly in all cases.
(coff_get_symtab): looks for contructor symbols and calls the
right function when they're found. (coff_canonicalize_reloc):
knows when a section is full of contructors and does the right
thing.
* cpu-m88k.c: Added default_reloc_type lookup to the architecture
description.
* libbfd-in.h: (bfd_default_reloc_type_lookup) defun added.
* libcoff.h: removed #if 0ed code
* reloc.c: (bfd_reloc_code_real_type) added BFD_RELOC_CTOR for
arch independent contructtor relocation type.
(bfd_reloc_type_lookup): removed the comment "this will go away"
since it won't. (bfd_howto_32): stolen from 88k, this is a 32bit
reloc which is used when BFD_RELOC_CTOR falls through to give a
default 32bit reloc for contructors.
(bfd_default_reloc_type_lookup): added.
* aoutf1.h: fixed SEGMENT_SIZE typo.
1991-11-04 00:35:19 +00:00
Per Bothner
e18e24af07
* bfd-in.h (bfd_print_symbol_type_hopw enum): Add new option
...
bfd_print_symbol_nm, for use by nm.
* aoutx.h (NAME(aout,print_symbol)): Add code for new
bfd_print_symbol_nm option, to print in nm format.
* coffcode.h (coff_print_symbol), ieee.c (ieee_print_symbol)
oasys.c (oasys_print_symbol): Provide stub implementations
for bfd_print_symbol_nm.
* syms.c: New function bfd_decode_symclass, used by nm printer.
New function bfd_stab_name to look up string name of stab code.
1991-11-03 22:47:50 +00:00
Per Bothner
7100c892fd
Get rid of MISSING_VFPRINTF, since libiberty provides one.
1991-11-03 22:46:06 +00:00
Steve Chamberlain
7a25e728e7
Now include ctor.c in the right places.
1991-11-02 22:37:35 +00:00
Steve Chamberlain
e5e193c742
Initial revision
1991-11-02 22:37:07 +00:00
John Gilmore
6d7c88c3d0
* coff-rs6000.c: Change name to "aixcoff-rs6000", to avoid
...
matching prefix "coff".
* coffcode.h (coff_swap_aux_in, coff_swap_aux_out): Handle
rs/6000 csect records.
1991-11-01 02:24:43 +00:00
Steve Chamberlain
da6745fd68
* coff-m88k.c, targets.c: change name of m88k_bcs to m88kbcs
1991-10-28 01:18:01 +00:00
Steve Chamberlain
01dd1b2b47
Sun Oct 27 16:56:58 1991 Steve Chamberlain (steve at cygnus.com)
...
* configure.in: add motorola delta88 cases
* libbfd.h, libbfd-in.h, archive.c, ieee.c, elf.c, srec.c: fix
write_armap prototype
* libbfd.c: add doc on bfd_write_bigendian_4byte_int
1991-10-28 01:08:51 +00:00
Steve Chamberlain
2f192e9b95
Initial revision
1991-10-28 01:00:06 +00:00
John Gilmore
156e38523a
* Rename COFF-related files in `coff-ARCH.c' form.
...
coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c,
coff-mips.c, coff-rs6000.c to be exact.
1991-10-25 10:17:52 +00:00
John Gilmore
4a29cb1e7e
* Makefile.in: Only supply TARGET_DEFAULTS to targets.c, reducing
...
make output clutter.
1991-10-25 09:49:37 +00:00
John Gilmore
db138ce2a7
Update doc on how to define an architecture for "mh" change.
1991-10-25 08:03:08 +00:00
John Gilmore
cc97dfbba7
RS/6000 support
1991-10-25 07:16:59 +00:00
John Gilmore
ba9137fe2d
Initial revision
1991-10-25 07:16:56 +00:00
John Gilmore
cbdc790909
RS/6000 support, by Metin G. Ozisik, Mimi Phûông-Thåo Võ, and John Gilmore.
1991-10-25 07:06:02 +00:00
John Gilmore
ae9cce45ff
Updates to h-vaxult.h from David Taylor.
1991-10-25 02:21:52 +00:00
Steve Chamberlain
7e993cab28
Removed some debug
1991-10-25 02:13:56 +00:00
Steve Chamberlain
4b39ad32c1
Now uses mt- and mh- rather than tmake and hmake files
1991-10-24 21:36:40 +00:00
Fred Fish
e0796d2213
Add partial support for ELF format corefiles. Still needs code to extract
...
register values from corefiles and make them available to bfd clients.
1991-10-24 10:26:26 +00:00
Fred Fish
7b71de814a
In config/t-m68k-elf, set DEFAULT_VECTOR to elf_big_vec.
1991-10-24 09:16:41 +00:00