mirror of
https://frontier.innolan.net/github/amigaos-cross-toolchain6.git
synced 2024-10-19 10:29:55 +00:00
Minimize the patch.
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
--- binutils-2.9.1/bfd/configure.host Fri May 1 08:48:05 1998
|
||||
+++ binutils-2.9.1/bfd/configure.host Sun Aug 23 00:00:00 1998
|
||||
@@ -44,6 +44,7 @@ mips*-*-sysv*) HDEFINES="-G 4" ;;
|
||||
mips*-*-riscos*) HDEFINES="-G 4" ;;
|
||||
|
||||
m68*-hp-hpux*) HDEFINES=-DHOST_HP300HPUX ;;
|
||||
+m68*-*-amigaos*) HDEFINES=-mstackextend ;;
|
||||
|
||||
*-*-solaris*) HOST_64BIT_TYPE="long long"
|
||||
HOST_U_64BIT_TYPE="unsigned long long"
|
||||
@@ -1,11 +0,0 @@
|
||||
--- binutils-2.9.1/bfd/hash.c Fri May 1 08:48:10 1998
|
||||
+++ binutils-2.9.1/bfd/hash.c Sun Aug 23 00:00:00 1998
|
||||
@@ -73,7 +73,7 @@ SUBSECTION
|
||||
The function <<bfd_hash_table_init>> take as an argument a
|
||||
function to use to create new entries. For a basic hash
|
||||
table, use the function <<bfd_hash_newfunc>>. @xref{Deriving
|
||||
- a New Hash Table Type} for why you would want to use a
|
||||
+ a New Hash Table Type}, for why you would want to use a
|
||||
different value for this argument.
|
||||
|
||||
@findex bfd_hash_allocate
|
||||
@@ -1,38 +0,0 @@
|
||||
--- binutils-2.9.1/bfd/syms.c Fri May 1 08:48:15 1998
|
||||
+++ binutils-2.9.1/bfd/syms.c Sun Aug 23 00:00:00 1998
|
||||
@@ -1062,7 +1062,7 @@ _bfd_stab_section_find_nearest_line (abf
|
||||
{
|
||||
stab = info->cached_stab;
|
||||
indexentry = info->cached_indexentry;
|
||||
- file_name = info->cached_file_name;
|
||||
+ file_name = (char *) info->cached_file_name;
|
||||
}
|
||||
else
|
||||
#endif
|
||||
@@ -1097,10 +1097,10 @@ _bfd_stab_section_find_nearest_line (abf
|
||||
return true;
|
||||
|
||||
stab = indexentry->stab + STABSIZE;
|
||||
- file_name = indexentry->file_name;
|
||||
+ file_name = (char *) indexentry->file_name;
|
||||
}
|
||||
|
||||
- directory_name = indexentry->directory_name;
|
||||
+ directory_name = (char *) indexentry->directory_name;
|
||||
str = indexentry->str;
|
||||
|
||||
for (; stab < (indexentry+1)->stab; stab += STABSIZE)
|
||||
@@ -1188,11 +1188,11 @@ _bfd_stab_section_find_nearest_line (abf
|
||||
to clobber the colon. It's OK to change the name, since the
|
||||
string is in our own local storage anyhow. */
|
||||
|
||||
- s = strchr (indexentry->function_name, ':');
|
||||
+ s = strchr ((const char *) indexentry->function_name, ':');
|
||||
if (s != NULL)
|
||||
*s = '\0';
|
||||
|
||||
- *pfnname = indexentry->function_name;
|
||||
+ *pfnname = (const char *) indexentry->function_name;
|
||||
}
|
||||
|
||||
return true;
|
||||
@@ -1,23 +0,0 @@
|
||||
--- binutils-2.9.1/gprof/configure Fri May 1 08:49:42 1998
|
||||
+++ binutils-2.9.1/gprof/configure Thu Jan 21 19:39:59 1999
|
||||
@@ -1521,8 +1901,20 @@ EOF
|
||||
;;
|
||||
esac
|
||||
|
||||
+### begin-GG-local
|
||||
+# Check for additional host specific CFLAGS.
|
||||
+echo $ac_n "checking for host dependent CFLAGS""... $ac_c" 1>&6
|
||||
+echo "configure:1908: checking for host dependent CFLAGS" >&5
|
||||
+other_host_cflags=""
|
||||
+case "${host}" in
|
||||
+ m68*-*-amigaos*) other_host_cflags="-mstackextend" ;;
|
||||
+esac
|
||||
+test -n "$other_host_cflags" && CFLAGS="$CFLAGS $other_host_cflags"
|
||||
+echo "$ac_t""$other_host_cflags" 1>&6
|
||||
+### end-GG-local
|
||||
+
|
||||
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
|
||||
echo "configure:1526: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
||||
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
||||
if test "${enable_maintainer_mode+set}" = set; then
|
||||
enableval="$enable_maintainer_mode"
|
||||
@@ -1,20 +0,0 @@
|
||||
--- binutils-2.9.1/gprof/configure.in Fri May 1 08:49:42 1998
|
||||
+++ binutils-2.9.1/gprof/configure.in Sun Aug 23 00:00:00 1998
|
||||
@@ -28,6 +28,17 @@ case "${target}" in
|
||||
;;
|
||||
esac
|
||||
|
||||
+### begin-GG-local
|
||||
+# Check for additional host specific CFLAGS.
|
||||
+AC_MSG_CHECKING(for host dependent CFLAGS)
|
||||
+other_host_cflags=""
|
||||
+case "${host}" in
|
||||
+ m68*-*-amigaos*) other_host_cflags="-mstackextend" ;;
|
||||
+esac
|
||||
+test -n "$other_host_cflags" && CFLAGS="$CFLAGS $other_host_cflags"
|
||||
+AC_MSG_RESULT($other_host_cflags)
|
||||
+### end-GG-local
|
||||
+
|
||||
AM_MAINTAINER_MODE
|
||||
AM_CYGWIN32
|
||||
AM_EXEEXT
|
||||
@@ -1,29 +0,0 @@
|
||||
--- binutils-2.9.1/libiberty/xmalloc.c Fri May 1 08:47:56 1998
|
||||
+++ binutils-2.9.1/libiberty/xmalloc.c Sun Aug 23 00:00:00 1998
|
||||
@@ -53,7 +53,7 @@ xmalloc_set_program_name (s)
|
||||
const char *s;
|
||||
{
|
||||
name = s;
|
||||
-#if ! defined (_WIN32) || defined (__CYGWIN32__)
|
||||
+#if defined (HAVE_SBRK) && (! defined (_WIN32) || defined (__CYGWIN32__))
|
||||
/* Win32 ports other than cygwin32 don't have brk() */
|
||||
if (first_break == NULL)
|
||||
first_break = (char *) sbrk (0);
|
||||
@@ -71,7 +71,7 @@ xmalloc (size)
|
||||
newmem = malloc (size);
|
||||
if (!newmem)
|
||||
{
|
||||
-#if ! defined (_WIN32) || defined (__CYGWIN32__)
|
||||
+#if defined (HAVE_SBRK) && (! defined (_WIN32) || defined (__CYGWIN32__))
|
||||
extern char **environ;
|
||||
size_t allocated;
|
||||
|
||||
@@ -109,7 +109,7 @@ xrealloc (oldmem, size)
|
||||
newmem = realloc (oldmem, size);
|
||||
if (!newmem)
|
||||
{
|
||||
-#ifndef __MINGW32__
|
||||
+#if defined (HAVE_SBRK) && !defined (__MINGW32__)
|
||||
extern char **environ;
|
||||
size_t allocated;
|
||||
|
||||
Reference in New Issue
Block a user