head	1.2;
access;
symbols
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1
	RELEASE_5_0_0:1.1
	RELEASE_4_7_0:1.1
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1
	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
	RELEASE_3_3_0:1.1
	RELEASE_3_2_0:1.1
	RELEASE_3_1_0:1.1
	RELEASE_2_2_8:1.1
	RELEASE_3_0_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2003.06.03.08.16.58;	author arved;	state dead;
branches;
next	1.1;

1.1
date	98.09.29.13.13.25;	author rnordier;	state Exp;
branches;
next	;


desc
@@


1.2
log
@- Update to CVS snapshot 20030526, which fixes the build problems on 5.x
- Give maintainership to submitter

"Unfortunately FreeBSD 5.x uses the GNU C extension
__attribute__((__aligned__(x))) in a couple of system headers
(<machine/npx.h>, <machine/signal.h> and <machine/ucontext.h> for i386).  To
avoid a syntax error __aligned(x) is removed by a #define, but programs that
use struct sigcontext, struct savexmm or mcontext_t probably won't work."

PR:		52619
Submitted by:	Stefan Farfeleder <stefan@@fafoe.dyndns.org>
@
text
@--- src/installers/80x86/common/assembler.h.orig	Mon Mar 16 13:25:20 1998
+++ src/installers/80x86/common/assembler.h	Mon Sep 28 23:46:57 1998
@@@@ -97,6 +97,9 @@@@
 #if islinux
 extern void set_linux_format PROTO_S ((int elf)); /* machine.c */
 #endif
+#if isfreebsd
+extern void set_freebsd_format PROTO_S ((int elf)); /* machine.c */
+#endif
 extern void out_main_prelude PROTO_S ((void));
 extern void out_main_postlude PROTO_S ((void));
 #endif
--- src/installers/80x86/common/cproc.c.orig	Mon Mar 16 13:25:21 1998
+++ src/installers/80x86/common/cproc.c	Mon Sep 28 23:48:05 1998
@@@@ -687,6 +687,9 @@@@
 #if islinux
 	!linux_elf &&
 #endif
+#if isfreebsd
+	!freebsd_elf &&
+#endif
 	pname[0] != local_prefix[0] &&
 	!strcmp (pname+prefix_length, "main")) {
     out_main_prelude();
@@@@ -1003,6 +1006,9 @@@@
   if (
 #if islinux
 	!linux_elf &&
+#endif
+#if isfreebsd
+	!freebsd_elf &&
 #endif
 	pname[0] != local_prefix[0] &&
 	!strcmp (pname+prefix_length, "main")) {
--- src/installers/80x86/common/trans.c.orig	Wed Mar 11 13:03:06 1998
+++ src/installers/80x86/common/trans.c	Mon Sep 28 23:49:29 1998
@@@@ -387,6 +387,11 @@@@
 	set_linux_format (s[2] == '1');
 	break;
 #endif
+#if isfreebsd
+      case 'k':
+	set_freebsd_format (s[2] == '1');
+	break;
+#endif
 #if issco
       case 's':
 	sco_gas = 1;
@@@@ -402,6 +407,10 @@@@
 #if islinux
   if (gcc_compatible < 0)
     gcc_compatible = ! linux_elf;
+#endif
+#if isfreebsd
+  if (gcc_compatible < 0)
+    gcc_compatible = ! freebsd_elf;
 #endif
 
   if (i == argc)
@


1.1
log
@TenDRA does ELF Part I
@
text
@@

