diff options
author | stijn <stinos@zoho.com> | 2015-01-08 10:32:45 +0100 |
---|---|---|
committer | stijn <stinos@zoho.com> | 2015-01-08 15:29:44 +0100 |
commit | afd6c8e1d2a2c24595194879481987cec3b57f8a (patch) | |
tree | 918ec7c40ee16d00c7f085a853b6f6e2e1010247 /windows/mpconfigport.h | |
parent | 181bfb6db2a089442e5b3d38d68b1236b8aa0eb0 (diff) | |
download | micropython-afd6c8e1d2a2c24595194879481987cec3b57f8a.tar.gz micropython-afd6c8e1d2a2c24595194879481987cec3b57f8a.zip |
Remove obsolete bss-related code/build features
GC for unix/windows builds doesn't make use of the bss section anymore,
so we do not need the (sometimes complicated) build features and code related to it
Diffstat (limited to 'windows/mpconfigport.h')
-rw-r--r-- | windows/mpconfigport.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/windows/mpconfigport.h b/windows/mpconfigport.h index 939010343a..aede68e21f 100644 --- a/windows/mpconfigport.h +++ b/windows/mpconfigport.h @@ -166,7 +166,8 @@ void msec_sleep(double msec); #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) -// Put static/global variables in sections with a known name we can lookup for the GC +// Put static/global variables in sections with a known name +// This used to be required for GC, not the case anymore but keep it as it makes the map file easier to inspect // For this to work this header must be included by all sources, which is the case normally #define MICROPY_PORT_DATASECTION "upydata" #define MICROPY_PORT_BSSSECTION "upybss" @@ -183,8 +184,3 @@ void msec_sleep(double msec); int snprintf(char *dest, size_t count, const char *format, ...); #endif - -// MingW specifics -#ifdef __MINGW32__ -#define MICROPY_PORT_BSSSECTION ".bss" -#endif |