]> git.pld-linux.org Git - packages/crossppc-binutils.git/blobdiff - binutils-gasp.patch
- reworked. resizing section works now.
[packages/crossppc-binutils.git] / binutils-gasp.patch
index 9ff4b1331403a634b668bfb0ee94a6263667f92b..66e2403b8279bd553b4d12c75af9d8fe47413920 100644 (file)
@@ -1,7 +1,6 @@
-diff -Nur binutils-2.13.90.0.18.orig/gas/Makefile.am binutils-2.13.90.0.18/gas/Makefile.am
---- binutils-2.13.90.0.18.orig/gas/Makefile.am Sun Feb  2 03:21:17 2003
-+++ binutils-2.13.90.0.18/gas/Makefile.am      Sun Feb  2 12:25:10 2003
-@@ -197,7 +197,7 @@
+--- binutils-2.17.50.0.3/gas/Makefile.am.orig  2006-07-15 20:23:50.000000000 +0200
++++ binutils-2.17.50.0.3/gas/Makefile.am       2006-07-17 10:44:29.524440000 +0200
+@@ -192,7 +192,7 @@
        symbols.c \
        write.c
  
@@ -10,7 +9,7 @@ diff -Nur binutils-2.13.90.0.18.orig/gas/Makefile.am binutils-2.13.90.0.18/gas/M
  
  HFILES = \
        as.h \
-@@ -452,7 +452,8 @@
+@@ -441,7 +441,8 @@
  
  # Note: GASP is now deprecated and has been removed.  It is still
  # available in the CVS archive or older binutils releases if it is needed.
@@ -20,7 +19,7 @@ diff -Nur binutils-2.13.90.0.18.orig/gas/Makefile.am binutils-2.13.90.0.18/gas/M
  noinst_SCRIPTS = $(GDBINIT)
  EXTRA_SCRIPTS = .gdbinit
  
-@@ -515,6 +516,10 @@
+@@ -498,6 +499,10 @@
        as.h asintl.h bignum.h bit_fix.h config.h emul.h expr.h flonum.h \
        frags.h hash.h listing.h obj.h read.h symbols.h tc.h write.h
  
@@ -28,21 +27,21 @@ diff -Nur binutils-2.13.90.0.18.orig/gas/Makefile.am binutils-2.13.90.0.18/gas/M
 +gasp_new_LDADD = ../libiberty/libiberty.a $(INTLLIBS)
 +gasp_new_DEPENDENCIES = ../libiberty/libiberty.a $(INTLDEPS)
 +
- EXPECT = `if [ -f $${rootme}/../expect/expect ] ; then \
-           echo $${rootme}/../expect/expect ; \
-           else echo expect ; fi`
-@@ -2416,6 +2421,8 @@
-   $(INCDIR)/obstack.h subsegs.h struc-symbol.h
- write.o: write.c $(INCDIR)/symcat.h subsegs.h $(INCDIR)/obstack.h \
-   output-file.h dwarf2dbg.h
+ EXPECT = expect
+ RUNTEST = runtest
+ RUNTESTFLAGS=
+@@ -2048,6 +2053,8 @@
+   subsegs.h struc-symbol.h
+ write.o: write.c subsegs.h $(INCDIR)/obstack.h output-file.h \
+   dwarf2dbg.h
 +gasp.o: gasp.c $(INCDIR)/getopt.h $(INCDIR)/safe-ctype.h \
 +  sb.h macro.h $(INCDIR)/xregex.h $(INCDIR)/xregex2.h
- itbl-ops.o: itbl-ops.c itbl-ops.h $(INCDIR)/symcat.h
- e-crisaout.o: $(srcdir)/config/e-crisaout.c $(INCDIR)/symcat.h \
  emul-target.h
