view src/m/sun3-fpa.h @ 19703:9fa57c73882d

Include config.h and time.h. Declare extern data and functions. (file_data): Move definition from w32heap.c. (_start): Add debug hook for when profiling. Spoof executable name when using profilers. Invoke sbrk immediately when undumped. (unexec): Print error messages when input and output dump files cannot be opened. Reset header checksum. (open_input_file, open_output_file): Return status instead of aborting. (get_section_size): Handle different linkers. (find_section, rva_to_section): New functions. (get_section_info) [SEPARATE_BSS_SECTION]: Make code for using a separate .bss section conditional. Use my_begbss and my_endbss to determine .bss size by default. Look for Emacs data in EMDATA section.
author Geoff Voelker <voelker@cs.washington.edu>
date Wed, 03 Sep 1997 00:42:10 +0000
parents e442bb589751
children 23a1cea22d13
line wrap: on
line source

/* sun3-fpa.h, for a Sun 3, using the Sun fpa.  */

#include "sun3.h"

/* The following line tells the configuration script what sort of 
   operating system this machine is likely to run.
   USUAL-OPSYS="note"

NOTE-START
Sun with FPA co-processor (-machine=sun3-fpa;
			   -opsystem=bsd4-2 or -opsystem=sunos4)

  Versions 1, 2, and 3 of the operating system are derived from
  Berkeley 4.2, meaning that you should use -opsystem=bsd4-2.

  For SunOS release 4 on a Sun 3 with an FPA, use -machine=sun3-fpa
  and -opsystem=sunos4.  See the file share-lib/SUNBUG for how to
  solve problems caused by bugs in the "export" version of SunOS 4.
NOTE-END  */

/* In case we are using floating point, work together with crt0.c.  */

#ifndef __GNUC__
#define C_SWITCH_MACHINE -ffpa
#endif

#define sun_fpa
#define START_FILES crt0.o /usr/lib/Wcrt1.o