Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Hacker Extraordinaire
Wed, 26 Oct 1988 18:13
Fix to ld for Sun-2's
Author: Hacker Extraordinaire
Date: Wed, 26 Oct 1988 18:13
Date: Wed, 26 Oct 1988 18:13
26 lines
1223 bytes
1223 bytes
The following patch got ld working for me... (Sun2/SunOS4) The misc if'ing is for: Old gcc (m68010 or such), Newer gcc (mc68010 on Suns) and SunOS 4.0 (TARGET==SUN2). Without this, ld produced only 68020 executables on my Sun-2. *** ld.c.~1~ Wed Sep 14 16:19:50 1988 --- ld.c Wed Oct 26 11:02:48 1988 *************** *** 206,212 **** --- 206,216 ---- /* Define how to initialize system-dependent header fields. */ #ifdef sun + #if defined(mc68010) || defined(m68010) || ( TARGET == SUN2 ) + #define INITIALIZE_HEADER outheader.a_machtype = M_68010 + #else #define INITIALIZE_HEADER outheader.a_machtype = M_68020 + #endif #endif #ifdef hpux #define INITIALIZE_HEADER outheader.a_machtype = HP9000S200_ID -- Greg Onufer .. University of the Pacific .. Focus Semiconductor .. exodus@cheers.uucp .. sun!daver!cheers!exodus .. 415-965-0604
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads