head	1.2;
access;
symbols
	RELEASE_4_4_0:1.1
	RELEASE_4_3_0:1.1
	RELEASE_4_2_0:1.1
	RELEASE_4_1_1:1.1
	RELEASE_4_1_0:1.1
	RELEASE_3_5_0:1.1
	RELEASE_4_0_0:1.1
	RELEASE_3_4_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2001.12.08.06.22.03;	author ijliao;	state dead;
branches;
next	1.1;

1.1
date	99.11.25.18.33.58;	author jseger;	state Exp;
branches;
next	;


desc
@@


1.2
log
@upgrade to 2.4.0
assign maintainer (was ports@@FreeBSD.org0

PR:		32548
Submitted by:	Tim Pierce <twp@@unchi.org>
@
text
@--- o/sfaslelf.c.orig	Thu Nov 25 01:28:03 1999
+++ o/sfaslelf.c	Thu Nov 25 01:31:36 1999
@@@@ -15,7 +15,7 @@@@
 
 */
 
-#ifndef __linux__
+#if !(defined(__linux__) || defined(__FreeBSD__))
 #define ELF_TARGET_SPARC 1
 #endif
 
@@@@ -373,7 +373,7 @@@@
     *(unsigned int *)where += ((val & mask) | ((*(unsigned int *)where) & ~mask))
     
     switch(ELF32_R_TYPE(reloc_info->r_info)){
-#if (defined(__svr4__) || defined(__linux__)) && defined(__i386__)
+#if (defined(__svr4__) || defined(__linux__) || defined(__FreeBSD__)) && defined(__i386__)
     case     R_386_NONE:
       FEerror("Unsupported ELF type R_386_NONE");
       break;
@@@@ -420,9 +420,11 @@@@
       FEerror("Unsupported ELF type R_386_GOTPC");
       break;
 
+#ifdef R_386_NUM
     case     R_386_NUM:
       FEerror("Unsupported ELF type R_386_NUM");
       break;
+#endif
 
 #else
     case     R_SPARC_WDISP30:
@


1.1
log
@Unbreak and upgrade to gcl-2.3
@
text
@@

