diff options
author | Dongsheng Song <dongsheng.song@gmail.com> | 2023-02-14 12:51:29 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2023-02-14 12:54:37 +0100 |
commit | a16fc9333f1762d9b5a9da7239fe6a5cc9a6d190 (patch) | |
tree | db4e6a44ff0bb562355897379465af4e2d5635c8 /gcc/gimplify.cc | |
parent | 994224236e0231807681b62e880d3c2772c69521 (diff) | |
download | gcc-a16fc9333f1762d9b5a9da7239fe6a5cc9a6d190.zip gcc-a16fc9333f1762d9b5a9da7239fe6a5cc9a6d190.tar.gz gcc-a16fc9333f1762d9b5a9da7239fe6a5cc9a6d190.tar.bz2 |
Fix musl build on Linux
The commit "ada: Add PIE support to backtraces on Linux" uses
_r_debug under Linux unconditionally. It is incorrect since musl
libc does not define _r_debug like glibc.
gcc/ada/
* adaint.c [Linux]: Include <features.h>.
(__gnat_get_executable_load_address) [Linux]: Enable only for
glibc and uClibc.
Diffstat (limited to 'gcc/gimplify.cc')
0 files changed, 0 insertions, 0 deletions