xc/config/cf/sun.cf
xc/config/cf/sv4Lib.rules xc/programs/Xserver/Imakefile xc/programs/Xserver/hw/xfree86/os-support/sunos/find_deps.pl Make Solaris builds work when using MakeDllModules (it's not the default yet, but at least it works now if you turn it on) Also improve default compiler, optimizer, & linker flags for Solaris builds using either Sun cc or gcc xc/programs/Xserver/cfb/Imakefile.inc xc/programs/Xserver/cfb/stipsparc.s xc/programs/Xserver/cfb/stipsprc32.s Remove text relocation error when building shared versions
This commit is contained in:
parent
36e3e5430e
commit
46472cbee6
|
@ -1,5 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* $Xorg: stipsparc.s,v 1.4 2001/02/09 02:04:39 xorgcvs Exp $
|
* $Xorg: stipsparc.s,v 1.4 2001/02/09 02:04:39 xorgcvs Exp $
|
||||||
|
* $XdotOrg: $
|
||||||
*
|
*
|
||||||
Copyright 1990, 1998 The Open Group
|
Copyright 1990, 1998 The Open Group
|
||||||
|
|
||||||
|
@ -101,9 +102,17 @@ in this Software without prior written authorization from The Open Group.
|
||||||
.globl _cfbStippleStack
|
.globl _cfbStippleStack
|
||||||
_cfbStippleStack:
|
_cfbStippleStack:
|
||||||
save %sp,-64,%sp
|
save %sp,-64,%sp
|
||||||
|
#ifdef SHAREDCODE
|
||||||
|
1:
|
||||||
|
call 2f
|
||||||
|
nop
|
||||||
|
2:
|
||||||
|
mov %o7,sbase /* sbase = 1b(1:) */
|
||||||
|
add sbase, CaseBegin-1b, sbase
|
||||||
|
#else /* !SHAREDCODE */
|
||||||
sethi %hi(CaseBegin),sbase /* load up switch table */
|
sethi %hi(CaseBegin),sbase /* load up switch table */
|
||||||
or sbase,%lo(CaseBegin),sbase
|
or sbase,%lo(CaseBegin),sbase
|
||||||
|
#endif /* SHAREDCODE */
|
||||||
mov 4,lshift /* compute offset within */
|
mov 4,lshift /* compute offset within */
|
||||||
sub lshift, shift, lshift /* stipple of remaining bits */
|
sub lshift, shift, lshift /* stipple of remaining bits */
|
||||||
#ifdef LITTLE_ENDIAN
|
#ifdef LITTLE_ENDIAN
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* $Xorg: stipsprc32.s,v 1.4 2001/02/09 02:04:39 xorgcvs Exp $
|
* $Xorg: stipsprc32.s,v 1.4 2001/02/09 02:04:39 xorgcvs Exp $
|
||||||
|
* $XdotOrg: $
|
||||||
*
|
*
|
||||||
Copyright 1990, 1998 The Open Group
|
Copyright 1990, 1998 The Open Group
|
||||||
|
|
||||||
|
@ -98,9 +99,17 @@ in this Software without prior written authorization from The Open Group.
|
||||||
.globl _cfb32StippleStack
|
.globl _cfb32StippleStack
|
||||||
_cfb32StippleStack:
|
_cfb32StippleStack:
|
||||||
save %sp,-64,%sp
|
save %sp,-64,%sp
|
||||||
|
#ifdef SHAREDCODE
|
||||||
|
1:
|
||||||
|
call 2f
|
||||||
|
nop
|
||||||
|
2:
|
||||||
|
mov %o7,sbase /* sbase = 1b(1:) */
|
||||||
|
add sbase, CaseBegin-1b, sbase
|
||||||
|
#else /* !SHAREDCODE */
|
||||||
sethi %hi(CaseBegin),sbase /* load up switch table */
|
sethi %hi(CaseBegin),sbase /* load up switch table */
|
||||||
or sbase,%lo(CaseBegin),sbase
|
or sbase,%lo(CaseBegin),sbase
|
||||||
|
#endif /* !SHAREDCODE */
|
||||||
mov 4,lshift /* compute offset within */
|
mov 4,lshift /* compute offset within */
|
||||||
sub lshift, shift, lshift /* stipple of remaining bits */
|
sub lshift, shift, lshift /* stipple of remaining bits */
|
||||||
#ifdef LITTLE_ENDIAN
|
#ifdef LITTLE_ENDIAN
|
||||||
|
|
Loading…
Reference in New Issue
Block a user