Searched hist:ab0255a70fa451bd3fa1a68aaf459d020e01a18f (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/lib/aarch64/ |
| H A D | armclang_printf.S | ab0255a70fa451bd3fa1a68aaf459d020e01a18f Tue Jul 22 18:28:32 UTC 2025 Arvind Ram Prakash <arvind.ramprakash@arm.com> feat(libc): add __2snprintf alias for armclang-specific name mangling
The Arm Compiler (armclang) toolchain replaces standard library calls like `snprintf` with renamed versions such as `__2snprintf` in generated object files and binaries. This name mangling is part of armclang’s internal handling of standard functions and can lead to undefined reference errors if these symbols are not defined.
To resolve this, this patch introduces a new assembly stub for `__2snprintf` in AArch64-specific implementation. This stub is a minimal alias that branch directly to the underlying `snprintf` implementation. This mirrors the existing solution for `__0printf`, `__1printf`, and `__2printf` aliases that redirect to `printf`.
Signed-off-by: Arvind Ram Prakash <arvind.ramprakash@arm.com> Change-Id: Id64d490fc3ff19ae619af03279f30338e8aa8bba
|