Changeset d44ced in git


Ignore:
Timestamp:
Nov 25, 2010, 6:00:48 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
f02645b7ff8a4ca575cbe610ebe3b06f912fee99
Parents:
488872b51cd1fa36918b12c9c2476c1edff62026
Message:
generic ELF handling

git-svn-id: file:///usr/local/Singular/svn/trunk@13672 2c84dea3-7e68-4137-9b89-c4e89433aadc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • dyn_modules/modgen/makefile.cc

    r488872b rd44ced  
    155155/*===  Machine depend Makefile creation                                ===*/
    156156/*========================================================================*/
    157 #if defined(ix86_Linux)
    158 #define HAVE_ELF_SYSTEM
    159 #endif
    160 
    161 #if defined(ix86_Linux_libc5)
    162 #define HAVE_ELF_SYSTEM
    163 #endif
    164 
    165 #if defined(ix86_freebsd)
    166 #define HAVE_ELF_SYSTEM
    167 #endif
    168 
    169 #if defined(x86_64_Linux)
    170 #define HAVE_ELF_SYSTEM
    171 #endif
    172 
    173 #if defined(IRIX_6)
    174 #define HAVE_ELF_SYSTEM
    175 #endif
    176 
    177 #if defined(sparc64_Linux)
    178 #define HAVE_ELF_SYSTEM
    179 #endif
    180 
    181 #if defined(IA64_Linux)
    182 #define HAVE_ELF_SYSTEM
    183 #endif
    184 
    185 #if defined(DecAlpha_Linux)
    186 #define HAVE_ELF_SYSTEM
    187 #endif
    188 
    189 #if defined(ppc_Linux)
     157// relying on gcc to define __ELF__, check with cpp -dM /dev/null
     158#if defined(__ELF__)
    190159#define HAVE_ELF_SYSTEM
    191160#endif
  • kernel/mod_raw.cc

    r488872b rd44ced  
    155155 *                      SunOS-5 / IRIX-6 / ppcMac-Darwin / FreeeBSD          *
    156156 *****************************************************************************/
    157 #if defined(ix86_Linux)
    158 #define HAVE_ELF_SYSTEM
    159 #endif
    160 
    161 #if defined(ix86_Linux_libc5)
    162 #define HAVE_ELF_SYSTEM
    163 #endif
    164 
    165 #if defined(DecAlpha_Linux)
    166 #define HAVE_ELF_SYSTEM
    167 #endif
    168 
    169 #if defined(IA64_Linux)
    170 #define HAVE_ELF_SYSTEM
    171 #endif
    172 
    173 #if defined(x86_64_Linux)
    174 #define HAVE_ELF_SYSTEM
    175 #endif
    176 
    177 #if defined(ppc_Linux)
    178 #define HAVE_ELF_SYSTEM
    179 #endif
    180 
    181 #if defined(hppa_Linux)
    182 #define HAVE_ELF_SYSTEM
    183 #endif
    184 
    185 #if defined(SunOS_5)
    186 #define HAVE_ELF_SYSTEM
    187 #endif
    188 
    189 #ifdef IRIX_6
    190 #define HAVE_ELF_SYSTEM
    191 #endif
    192 
    193 #ifdef ppcMac_darwin
    194 #define HAVE_ELF_SYSTEM
    195 #endif
    196 
    197 #ifdef ix86Mac_darwin
    198 #define HAVE_ELF_SYSTEM
    199 #endif
    200 
    201 #ifdef ix86_freebsd
    202 #define HAVE_ELF_SYSTEM
    203 #endif
    204 
    205 #ifdef sparc64_Linux
     157#if defined(__ELF__)
    206158#define HAVE_ELF_SYSTEM
    207159#endif
Note: See TracChangeset for help on using the changeset viewer.