Skip to content

Commit d1d5fc3

Browse files
[libc] fix up strings.h entrypoints (#119417)
I typo'd riscv, and the newly added baremetal aarch64 entrypoints had a mid air collision. Link: #118691 Link: #118899
1 parent 1bf1e5f commit d1d5fc3

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

libc/config/baremetal/aarch64/entrypoints.txt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ set(TARGET_LIBC_ENTRYPOINTS
3131
libc.src.setjmp.setjmp
3232

3333
# string.h entrypoints
34-
libc.src.string.bcmp
35-
libc.src.string.bcopy
36-
libc.src.string.bzero
37-
libc.src.string.index
3834
libc.src.string.memccpy
3935
libc.src.string.memchr
4036
libc.src.string.memcmp
@@ -45,10 +41,8 @@ set(TARGET_LIBC_ENTRYPOINTS
4541
libc.src.string.memrchr
4642
libc.src.string.memset
4743
libc.src.string.memset_explicit
48-
libc.src.string.rindex
4944
libc.src.string.stpcpy
5045
libc.src.string.stpncpy
51-
libc.src.string.strcasecmp
5246
libc.src.string.strcasestr
5347
libc.src.string.strcat
5448
libc.src.string.strchr
@@ -62,7 +56,6 @@ set(TARGET_LIBC_ENTRYPOINTS
6256
libc.src.string.strlcat
6357
libc.src.string.strlcpy
6458
libc.src.string.strlen
65-
libc.src.string.strncasecmp
6659
libc.src.string.strncat
6760
libc.src.string.strncmp
6861
libc.src.string.strncpy
@@ -76,6 +69,15 @@ set(TARGET_LIBC_ENTRYPOINTS
7669
libc.src.string.strtok_r
7770
libc.src.string.strxfrm
7871

72+
# strings.h entrypoints
73+
libc.src.strings.bcmp
74+
libc.src.strings.bcopy
75+
libc.src.strings.bzero
76+
libc.src.strings.index
77+
libc.src.strings.rindex
78+
libc.src.strings.strcasecmp
79+
libc.src.strings.strncasecmp
80+
7981
# inttypes.h entrypoints
8082
libc.src.inttypes.imaxabs
8183
libc.src.inttypes.imaxdiv

libc/config/linux/riscv/entrypoints.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ set(TARGET_LIBC_ENTRYPOINTS
8787
libc.src.string.strxfrm
8888

8989
# strings.h entrypoints
90-
libc.src.string.index
91-
libc.src.string.rindex
90+
libc.src.strings.index
91+
libc.src.strings.rindex
9292
libc.src.strings.bcmp
9393
libc.src.strings.bcopy
9494
libc.src.strings.bzero

0 commit comments

Comments
 (0)