Portability fixes.
authorAlan Modra <amodra@gmail.com>
Fri, 14 Apr 2000 04:14:25 +0000 (04:14 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 14 Apr 2000 04:14:25 +0000 (04:14 +0000)
binutils/ChangeLog
binutils/arlex.l
binutils/objdump.c
binutils/readelf.c
gas/ChangeLog
gas/as.h

index 71b60730a7d7fc4bf44774b1c47982337741be9e..b7e2e50dc8a6a2b043e6e2de6e2359b239f057df 100644 (file)
@@ -1,3 +1,10 @@
+2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * arlex.l: Add directives to increase lex buffer size.
+
+       * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
+        already included by bucomm.h.
+
 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
 
        * readelf (dynamic_segment_mips_val): Call `sprintf', not
index 74e13d13dfe295a88589e73088694d6179363d87..2fd94da4dd82f9d84d2de07454059239faf2fc57 100644 (file)
@@ -31,6 +31,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 int linenumber;
 %}
+
+%a 10000
+%o 25000
+
 %%
 
 "ADDLIB"       { return ADDLIB; }
index a5ab114903eccb00cdd098c292824de4d318688e..b86be6652b70df563fd9b36e3e269ec236656851 100644 (file)
@@ -29,12 +29,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #include "debug.h"
 #include "budbg.h"
 
-#ifdef ANSI_PROTOTYPES
-#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
-
 /* Internal headers for the ELF .stab-dump code - sorry.  */
 #define        BYTES_IN_WORD   32
 #include "aout/aout64.h"
index 55e68e1bf7fa03b691d419c851565fe3a2327218..152ce1e937f81a44c0a083888436e80808810806 100644 (file)
 #include "bucomm.h"
 #include "getopt.h"
 
-#ifdef ANSI_PROTOTYPES
-#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
-
 char *                 program_name = "readelf";
 unsigned int           dynamic_addr;
 bfd_size_type                  dynamic_size;
index 4bbe674fa669db727076f4c9606bdc11127b3809..903d21c2c73304572f2f678f194ab78ff4403150 100644 (file)
@@ -1,3 +1,7 @@
+2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+        * as.h (SEEK_SET): Define if undefined.
+
 2000-04-13  Alan Modra  <alan@linuxcare.com.au>
 
        * config/tc-arm.c (md_apply_fix3): Don't use UL suffix on
index 2106b339ab1e627d50e22c1cf26e7caa3fd90e77..c8d37879d401baa517919250b274e50bff43a0ac 100644 (file)
--- a/gas/as.h
+++ b/gas/as.h
@@ -211,6 +211,10 @@ extern char **environ;
 #define EXIT_FAILURE 1
 #endif
 
+#ifndef SEEK_SET
+#define SEEK_SET 0
+#endif
+
 #define obstack_chunk_alloc xmalloc
 #define obstack_chunk_free xfree
 
This page took 0.036142 seconds and 4 git commands to generate.