Commit graph

433 commits

Author SHA1 Message Date
Jim Kingdon
6d792f42f3 * hosts/std-host.h (struct int64e_struct): Remove needless typedef
keyword.
1993-06-12 23:15:20 +00:00
David Edelsohn
628d152d66 * hosts/std-host.h (int64e_type): Fix definition. 1993-06-11 03:39:22 +00:00
Ian Lance Taylor
9b946448f6 * coff-mips.c (ecoff_sec_to_styp_flags): Use STYP_MIPS_INIT for
section named _INIT.  Don't set STYP_TEXT unless SEC_CODE is set.
	(ecoff_styp_to_sec_flags): Treat a STYP_MIPS_INIT section like
	a STYP_TEXT section.
1993-06-10 18:51:48 +00:00
David D. Zuhn
8742e21ac1 fix comment portability problem (ultrix) 1993-06-09 23:49:32 +00:00
Ian Lance Taylor
de17306e90 * coff-mips.c (ecoff_mkobject_hook): Mark ZMAGIC files as D_PAGED.
(ecoff_write_object_contents): If not D_PAGED, don't add the
	section headers to text_size.  If not D_PAGED, set the magic
	number to OMAGIC rather than ZMAGIC.  If creating a D_PAGED
	executable, the executable must fully occupy an even number of
	pages.
	(ecoff_set_symbol_info, make_bfd_asection, ecoff_little_vec,
	ecoff_big_vec): Consistently set section alignment power to 4,
	since ECOFF sections should be multiples of 16 bytes.
	(ecoff_little_vec, ecoff_big_vec): Added D_PAGED to object_flags.
	Made ar_pad_char and ar_max_namelen agree for both.
1993-06-09 22:08:13 +00:00
Mark Eichin
9d206bcf99 * elfcode.h (elf_slurp_symbol_table): subtract section vma from
symbol value, since bfd symbols are section relative, but ELF
	symbols aren't.
for previous change.
1993-06-09 00:30:58 +00:00
Steve Chamberlain
e96d656243 * cpu-i960.c, cpu-h8300.c (compatible): Make static. 1993-06-08 21:31:12 +00:00
Jim Kingdon
2ee2023eb1 new stuff for Sony News 1993-06-08 21:30:08 +00:00
Steve Chamberlain
b08a074860 * bfd-in2.h, archures.c (bfd_mach_h8300[h]): new defines.
* coff-h8300.c: More addressing modes.
	* coffcode.h (coff_set_arch_mach_hook): Cope with H8300 magic
	number.
	* cpu-h8300.c: Removed disassemble stuff. (h8300_scan): Recognise
	H8/300H name. (compatible): New function.
	* reloc16.c (bfd_coff_reloc16_get_relocated_sec): Cope with more
	addressing modes.
1993-06-08 19:15:35 +00:00
Ian Lance Taylor
dc75a8af91 * coff-mips.c (ecoff_compute_section_file_positions,
ecoff_write_object_contents): Only round to page boundaries if
	D_PAGED flag is set for the output BFD.
1993-06-08 17:35:27 +00:00
Steve Chamberlain
fbe5495ad3 * coffcode.h (get_index, coff_slurp_symbol_table): Fix pointer
casts to work on machine where sizeof(long) != sizeof(int) !=
	sizeof(char *).
        * coffgen.c (coff_get_normalized_symtab): Ditto.
	* cpu-h8300.c coff-h8300.c: Support for H8/300-H.
