diff options
| author | tb <> | 2025-08-22 15:52:34 +0000 |
|---|---|---|
| committer | tb <> | 2025-08-22 15:52:34 +0000 |
| commit | 4aac845e0aceb988af82cfe173aab071b7507a14 (patch) | |
| tree | 5500660128a8d2302b6b48e43cc8f58e779e8729 /src | |
| parent | 96e90d9a64a349db39fee395333f192f2292d1ad (diff) | |
| download | openbsd-4aac845e0aceb988af82cfe173aab071b7507a14.tar.gz openbsd-4aac845e0aceb988af82cfe173aab071b7507a14.tar.bz2 openbsd-4aac845e0aceb988af82cfe173aab071b7507a14.zip | |
Also print addresses of the _libre_ symbols
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libcrypto/symbols/symbols.awk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/symbols/symbols.awk b/src/regress/lib/libcrypto/symbols/symbols.awk index caeea1031e..253658e7a0 100644 --- a/src/regress/lib/libcrypto/symbols/symbols.awk +++ b/src/regress/lib/libcrypto/symbols/symbols.awk | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: symbols.awk,v 1.14 2025/08/22 15:49:26 tb Exp $ | 1 | # $OpenBSD: symbols.awk,v 1.15 2025/08/22 15:52:34 tb Exp $ |
| 2 | 2 | ||
| 3 | # Copyright (c) 2018,2020 Theo Buehler <tb@openbsd.org> | 3 | # Copyright (c) 2018,2020 Theo Buehler <tb@openbsd.org> |
| 4 | # | 4 | # |
| @@ -51,8 +51,12 @@ END { | |||
| 51 | 51 | ||
| 52 | printf("\t\};\n\n") | 52 | printf("\t\};\n\n") |
| 53 | 53 | ||
| 54 | printf("\tfor (i = 0; i < sizeof(symbols) / sizeof(symbols[0]); i++)\n") | 54 | printf("\tfor (i = 0; i < sizeof(symbols) / sizeof(symbols[0]); i++) {\n") |
| 55 | printf("\t\tfprintf(stderr, \"%%s: %%p\\n\", symbols[i].name, symbols[i].addr);\n") | 55 | printf("\t\tfprintf(stderr, \"%%s: %%p\\n\", symbols[i].name, symbols[i].addr);\n") |
| 56 | printf("#if defined(USE_LIBRESSL_NAMESPACE)\n") | ||
| 57 | printf("\t\tfprintf(stderr, \"_libre_%%s: %%p\\n\", symbols[i].name, symbols[i].libre_addr);\n") | ||
| 58 | printf("#endif\n") | ||
| 59 | printf("\t}\n") | ||
| 56 | printf("\n\tprintf(\"OK\\n\");\n") | 60 | printf("\n\tprintf(\"OK\\n\");\n") |
| 57 | printf("\n\treturn 0;\n}\n") | 61 | printf("\n\treturn 0;\n}\n") |
| 58 | } | 62 | } |
