All platforms return the main executable as the first dl_phdr_info.
FreeBSD, NetBSD, Solaris, and Linux-musl place the executable name
in the dlpi_name field of this entry. It appears that only Linux-glibc
uses the empty string.
To make this work generically on all platforms, unconditionally
skip
=commit;h=b67399b4
2021-05-23 Michael Forney
config/ChangeLog:
* gettext.m4 (AM_GNU_GETTEXT): Skip checks for the internal
symbols _nl_msg_cat_cntr, _nl_domain_bindings, and
_nl_expand_alias, if __GNU_GETTEXT_SUPPORTED_REVISION is defined.
Backport of gettext
This contains the necessary sysroot flags if configured with
--with-build-sysroot, and matches the corresponding value for CC
in POSTSTAGE1_HOST_EXPORTS.
2020-03-25 Michael Forney
* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Add XGCC_FLAGS_FOR_TARGET
and TFLAGS to CXX
VLAs are optional in C11, and an implementation that does not support
them will define __STDC_NO_VLA__ to 1.
2019-05-30 Michael Forney
* cp-demangle.c: Don't define CP_DYNAMIC_ARRAYS if __STDC_NO_VLA__
is non-zero.
---
libiberty/cp-demangle.c | 4 ++--
1 file chang
gcc/configure needs this to generate auto-build.h using the right C++
compiler.
2019-06-18 Michael Forney
* Makefile.tpl (HOST_EXPORTS): Add CXX_FOR_BUILD.
* Makefile.in: Regenerate.
---
I ran into this since I needed to pass some special flags to the build
C++ compiler for
).
2019-04-22 Michael Forney
* libiberty.h (vasprintf): Don't declare if HAVE_DECL_VASPRINTF
is not defined.
---
include/libiberty.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/libiberty.h b/include/libiberty.h
index 57476135026..e11aa9