projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2660a2
)
Use _init and etext on NetBSD to find the text segment's bounds.
author
Taylor R Campbell
<campbell@mumble.net>
Fri, 23 Jul 2010 18:33:32 +0000
(18:33 +0000)
committer
Taylor R Campbell
<campbell@mumble.net>
Fri, 23 Jul 2010 18:33:32 +0000
(18:33 +0000)
src/microcode/uxtrap.h
patch
|
blob
|
history
diff --git
a/src/microcode/uxtrap.h
b/src/microcode/uxtrap.h
index 51f820829920856b5e5e45b7a38efccc1194cbdd..ed6a3ef5e94e6ac18bc4ddcbb9c5dc63f7744c32 100644
(file)
--- a/
src/microcode/uxtrap.h
+++ b/
src/microcode/uxtrap.h
@@
-795,7
+795,7
@@
typedef struct
extern int _etext;
#endif
-#if
def __linux__
+#if
defined(__linux__) || defined(__NetBSD__)
extern unsigned int _init;
extern unsigned int etext;
# define ADDRESS_UCODE_P(addr) \