diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-03-25 18:24:37 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-03-25 18:25:40 +0000 |
commit | 15d649f79d6b6dc336f6a32eec242b652a262a82 (patch) | |
tree | 72a77d00fd66568ba5346db5a863a98cd05ac2a8 /libphobos/src | |
parent | c7fc73ee459045edabb99816658f14f32d23bf92 (diff) | |
download | gcc-15d649f79d6b6dc336f6a32eec242b652a262a82.zip gcc-15d649f79d6b6dc336f6a32eec242b652a262a82.tar.gz gcc-15d649f79d6b6dc336f6a32eec242b652a262a82.tar.bz2 |
libstdc++: Declare malloc for freestanding
For a target with none of aligned_alloc, memalign etc. we defined our
own aligned_alloc using malloc, so we need a declaration of malloc. As
in libsupc++/new_op.cc we need to declare it ourselves for freestanding
environments.
libstdc++-v3/ChangeLog:
* libsupc++/new_opa.cc [!_GLIBCXX_HOSTED]: Declare malloc.
Diffstat (limited to 'libphobos/src')
0 files changed, 0 insertions, 0 deletions