From 12696e9cb51a6042a0b3ac77b9324a5f47e0c8b1 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sat, 30 Oct 1993 21:29:29 +0000 Subject: [PATCH] * config/ho-hppabsd.h: Delete IO* macros, they are defined in stdio.h. Delete declaration of free. Include stdlib.h, unistd.h, and string.h. --- gas/ChangeLog | 23 +++++++++++++++++++++++ gas/config/ho-hppabsd.h | 25 ++++++------------------- 2 files changed, 29 insertions(+), 19 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 18f0476f48..85d5c9e29d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,28 @@ +Sat Oct 30 14:26:20 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * config/ho-hppabsd.h: Delete IO* macros, they are defined in + stdio.h. Delete declaration of free. Include stdlib.h, unistd.h, + and string.h. + Fri Oct 29 13:26:12 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * Allow backends to override the section names used for embedded + stabs support. Needed for SOM. + * read.c (STAB_SECTION_NAME): Default the name of the stab section + to ".stab". + (STAB_STRING_SECTION_NAME): Likewise for the stab strings section. + (get_stab_string_offset): Is now passed the full name for the + stab string section rather than a name prefix. All references + changed. + (s_stab_generic): New argument for the stab string section name. + all references changed. + (s_xstab): Append "str" to the stab section name to get the + stab string section name. + * config/obj-coffbfd.c (obj_coff_init_stab_section): Append "str" + to stab section name to get the stab string section name. Pass + the full name of the stab string section to get_stab_string_offset. + * config/obj-elf.c (obj_elf_init_stab_section): Likewise. + * config/tc-hppa.c (md_begin): Disable "-R" option to fold textand data segments. Warn user "-R" is unsupported on the PA. diff --git a/gas/config/ho-hppabsd.h b/gas/config/ho-hppabsd.h index 75d4c9dd3d..89776342ac 100644 --- a/gas/config/ho-hppabsd.h +++ b/gas/config/ho-hppabsd.h @@ -17,10 +17,8 @@ along with GAS; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* - HP PA-RISC and BSD support was contributed by the Center for - Software Science at the University of Utah. - */ +/* HP PA-RISC and BSD support was contributed by the Center for + Software Science at the University of Utah. */ #define M_HPPABSD 1 @@ -28,25 +26,14 @@ #define NO_STDARG #endif /* not ansi */ -/* XXX These should actually appear in stdio.h */ -#ifndef _IOFBF -#define _IOFBF 0 /* setvbuf should set fully buffered */ -#endif - -#ifndef _IOLBF -#define _IOLBF 1 /* setvbuf should set line buffered */ -#endif - -#ifndef _IONBF -#define _IONBF 2 /* setvbuf should set unbuffered */ -#endif - #define HAVE_STRERROR extern int errno; -extern void free(); - #include +#include +#include +#include + /* SKV 12/08/92. Include correctly configured declaration of alloca. */ -- 2.34.1