-diff -Nur binutils-2.13.90.0.18.orig/gas/doc/Makefile.am binutils-2.13.90.0.18/gas/doc/Makefile.am
---- binutils-2.13.90.0.18.orig/gas/doc/Makefile.am     Sun Feb  2 03:21:17 2003
-+++ binutils-2.13.90.0.18/gas/doc/Makefile.am  Sun Feb  2 12:35:43 2003
+ itbl-ops.o: itbl-ops.c itbl-ops.h
+ e-crisaout.o: $(srcdir)/config/e-crisaout.c emul-target.h
e-criself.o: $(srcdir)/config/e-criself.c emul-target.h
+diff -urNbB binutils-2.16.91.0.2.org/gas/doc/Makefile.am binutils-2.16.91.0.2/gas/doc/Makefile.am
+--- binutils-2.16.91.0.2.org/gas/doc/Makefile.am       2005-07-20 19:27:27.000000000 +0000
++++ binutils-2.16.91.0.2/gas/doc/Makefile.am   2005-07-21 18:31:04.000000000 +0000
 @@ -15,7 +15,7 @@
  
  man_MANS = as.1
@@ -52,9 +51,9 @@ diff -Nur binutils-2.13.90.0.18.orig/gas/doc/Makefile.am binutils-2.13.90.0.18/g
  
  asconfig.texi: $(CONFIG).texi
        rm -f asconfig.texi
-diff -Nur binutils-2.14.90.0.7.orig/gas/doc/gasp.texinfo binutils-2.14.90.0.7/gas/doc/gasp.texinfo
---- binutils-2.14.90.0.7.orig/gas/doc/gasp.texinfo     Thu Jan  1 01:00:00 1970
-+++ binutils-2.14.90.0.7/gas/doc/gasp.texinfo  Wed Oct 30 05:09:13 2002
+diff -urNbB binutils-2.16.91.0.2.org/gas/doc/gasp.texinfo binutils-2.16.91.0.2/gas/doc/gasp.texinfo
+--- binutils-2.16.91.0.2.org/gas/doc/gasp.texinfo      1970-01-01 00:00:00.000000000 +0000
++++ binutils-2.16.91.0.2/gas/doc/gasp.texinfo  2005-07-21 18:31:04.000000000 +0000
 @@ -0,0 +1,1456 @@
 +\input texinfo               @c             -*- Texinfo -*-
 +@setfilename gasp.info
@@ -1512,9 +1511,9 @@ diff -Nur binutils-2.14.90.0.7.orig/gas/doc/gasp.texinfo binutils-2.14.90.0.7/ga
 +
 +@contents
 +@bye
---- binutils-2.16.90.0.3/gas/gasp.c.orig       1970-01-01 01:00:00.000000000 +0100
-+++ binutils-2.16.90.0.3/gas/gasp.c    2005-05-12 00:24:19.559668480 +0200
-@@ -0,0 +1,3980 @@
+--- binutils-2.17.50.0.2/gas/gasp.c.orig       1970-01-01 01:00:00.000000000 +0100
++++ binutils-2.17.50.0.2/gas/gasp.c    2006-06-07 11:22:13.774440000 +0200
+@@ -0,0 +1,3999 @@
 +/* gasp.c - Gnu assembler preprocessor main program.
 +   Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
 +   Free Software Foundation, Inc.
@@ -5440,6 +5439,22 @@ diff -Nur binutils-2.14.90.0.7.orig/gas/doc/gasp.texinfo binutils-2.14.90.0.7/ga
 +  as_bad_internal (file, line, buffer);
 +}
 +
++/* Indicate assertion failure.
++   Arguments: Filename, line number, optional function name.  */
++
++void
++as_assert (const char *file, int line, const char *fn)
++{
++  fprintf (stderr, _("Internal error!\n"));
++  if (fn)
++    fprintf (stderr, _("Assertion failure in %s at %s line %d.\n"),
++           fn, file, line);
++  else
++    fprintf (stderr, _("Assertion failure at %s line %d.\n"), file, line);
++  fprintf (stderr, _("Please report this bug.\n"));
++  xexit (EXIT_FAILURE);
++}
++
 +#ifndef LEX_AT
 +/* The m88k unfortunately uses @ as a label beginner.  */
 +#define LEX_AT 0
