From f0bbf79aea89403d07798c118e640bb6e8f26c70 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 7 Aug 1996 18:30:39 +0000 Subject: [PATCH] Wed Aug 7 14:27:33 1996 Philippe De Muyter * configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk. * acconfig.h (NEED_DECLARATION_STRSTR): New macro. (NEED_DECLARATION_SBRK): New macro. * configure, config.in: Rebuild. * bucomm.h (strstr): Declare if NEED_DECLARATION_STRSTR. (sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK. --- binutils/ChangeLog | 12 ++++++++++++ binutils/acconfig.h | 6 ++++++ 2 files changed, 18 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index ee48db67dbe..11bc72234eb 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,15 @@ +Wed Aug 7 14:27:33 1996 Philippe De Muyter + + * configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk. + * acconfig.h (NEED_DECLARATION_STRSTR): New macro. + (NEED_DECLARATION_SBRK): New macro. + * configure, config.in: Rebuild. + * bucomm.h (strstr): Declare if NEED_DECLARATION_STRSTR. + (sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK. + + * prdbg.c (pr_end_struct_type): Avoid using a string constant in + assert, for the benefit of broken assert macros. + Fri Jul 26 14:06:50 1996 Ian Lance Taylor * objdump.c (disassemble_data): Set disasm_info.flavour from diff --git a/binutils/acconfig.h b/binutils/acconfig.h index bcd47f05b66..a3e0eabae12 100644 --- a/binutils/acconfig.h +++ b/binutils/acconfig.h @@ -1,6 +1,12 @@ +/* Whether strstr must be declared even if is included. */ +#undef NEED_DECLARATION_STRSTR + /* Whether fprintf must be declared even if is included. */ #undef NEED_DECLARATION_FPRINTF + +/* Whether sbrk must be declared even if is included. */ +#undef NEED_DECLARATION_SBRK @TOP@ /* Is the type time_t defined in ? */ -- 2.30.2