summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog7
-rw-r--r--binutils/arlex.l4
-rw-r--r--binutils/objdump.c6
-rw-r--r--binutils/readelf.c6
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/as.h4
6 files changed, 19 insertions, 12 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 71b60730a7..b7e2e50dc8 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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
diff --git a/binutils/arlex.l b/binutils/arlex.l
index 74e13d13df..2fd94da4dd 100644
--- a/binutils/arlex.l
+++ b/binutils/arlex.l
@@ -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; }
diff --git a/binutils/objdump.c b/binutils/objdump.c
index a5ab114903..b86be6652b 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -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"
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 55e68e1bf7..152ce1e937 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -74,12 +74,6 @@
#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;
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 4bbe674fa6..903d21c2c7 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/as.h b/gas/as.h
index 2106b339ab..c8d37879d4 100644
--- 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