@@ -5495,8 +5510,12 @@ diff -Nur binutils-2.14.90.0.7.orig/gas/doc/gasp.texinfo binutils-2.14.90.0.7/ga
 +  3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
 +  3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3
 +};
---- binutils-2.16.90.0.3/gas/macro.c.orig      2005-05-11 00:46:44.000000000 +0200
-+++ binutils-2.16.90.0.3/gas/macro.c   2005-05-12 00:09:50.205830352 +0200
++
++/* just a stub to satisfy unused function in sb.o */
++int do_scrub_chars (int (*get) (char*, int), char *tostart, int tolen) {}
+diff -urNbB binutils-2.16.91.0.2.org/gas/macro.c binutils-2.16.91.0.2/gas/macro.c
+--- binutils-2.16.91.0.2.org/gas/macro.c       2005-05-10 22:46:44.000000000 +0000
++++ binutils-2.16.91.0.2/gas/macro.c   2005-07-21 18:31:04.000000000 +0000
 @@ -77,8 +77,8 @@
  static int get_apost_token (int, sb *, sb *, int);
  static int sub_actual (int, sb *, sb *, struct hash_control *, int, sb *, int);
@@ -5652,9 +5671,10 @@ diff -Nur binutils-2.14.90.0.7.orig/gas/doc/gasp.texinfo binutils-2.14.90.0.7/ga
          if (err != NULL)
            break;
          if (!irpc)
---- binutils-2.16.90.0.2/gas/macro.h.orig      2005-04-29 19:50:28.000000000 +0200
-+++ binutils-2.16.90.0.2/gas/macro.h   2005-05-02 11:06:23.979151360 +0200
-@@ -80,8 +80,8 @@
+diff -urNbB binutils-2.16.91.0.2.org/gas/macro.h binutils-2.16.91.0.2/gas/macro.h
+--- binutils-2.16.91.0.2.org/gas/macro.h       2005-05-10 22:46:44.000000000 +0000
++++ binutils-2.16.91.0.2/gas/macro.h   2005-07-21 18:31:04.000000000 +0000
+@@ -90,8 +90,8 @@
  extern void macro_mri_mode (int);
  extern const char *define_macro
    (int, sb *, sb *, int (*) (sb *), char *, unsigned int, const char **);
@@ -5665,9 +5685,10 @@ diff -Nur binutils-2.14.90.0.7.orig/gas/doc/gasp.texinfo binutils-2.14.90.0.7/ga
 +extern const char *expand_irp (int, int, sb *, sb *, int (*) (sb *), int);
  
  #endif
---- binutils-2.16.90.0.2/gas/read.c.orig       2005-04-29 19:50:28.000000000 +0200
-+++ binutils-2.16.90.0.2/gas/read.c    2005-05-02 11:06:53.579651400 +0200
-@@ -550,7 +550,7 @@
+diff -urNbB binutils-2.16.91.0.2.org/gas/read.c binutils-2.16.91.0.2/gas/read.c
+--- binutils-2.16.91.0.2.org/gas/read.c        2005-06-22 20:53:34.000000000 +0000
++++ binutils-2.16.91.0.2/gas/read.c    2005-07-21 18:31:04.000000000 +0000
+@@ -555,7 +555,7 @@
    const char *err;
    macro_entry *macro;
  
@@ -5676,7 +5697,7 @@ diff -Nur binutils-2.14.90.0.7.orig/gas/doc/gasp.texinfo binutils-2.14.90.0.7/ga
      {
        if (err != NULL)
        as_bad ("%s", err);
-@@ -1978,7 +1978,7 @@
+@@ -1958,7 +1958,7 @@
  
    sb_new (&out);
  
This page took 0.072232 seconds and 4 git commands to generate.