view src/s/sunos4shr.h @ 3782:5b61a650f347

Changes for correct pgrp behavior from Bob Glickstein <bobg@zindigo.z-code.com>: * m/iris4d.h (LIB_STANDARD): Do include -lbsd here. * s/irix4-0.h (USE_IRIX_BSDPGRP): #define this. (GETPGRP_NO_ARG): Don't #define this. * callproc.c [USE_IRIX_BSDPGRP] (Fcall_process): Call BSDsetpgrp instead of plain setpgrp. [USE_IRIX_BSDPGRP] (child_setup): Same. * emacs.c [GETPGRP_NO_ARG] (main, shut_down_emacs): CPP clauses deleted; this flag isn't needed anymore. [USE_IRIX_BSDPGRP] (main, shut_down_emacs): Call BSDsetpgrp and BSDgetpgrp instead of plain setpgrp and getpgrp. * process.c [USE_IRIX_BSDPGRP] (create_process): Don't call setpgrp before opening the tty. Call BSDsetpgrp instead of setpgrp, after opening the tty. * sysdep.c [USE_IRIX_BSDPGRP] (sys_suspend, narrow_foreground_group, widen_foreground_group): Call BSDgetpgrp and BSDsetpgrp instead of getpgrp and setpgrp.
author Jim Blandy <jimb@redhat.com>
date Wed, 16 Jun 1993 23:49:54 +0000
parents d7cacd332230
children 328187f39c3a
line wrap: on
line source

#include "sunos4-1.h"

/* Say that the text segment of a.out includes the header;
   the header actually occupies the first few bytes of the text segment
   and is counted in hdr.a_text.  */

/*  Misleading!  Actually gets loaded after crt0.o */
#define START_FILES pre-crt0.o

/*
 *  Kludge!  can't get at symbol "start" in std crt0.o
 *  Who the #$%&* decided to remove the __ characters!
 *  Someone needs to fix this in sysdep.c  with an #ifdef BROKEN_START in
 * sysdep.c.  We do not use this address so any value should do really.  Still
 *  may need it in the future?
 */
#define BROKEN_START
#define TEXT_START 0x2020

#define UNEXEC	unexsunos4.o
#define RUN_TIME_REMAP
#define LINKER cc

#undef LD_SWITCH_SYSTEM