Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
512e32d2
Commit
512e32d2
authored
Mar 15, 2002
by
Anthony Green
Committed by
Anthony Green
Mar 15, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address mingw32 issues.
From-SVN: r50816
parent
8d39b447
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
6 deletions
+19
-6
boehm-gc/ChangeLog
+7
-0
boehm-gc/configure
+7
-3
boehm-gc/configure.in
+1
-0
boehm-gc/misc.c
+4
-3
No files found.
boehm-gc/ChangeLog
View file @
512e32d2
2002-03-15 Anthony Green <green@redhat.com>
* misc.c (GC_init_inner): Initialize GC_write_cs before use.
* configure.in: Disable use of getenv for win32 targets (some of
which have broken implementations).
* configure: Rebuilt.
2002-03-12 Adam Megacz <adam@xwt.org>
* dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
...
...
boehm-gc/configure
View file @
512e32d2
...
...
@@ -2727,6 +2727,10 @@ EOF
#define GC_WIN32_THREADS 1
EOF
cat
>>
confdefs.h
<<
\
EOF
#define NO_GETENV 1
EOF
;;
decosf1
|
irix
|
mach
|
os2
|
solaris
|
dce
|
vxworks
)
{
echo
"configure: error: thread package
$THREADS
not yet supported"
1>&2
;
exit
1
;
}
...
...
@@ -2738,7 +2742,7 @@ esac
echo
$ac_n
"checking for dlopen in -ldl""...
$ac_c
"
1>&6
echo
"configure:274
2
: checking for dlopen in -ldl"
>
&5
echo
"configure:274
6
: checking for dlopen in -ldl"
>
&5
ac_lib_var
=
`
echo
dl
'_'
dlopen | sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2746,7 +2750,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 275
0
"configure"
#line 275
4
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -2757,7 +2761,7 @@ int main() {
dlopen()
; return 0; }
EOF
if
{
(
eval echo
configure:276
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:276
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
boehm-gc/configure.in
View file @
512e32d2
...
...
@@ -109,6 +109,7 @@ case "$THREADS" in
;;
win32)
AC_DEFINE(GC_WIN32_THREADS)
AC_DEFINE(NO_GETENV)
;;
decosf1 | irix | mach | os2 | solaris | dce | vxworks)
AC_MSG_ERROR(thread package $THREADS not yet supported)
...
...
boehm-gc/misc.c
View file @
512e32d2
...
...
@@ -499,6 +499,10 @@ void GC_init_inner()
# ifdef PRINTSTATS
GC_print_stats
=
1
;
# endif
# if defined(MSWIN32) || defined(MSWINCE)
InitializeCriticalSection
(
&
GC_write_cs
);
# endif
if
(
0
!=
GETENV
(
"GC_PRINT_STATS"
))
{
GC_print_stats
=
1
;
}
...
...
@@ -536,9 +540,6 @@ void GC_init_inner()
if
(
ALIGNMENT
>
GC_DS_TAGS
&&
EXTRA_BYTES
!=
0
)
{
GC_obj_kinds
[
NORMAL
].
ok_descriptor
=
((
word
)(
-
ALIGNMENT
)
|
GC_DS_LENGTH
);
}
# if defined(MSWIN32) || defined(MSWINCE)
InitializeCriticalSection
(
&
GC_write_cs
);
# endif
GC_setpagesize
();
GC_exclude_static_roots
(
beginGC_arrays
,
endGC_arrays
);
GC_exclude_static_roots
(
beginGC_obj_kinds
,
endGC_obj_kinds
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment