From df48d0f90234e218c5d3a0cd10972a8952391c2d Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 4 Oct 2022 23:52:57 +0000 Subject: [PATCH] Add riscv64 to the map files. The alternative would be to define an "lp64" shorthand like we have for SYSCALLS.TXT, but since this functionality is only used by bionic and old frameworks code to document historical oddities, it's unclear that it's worth implementing. We shouldn't ever need architecture-specific annotations again in future. Signed-off-by: Mao Han Signed-off-by: Xia Lifang Signed-off-by: Chen Guoyin Signed-off-by: Wang Chen Signed-off-by: Lu Xufan Test: treehugger Change-Id: Id64b1746e7490b2d7ad3e4627e9908c28f8f23ba --- libc/libc.map.txt | 46 +++++++++++++++++++++--------------------- libc/libstdc++.map.txt | 8 ++++---- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/libc/libc.map.txt b/libc/libc.map.txt index e8d03b9ee..7bcee9d40 100644 --- a/libc/libc.map.txt +++ b/libc/libc.map.txt @@ -680,28 +680,28 @@ LIBC { nftw64; # introduced=21 nice; nrand48; - ns_format_ttl; # arm64 x86_64 introduced=22 - ns_get16; # arm64 x86_64 introduced=22 - ns_get32; # arm64 x86_64 introduced=22 - ns_initparse; # arm64 x86_64 introduced=22 - ns_makecanon; # arm64 x86_64 introduced=22 - ns_msg_getflag; # arm64 x86_64 introduced=22 - ns_name_compress; # arm64 x86_64 introduced=22 - ns_name_ntol; # arm64 x86_64 introduced=22 - ns_name_ntop; # arm64 x86_64 introduced=22 - ns_name_pack; # arm64 x86_64 introduced=22 - ns_name_pton; # arm64 x86_64 introduced=22 - ns_name_rollback; # arm64 x86_64 introduced=22 - ns_name_skip; # arm64 x86_64 introduced=22 - ns_name_uncompress; # arm64 x86_64 introduced=22 - ns_name_unpack; # arm64 x86_64 introduced=22 - ns_parserr; # arm64 x86_64 introduced=22 - ns_put16; # arm64 x86_64 introduced=22 - ns_put32; # arm64 x86_64 introduced=22 - ns_samename; # arm64 x86_64 introduced=22 - ns_skiprr; # arm64 x86_64 introduced=22 - ns_sprintrr; # arm64 x86_64 introduced=22 - ns_sprintrrf; # arm64 x86_64 introduced=22 + ns_format_ttl; # arm64 x86_64 riscv64 introduced=22 + ns_get16; # arm64 x86_64 riscv64 introduced=22 + ns_get32; # arm64 x86_64 riscv64 introduced=22 + ns_initparse; # arm64 x86_64 riscv64 introduced=22 + ns_makecanon; # arm64 x86_64 riscv64 introduced=22 + ns_msg_getflag; # arm64 x86_64 riscv64 introduced=22 + ns_name_compress; # arm64 x86_64 riscv64 introduced=22 + ns_name_ntol; # arm64 x86_64 riscv64 introduced=22 + ns_name_ntop; # arm64 x86_64 riscv64 introduced=22 + ns_name_pack; # arm64 x86_64 riscv64 introduced=22 + ns_name_pton; # arm64 x86_64 riscv64 introduced=22 + ns_name_rollback; # arm64 x86_64 riscv64 introduced=22 + ns_name_skip; # arm64 x86_64 riscv64 introduced=22 + ns_name_uncompress; # arm64 x86_64 riscv64 introduced=22 + ns_name_unpack; # arm64 x86_64 riscv64 introduced=22 + ns_parserr; # arm64 x86_64 riscv64 introduced=22 + ns_put16; # arm64 x86_64 riscv64 introduced=22 + ns_put32; # arm64 x86_64 riscv64 introduced=22 + ns_samename; # arm64 x86_64 riscv64 introduced=22 + ns_skiprr; # arm64 x86_64 riscv64 introduced=22 + ns_sprintrr; # arm64 x86_64 riscv64 introduced=22 + ns_sprintrrf; # arm64 x86_64 riscv64 introduced=22 nsdispatch; ntohl; # introduced=21 ntohs; # introduced=21 @@ -740,7 +740,7 @@ LIBC { pread; pread64; # introduced-arm=12 introduced-arm64=21 introduced-x86=12 introduced-x86_64=21 printf; - prlimit; # arm64 x86_64 + prlimit; # arm64 x86_64 riscv64 prlimit64; # introduced=21 process_vm_readv; # introduced=23 process_vm_writev; # introduced=23 diff --git a/libc/libstdc++.map.txt b/libc/libstdc++.map.txt index bb7040fab..8af3b91d0 100644 --- a/libc/libstdc++.map.txt +++ b/libc/libstdc++.map.txt @@ -7,12 +7,12 @@ LIBC_O { _ZdlPvRKSt9nothrow_t; # weak _Znaj; # arm x86 weak _ZnajRKSt9nothrow_t; # arm x86 weak - _Znam; # arm64 x86_64 weak - _ZnamRKSt9nothrow_t; # arm64 x86_64 weak + _Znam; # arm64 x86_64 riscv64 weak + _ZnamRKSt9nothrow_t; # arm64 x86_64 riscv64 weak _Znwj; # arm x86 weak _ZnwjRKSt9nothrow_t; # arm x86 weak - _Znwm; # arm64 x86_64 weak - _ZnwmRKSt9nothrow_t; # arm64 x86_64 weak + _Znwm; # arm64 x86_64 riscv64 weak + _ZnwmRKSt9nothrow_t; # arm64 x86_64 riscv64 weak __cxa_guard_abort; __cxa_guard_acquire; __cxa_guard_release;