diff --git a/bfd/configure b/bfd/configure index ebda3f7..a0bc830 100755 --- a/bfd/configure +++ b/bfd/configure @@ -3468,7 +3468,7 @@ bfd_version=`echo "${VERSION}" | sed -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\ bfd_version_string="\"${VERSION}\"" if test x${is_release} = x; then bfd_version_date=`sed -n -e 's/.*DATE //p' < ${srcdir}/version.h` - bfd_version_string="\"${VERSION} ${bfd_version_date} (AmigaOS build 20070520)\"" + bfd_version_string="\"${VERSION} ${bfd_version_date} (AmigaOS build 20080224)\"" fi diff --git a/bfd/configure.in b/bfd/configure.in index e7b624f..777faa1 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -18,7 +18,7 @@ changequote([,])dnl bfd_version_string="\"${VERSION}\"" if test x${is_release} = x; then bfd_version_date=`sed -n -e 's/.*DATE //p' < ${srcdir}/version.h` - bfd_version_string="\"${VERSION} ${bfd_version_date} (AmigaOS build 20070520)\"" + bfd_version_string="\"${VERSION} ${bfd_version_date} (AmigaOS build 20080224)\"" fi AC_SUBST(bfd_version) AC_SUBST(bfd_version_string) diff --git a/binutils/strings.c b/binutils/strings.c index b5e88d0..682b817 100644 --- a/binutils/strings.c +++ b/binutils/strings.c @@ -98,7 +98,11 @@ extern int errno; #define DATA_FLAGS (SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS) #ifdef HAVE_FOPEN64 +#if defined(__amigaos4__) +typedef _off64_t file_off; +#else typedef off64_t file_off; +#endif #define file_open(s,m) fopen64(s, m) #else typedef off_t file_off; diff --git a/include/libiberty.h b/include/libiberty.h index 676ceab..9f04681 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -74,7 +74,7 @@ extern char **dupargv PARAMS ((char **)) ATTRIBUTE_MALLOC; to find the declaration so provide a fully prototyped one. If it is 1, we found it so don't provide any declaration at all. */ #if !HAVE_DECL_BASENAME -#if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__NetBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__) || defined (HAVE_DECL_BASENAME) +#if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__NetBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__) || defined(AMIGA) || defined (HAVE_DECL_BASENAME) extern char *basename PARAMS ((const char *)); #else extern char *basename (); diff --git a/libiberty/lrealpath.c b/libiberty/lrealpath.c index b001b38..f9b930b 100644 --- a/libiberty/lrealpath.c +++ b/libiberty/lrealpath.c @@ -66,6 +66,12 @@ extern char *canonicalize_file_name (const char *); # endif #endif +/* OS4 does not have _PC_PATH_MAX so we use the + REALPATH_LIMIT method only */ +#if defined(__amigaos4__) +#undef HAVE_REALPATH +#endif + char * lrealpath (filename) const char *filename;