aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-03-16 04:00:20 +0000
committerUlrich Drepper <drepper@redhat.com>2002-03-16 04:00:20 +0000
commit2c617417f4a49076e444600855a61338eac6350c (patch)
treee57765ee82ed0b3b02ada62f3fb9189f866b697e /configure.in
parent5241882ce2d21c23035a00d252b2c4668529fb31 (diff)
downloadglibc-2c617417f4a49076e444600855a61338eac6350c.tar
glibc-2c617417f4a49076e444600855a61338eac6350c.tar.gz
glibc-2c617417f4a49076e444600855a61338eac6350c.tar.bz2
glibc-2c617417f4a49076e444600855a61338eac6350c.zip
Update.
2002-03-15 Ulrich Drepper <drepper@redhat.com> * 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
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 1 insertions, 5 deletions
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])