projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f4965a0
)
[project @ 2006-01-09 14:25:44 by simonmar]
author
simonmar
<unknown>
Mon, 9 Jan 2006 14:25:44 +0000
(14:25 +0000)
committer
simonmar
<unknown>
Mon, 9 Jan 2006 14:25:44 +0000
(14:25 +0000)
configure.ac
patch
|
blob
|
history
ghc/driver/mangler/ghc-asm.lprl
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
9f99c20
..
5458c53
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-197,6
+197,15
@@
i[[3456]]86-*-gnu*)
HostVendor_CPP=unknown
HostOS_CPP=gnu
;;
HostVendor_CPP=unknown
HostOS_CPP=gnu
;;
+i[[3456]]86-*-kfreebsd*-gnu)
+ HostPlatform=i386-unknown-kfreebsdgnu # hack again
+ TargetPlatform=i386-unknown-kfreebsdgnu
+ BuildPlatform=i386-unknown-kfreebsdgnu
+ HostPlatform_CPP='i386_unknown_kfreebsdgnu'
+ HostArch_CPP='i386'
+ HostVendor_CPP='unknown'
+ HostOS_CPP='kfreebsdgnu'
+ ;;
i[[3456]]86-*-freebsd[[3-9]]*) # FreeBSD 3.0+ uses ELF
HostPlatform=i386-unknown-freebsd # hack again
TargetPlatform=i386-unknown-freebsd
i[[3456]]86-*-freebsd[[3-9]]*) # FreeBSD 3.0+ uses ELF
HostPlatform=i386-unknown-freebsd # hack again
TargetPlatform=i386-unknown-freebsd
diff --git
a/ghc/driver/mangler/ghc-asm.lprl
b/ghc/driver/mangler/ghc-asm.lprl
index
1c75f00
..
760175a
100644
(file)
--- a/
ghc/driver/mangler/ghc-asm.lprl
+++ b/
ghc/driver/mangler/ghc-asm.lprl
@@
-160,7
+160,7
@@
sub init_TARGET_STUFF {
$T_HDR_vector = "\.text\n\t\.align 2\n"; # NB: requires padding
#--------------------------------------------------------#
$T_HDR_vector = "\.text\n\t\.align 2\n"; # NB: requires padding
#--------------------------------------------------------#
- } elsif ( $TargetPlatform =~ /^i386-.*-(solaris2|linux|gnu|freebsd|netbsd|openbsd)$/ ) {
+ } elsif ( $TargetPlatform =~ /^i386-.*-(solaris2|linux|gnu|freebsd|netbsd|openbsd|kfreebsdgnu)$/ ) {
$T_STABBY = 0; # 1 iff .stab things (usually if a.out format)
$T_US = ''; # _ if symbols have an underscore on the front
$T_STABBY = 0; # 1 iff .stab things (usually if a.out format)
$T_US = ''; # _ if symbols have an underscore on the front