Modify obstack.[hc] to avoid having to include other gnulib files
authorAlan Modra <amodra@gmail.com>
Mon, 9 Nov 2015 04:43:51 +0000 (15:13 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 9 Nov 2015 04:48:35 +0000 (15:18 +1030)
commite9f40d7d68ecc03c8c32ec0acd07c35359fdb4a3
tree98c54481e97f4b77a698ba8b4aba20edc5f9d44b
parent314dee8ea9be79a450d9f0b451619b67ebe0e017
Modify obstack.[hc] to avoid having to include other gnulib files

Using the standard gnulib obstack source requires importing quite a
lot of other files from gnulib, and requires build changes.

include/
PR gdb/17133
* obstack.h (__attribute_pure__): Expand _GL_ATTRIBUTE_PURE.
libiberty/
PR gdb/17133
* obstack.c (__alignof__): Expand alignof_type from alignof.h.
(obstack_exit_failure): Don't use exitfail.h.
(_): Include libintl.h when HAVE_LIBINTL_H and nls enabled.
Provide default.  Don't include gettext.h.
(_Noreturn): Define.
* obstacks.texi: Adjust node references to external libc info files.
include/ChangeLog
include/obstack.h
libiberty/ChangeLog
libiberty/obstack.c
libiberty/obstacks.texi