1993-06-04 22:54:20 +00:00
Stu Grossman
2f2831f030 Remove comments about adding new news config stuff. 1993-06-04 20:39:10 +00:00
Stu Grossman
6c9936f7cd * Sony News config stuff from Jyrki Kuoppala <jkp@cs.hut.fi>.
* hosts/news.h, config/news.mh:  New configs for Sony News hosts.
1993-06-04 20:19:54 +00:00
Ian Lance Taylor
69cfe7e8fc * configure.in (mips-*-ecoffl*): New target; use decstation.
(mips-*-ecoff*): Added trailing '*'.
1993-06-04 19:37:33 +00:00
Ian Lance Taylor
9d6088ccac * coff-mips.c (ecoff_get_debug): Get the offset from the first PDR
for the FDR, not from the first PDR in the file.
1993-06-04 14:49:42 +00:00
Stu Grossman
42d8399382 * hppa.c (hppa_get_symbol_info): New func needed for JUMP_TABLE. 1993-06-03 23:42:40 +00:00
David MacKenzie
4645cce479 Define hppa_get_symbol_info. Missed it when updating for nm. 1993-06-03 22:35:06 +00:00
Ken Raeburn
c8f3a0e160 today's changes; details from Utah on their changes 1993-06-03 21:13:32 +00:00
David D. Zuhn
c332b51602 go32 needs math library 1993-06-03 07:26:52 +00:00
Ken Raeburn
d9ebd99e6a rest of utah changes 1993-06-02 21:59:23 +00:00
Ken Raeburn
7050286db6 elfcode.h 1993-06-02 21:24:35 +00:00
Per Bothner
3407596411 * Makefile.in (bfd.h): Move closer to headers - and after 'all'! 1993-06-02 00:13:46 +00:00
Per Bothner
3ef08dc3e3 * aoutx.h (translate_from_native_sym_flags): Don't set
BSF_DEBUGGING for constructor symbols, only BSF_CONSTRUCTOR.
	* aoutx.h (translate_to_native_sym_flags):  Translate
	constructor symbols properly.
1993-06-01 22:43:29 +00:00
Steve Chamberlain
eba2bc94c3 * aout-target.h (minimum_alignment): 8 byte alignment is right.
(fix ld/2680)
1993-05-27 23:12:21 +00:00
Ken Raeburn
b9653d8165 first cut at new maybe-64bit-handling configuration 1993-05-27 19:57:15 +00:00
Ken Raeburn
cb9914277d elf, cleanup changes 1993-05-25 20:24:24 +00:00
Stu Grossman
43152fe57b * i386lynx.c: New module for Lynx variant of a.out.
* Makefile.in (BFD_BACKENDS CFILES depends):  Add i386lynx.c.
	* gen-aout.c:  Get rid of defunct endian stuff, print out true
	pagesize.
	* targets.c (target_vector):  Add i386lynx_vec.
1993-05-22 02:08:20 +00:00
Jim Kingdon
01e8df99e5 ISC changes 1993-05-21 22:34:16 +00:00
David MacKenzie
c881d68721 Move printing from bfd to nm. 1993-05-21 21:09:02 +00:00
Jim Kingdon
67a113cf3e * trad-core.c: Check macro TRAD_CORE_EXTRA_SIZE_ALLOWED.
hosts/i386linux.h:  Define it.
1993-05-19 21:11:49 +00:00
Jim Kingdon
b7e80156db * trad-core.c: Check macro TRAD_CORE_EXTRA_SIZE_ALLOWED.
hosts/i386linux.h: Define it.
1993-05-19 20:57:20 +00:00
Ken Raeburn
09f080a55e hppa assembler/disasm support routines 1993-05-17 19:04:58 +00:00
Ian Lance Taylor
979227d480 * bout.c (aout32_slurp_extended_name_table): Define to be
_bfd_slurp_extended_name_table rather than bfd_true.
1993-05-12 21:44:18 +00:00
Ian Lance Taylor
bb511e8a1e * coff-mips.c: Include libaout.h and aout/aout64.h to get
definitions for N_SET[ATDB].
	(ecoff_howto_table): Moved near top of file.
	(ecoff_set_symbol_info): If a STABS symbol of type N_SET[ATDB] is
	seen, cook up a constructor section of the same name and put in a
	reloc pointing to the symbol.  This lets the GNU linker build
	global constructors and destructors without using collect.
