Skip to content

Commit 7dfb19b

Browse files
rename libc/crt selection back
1 parent 1bb4a19 commit 7dfb19b

116 files changed

Lines changed: 140 additions & 150 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/static/makefile-options.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ These flags are passed directly to the GNU linker (ld).
115115
116116
EXTRA_LDFLAGS =
117117
118-
.. rubric:: PREFER_CE_CRT
118+
.. rubric:: PREFER_OS_CRT
119119

120120
Prefer the calculator's builtin CRT (Compiler-Run-Time) functions if they exist.
121121
This can help to decrease the output size in some circumstances, as a select number of CRT functions will execute from flash.
@@ -135,15 +135,15 @@ To avoid this, set this option to :code:`YES`.
135135
136136
PREFER_OS_CRT = NO
137137
138-
.. rubric:: PREFER_CE_LIBC
138+
.. rubric:: PREFER_OS_LIBC
139139

140140
Prefer the calculator's builtin LIBC functions if they exist.
141141
This can help to decrease the output size in some circumstances, as a select number of LIBC functions will execute from flash.
142142
Default: :code:`YES`.
143143

144144
.. code-block:: makefile
145145
146-
PREFER_CE_LIBC = YES
146+
PREFER_OS_LIBC = YES
147147
148148
.. rubric:: LIBLOAD_OPTIONAL
149149

src/crt/and.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
.section .text
66
.global __iand
77

8-
.ifdef PREFER_CE_CRT
8+
.ifdef PREFER_OS_CRT
99

1010
.set __land, 0x0001A4
1111
.set __iand, 000134h

src/crt/bshl.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.global __bshl
55
.type __bshl, @function
66

7-
.ifdef PREFER_CE_CRT
7+
.ifdef PREFER_OS_CRT
88

99
.set __bshl, 0x000100
1010

src/crt/bshru.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.global __bshru
55
.type __bshru, @function
66

7-
.ifdef PREFER_CE_CRT
7+
.ifdef PREFER_OS_CRT
88

99
.set __bshru, 0x000104
1010

src/crt/idivs.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.global __idivs
55
.type __idivs, @function
66

7-
.ifdef PREFER_CE_CRT
7+
.ifdef PREFER_OS_CRT
88

99
.set __idivs, 0x00013C
1010

src/crt/idivu.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.global __idivu
55
.type __idivu, @function
66

7-
.ifdef PREFER_CE_CRT
7+
.ifdef PREFER_OS_CRT
88

99
.set __idivu, 0x000140
1010

src/crt/idvrmu.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.global __idvrmu
55
.type __idvrmu, @function
66

7-
.ifdef PREFER_CE_CRT
7+
.ifdef PREFER_OS_CRT
88

99
.set __idvrmu, 0x000144
1010

src/crt/imulu.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
.global __imulu
77
.type __imulu, @function
88

9-
.ifdef PREFER_CE_CRT
9+
.ifdef PREFER_OS_CRT
1010

1111
.set __imuls, 0x000154
1212
.set __imulu, 0x000158

src/crt/imulu_b.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
.global __imulu_b
88
.type __imulu_b, @function
99

10-
.ifdef PREFER_CE_CRT
10+
.ifdef PREFER_OS_CRT
1111

1212
.set __imul_b, 0x000150
1313
.set __imulu_b, __imul_b

src/crt/ineg.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
.global __sneg
77
.type __sneg, @function
88

9-
.ifdef PREFER_CE_CRT
9+
.ifdef PREFER_OS_CRT
1010

1111
.set __ineg, 0x000160
1212
.set __sneg, 0x00022C

0 commit comments

Comments
 (0)