diff options
author | jsturm <jsturm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-17 03:24:50 +0000 |
---|---|---|
committer | jsturm <jsturm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-17 03:24:50 +0000 |
commit | e064b2d637514779061017c4dc1a19061d1c1c69 (patch) | |
tree | 8b76cba31f1da01ca75cbd4757362900e10e882d /boehm-gc/include | |
parent | fccd796a15d21307aa3e51c857a661f630199f2c (diff) | |
download | gcc-e064b2d637514779061017c4dc1a19061d1c1c69.tar.gz |
* dyn_load.c: Define ElfW (if needed) for all targets,
not just GNU/Linux.
(GC_FirstDLOpenedLinkMap): Use it.
(GC_register_dynamic_libraries_dl): Use it.
* include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS
for sparcv9.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48086 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/include')
-rw-r--r-- | boehm-gc/include/private/gcconfig.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h index 4334dbd29e4..75405dcd7af 100644 --- a/boehm-gc/include/private/gcconfig.h +++ b/boehm-gc/include/private/gcconfig.h @@ -715,6 +715,8 @@ # define MACH_TYPE "SPARC" # if defined(__arch64__) || defined(__sparcv9) # define ALIGNMENT 8 +# define CPP_WORDSZ 64 +# define ELF_CLASS ELFCLASS64 # else # define ALIGNMENT 4 /* Required by hardware */ # endif |