1993-05-12 21:42:20 +00:00
Fred Fish
aa9a648958 * configure.in (hppa*-*-bsd): Change to hppa*-*-bsd*
* configure.in (hppa*-*-hpux):  Change to hppa*-*-hpux*
	* configure.in (m68*-hp-bsd):  Change to m68*-hp-bsd*
	* configure.in (m68*-*-hpux):  Change to m68*-*-hpux*
	* configure.in (*-*-bsd):  Change to *-*-bsd*
1993-05-09 23:42:50 +00:00
Per Bothner
df6dfda7fb * elf32-hppa.c (elf_hppa_reloc_type_lookup): Cast enums to
int, for the sake of the old Portable C Compiler.
1993-05-05 23:12:11 +00:00
Fred Fish
cc8e9e5b5f * trad-core.c (NO_SIGNED_GET): New macro.
* trad-core.c (trad_core_vec):  Use new NO_SIGNED_GET instead of
	signed NO_GET, where appropriate.
1993-05-02 21:53:13 +00:00
Fred Fish
772b5e9b59 * configure.in (i[34]86-*-linux*): Add; bfd_target = i386-linux.
* configure.in (*-*-linux*):  Remove until linux port for a
	non-i386/i486 system is actually available.
1993-05-02 18:43:09 +00:00
Stu Grossman
b2057735d8 * libhppa.h: #undef e_* symbols which come from <machine/som.h>
when compiling under HPUX.
1993-05-01 03:05:18 +00:00
Stu Grossman
d325e28cfd * The following patches are from Jeffrey Law <law@cs.utah.edu>.
* hppa.c (hppa_core_file_p): Provide a temporary dummy routine
	for HOST_HPPABSD.
	* bfd/hosts/hppabsd.h: Fix declarations of malloc and free.
	* bfd/libhppa.h: Include sysdep here.  Conditionalize
	includes based on HOST_HPPAHPUX or HOST_HPPABSD.
	Provide definitions for MAXCOMLEN and _PA_RISC_ID suitable
	for BSD.
1993-05-01 00:57:03 +00:00
Ken Raeburn
89c88702c0 Don't include system a.out.h in elf32-hppa.c.
Apparently include/aout/*.h isn't needed either, so just omit it.
Should compile on Solaris now...
1993-04-30 21:49:02 +00:00
Jim Kingdon
9e768fa213 * coffcode.h: use dummy_reloc16_extra_cases rather than casting abort. 1993-04-30 17:22:39 +00:00
Ken Raeburn
19e0e2211c Log for changes already checked in today.
(Yes, this changelog entry is well tested and reasonably localized. :-)
1993-04-29 22:05:53 +00:00
Steve Chamberlain
9faacb925f Support for Hitachi SH 1993-04-27 01:17:32 +00:00
Jim Kingdon
31568a6f41 * trad-core.c (trad_unix_core_file_p): Check the file size. 1993-04-26 21:03:35 +00:00
Ian Lance Taylor
e5351028c7 * sco-core.c (sco_core_vec): Add initializers for new target
fields.
1993-04-26 18:27:40 +00:00
Jim Kingdon
35d835c405 * coffcode.h [_LIT]: Recognize .lit section. 1993-04-25 04:45:31 +00:00
Steve Chamberlain
5f8f6d56f2 Support for the alpha 1993-04-24 02:10:09 +00:00
Stu Grossman
9a5e3a9ac5 * Merge in HPPA/BSD changes from Utah.
* hppa.c:  Use this for both HPUX & BSD.
	* targets.c:  Enable hppa_vec for both HPUX & BSD.
	* config/hppabsd.mt:  TDEFINES => TDEFAULTS.
	* hosts/hppabsd.h:  #define HOST_HPPABSD.
1993-04-24 00:00:41 +00:00
John Gilmore
5e6d9f49be * libbfd.c: Whitespace changes around byteswap macros.
* libbfd-in.h:  Whitespace changes around byteswap declarations.
1993-04-21 09:31:42 +00:00