From 2c617417f4a49076e444600855a61338eac6350c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 16 Mar 2002 04:00:20 +0000 Subject: Update. 2002-03-15 Ulrich Drepper * libio/iofdopen.c (_IO_new_fdopen): Call _IO_setb to deallocate buffers if _IO_file_attach failed. * libio/fileops.c (_IO_file_open): Close file descriptor if _IO_SEEKOFF call failed. * iconv/gconv_conf.c: Add internal_function to __gconv_get_path --- configure.in | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 484614949f..2a6bef671f 100644 --- a/configure.in +++ b/configure.in @@ -1045,11 +1045,7 @@ EOF int _start (void) { return 0; } int __start (void) { return 0; } int foo (void) { return 1; } -#ifdef __i386__ -asm (".section .init_array\n\t.long foo"); -#else -# error "define appropriately for the architecture" -#endif +int (*fp) (void) __attribute__ ((section (".init_array"))) = foo; EOF if AC_TRY_COMMAND([${CC-cc} -o conftest conftest.c -static -nostartfiles -nostdlib 1>&AC_FD_CC]) -- cgit v1.2.1