aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2000-05-23 07:57:58 +0000
committerPhil Blundell <philb@gnu.org>2000-05-23 07:57:58 +0000
commit16ea6169ef917dc60d9b7ac0b779969499d95f0f (patch)
tree2cdf62ccf2b18c5af07b130927d739da62ea62aa
parentb11cf813d52f0f0566c895c97d7fad0d9b4a7a74 (diff)
downloadgdb-16ea6169ef917dc60d9b7ac0b779969499d95f0f.zip
gdb-16ea6169ef917dc60d9b7ac0b779969499d95f0f.tar.gz
gdb-16ea6169ef917dc60d9b7ac0b779969499d95f0f.tar.bz2
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.
-rw-r--r--binutils/ChangeLog7
-rw-r--r--binutils/arlex.l4
-rw-r--r--binutils/objdump.c6
-rw-r--r--binutils/readelf.c6
4 files changed, 11 insertions, 12 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index f2e5ee4..30887ee 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 74e13d1..2fd94da 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 6f0a63e..9ad722b 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 81d768e..3a6ab5d 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;