gcconfig.h: Handle amd64/x86-64 cpu under GNU/kFreeBSD.
2007-01-16 Petr Salinger <Petr.Salinger@seznam.cz> * include/private/gcconfig.h: Handle amd64/x86-64 cpu under GNU/kFreeBSD. * os_dep.c: Likewise. From-SVN: r120831
This commit is contained in:
parent
70b81845bf
commit
016a2390f2
3 changed files with 12 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-01-16 Petr Salinger <Petr.Salinger@seznam.cz>
|
||||
|
||||
* include/private/gcconfig.h: Handle amd64/x86-64 cpu under
|
||||
GNU/kFreeBSD.
|
||||
* os_dep.c: Likewise.
|
||||
|
||||
2007-01-15 Andreas Tobler <a.tobler@schweiz.org>
|
||||
|
||||
* os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Adjust mail
|
||||
|
|
|
@ -329,6 +329,10 @@
|
|||
# define I386
|
||||
# define mach_type_known
|
||||
# endif
|
||||
# if defined(FREEBSD) && defined(__x86_64__)
|
||||
# define X86_64
|
||||
# define mach_type_known
|
||||
# endif
|
||||
# if defined(__NetBSD__) && (defined(i386) || defined(__i386__))
|
||||
# define I386
|
||||
# define mach_type_known
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
# define NEED_FIND_LIMIT
|
||||
# endif
|
||||
|
||||
#if defined(FREEBSD) && (defined(I386) || defined(powerpc) || defined(__powerpc__))
|
||||
#if defined(FREEBSD) && (defined(I386) || defined(X86_64) || defined(powerpc) || defined(__powerpc__))
|
||||
# include <machine/trap.h>
|
||||
# if !defined(PCR)
|
||||
# define NEED_FIND_LIMIT
|
||||
|
@ -1392,7 +1392,7 @@ int * etext_addr;
|
|||
}
|
||||
# endif
|
||||
|
||||
# if defined(FREEBSD) && (defined(I386) || defined(powerpc) || defined(__powerpc__)) && !defined(PCR)
|
||||
# if defined(FREEBSD) && (defined(I386) || defined(X86_64) || defined(powerpc) || defined(__powerpc__)) && !defined(PCR)
|
||||
/* Its unclear whether this should be identical to the above, or */
|
||||
/* whether it should apply to non-X86 architectures. */
|
||||
/* For now we don't assume that there is always an empty page after */
|
||||
|
|
Loading…
Add table
Reference in a new issue