This patchset imports new obstack support to libiberty, to better support 64-bit systems, and fix an old gdb bug. Most of the necessary changes outside of libiberty were committed October last year, but a few more incompatibilities have crept in since then. The first three patches fix these problems. Patch 4 does the import from gnulib, and edits the docs as if they had been imported from glibc. Patch 5 makes modifications for libiberty. Patch 6 is a warning fix that I'll see about pushing upstream, and finally, patch 7 supplies a define used to determine whether libiberty needs obstack.o.
The cumulative patch series was bootstrapped and regression tested on x86_64-linux, and also after just the first three patches. Alan Modra (7): New obstack_next_free is not an lvalue Correct libvtv obstack use Update libsanitizer obstack interceptors Copy gnulib obstack files Modify obstack.[hc] to avoid having to include other gnulib files Silence obstack.c -Wc++compat warning Configury changes for obstack optimization gcc/gensupport.c | 9 +- gcc/objc/objc-encoding.c | 10 +- include/obstack.h | 910 ++++++++++----------- libiberty/configure | 58 ++ libiberty/configure.ac | 1 + libiberty/obstack.c | 570 +++++-------- libiberty/obstacks.texi | 257 +++--- libsanitizer/Makefile.in | 1 + libsanitizer/asan/Makefile.am | 2 +- libsanitizer/asan/Makefile.in | 3 +- libsanitizer/configure | 38 +- libsanitizer/configure.ac | 24 + libsanitizer/interception/Makefile.in | 1 + libsanitizer/libbacktrace/Makefile.in | 1 + libsanitizer/lsan/Makefile.in | 1 + libsanitizer/sanitizer_common/Makefile.in | 1 + .../sanitizer_common_interceptors.inc | 14 +- libsanitizer/tsan/Makefile.am | 2 +- libsanitizer/tsan/Makefile.in | 3 +- libsanitizer/ubsan/Makefile.in | 1 + libvtv/vtv_malloc.cc | 7 +- 21 files changed, 957 insertions(+), 957 deletions(-)