Skip to content

Commit 9e1d8d0

Browse files
committed
Switch __PICOLIBC_CRT_RUNTIME_SIZE to __PICOCRT_RUNTIME_SIZE
Use more consistent naming for this option Signed-off-by: Keith Packard <[email protected]>
1 parent de9f22c commit 9e1d8d0

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ set(__OBSOLETE_MATH_FLOAT ON)
284284
set(__OBSOLETE_MATH_DOUBLE ON)
285285

286286
# Compute static memory area sizes at runtime instead of link time
287-
set(__PICOLIBC_CRT_RUNTIME_SIZE OFF)
287+
set(__PICOCRT_RUNTIME_SIZE OFF)
288288

289289
if(NOT DEFINED __SINGLE_THREAD)
290290
option(__SINGLE_THREAD "Disable multithreading support" OFF)

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1433,7 +1433,7 @@ endif
14331433
if enable_picocrt
14341434
conf_data.set('__PICOCRT_ENABLE_MMU', picocrt_enable_mmu,
14351435
description: 'Turn on mmu in picocrt startup code')
1436-
conf_data.set('__PICOLIBC_CRT_RUNTIME_SIZE',
1436+
conf_data.set('__PICOCRT_RUNTIME_SIZE',
14371437
get_option('crt-runtime-size'),
14381438
description: 'Compute static memory area sizes at runtime instead of link time')
14391439
endif

newlib/libc/picolib/inittls.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ extern char __tdata_end[]; /* End of static tdata area */
5151
extern char __tbss_start[]; /* Start of static zero-initialized TLS data */
5252
extern char __tbss_end[]; /* End of static zero-initialized TLS data */
5353

54-
#ifdef __PICOLIBC_CRT_RUNTIME_SIZE
54+
#ifdef __PICOCRT_RUNTIME_SIZE
5555
#define __tdata_size (__tdata_end - __tdata_start)
5656
#define __tbss_size (__tbss_end - __tbss_start)
5757
#define __tbss_offset (__tbss_start - __tdata_start)

picocrt/crt0.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ extern char __tls_base[];
4949
extern char __tdata_end[];
5050
extern char __tls_end[];
5151

52-
#ifdef __PICOLIBC_CRT_RUNTIME_SIZE
52+
#ifdef __PICOCRT_RUNTIME_SIZE
5353
#define __data_size (__data_end - __data_start)
5454
#define __bss_size (__bss_end - __bss_start)
5555
#endif

picolibc.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
#define __OBSOLETE_MATH_DOUBLE @__OBSOLETE_MATH_DOUBLE@
172172

173173
/* Compute static memory area sizes at runtime instead of link time */
174-
#cmakedefine __PICOLIBC_CRT_RUNTIME_SIZE
174+
#cmakedefine __PICOCRT_RUNTIME_SIZE
175175

176176
/* The Picolibc minor version number. */
177177
#define __PICOLIBC_MINOR__ @PROJECT_VERSION_MINOR@

0 commit comments

Comments
 (0)