diff options
author | Alan Modra <amodra@gmail.com> | 2000-04-14 04:14:25 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-04-14 04:14:25 +0000 |
commit | 12ff5d5690066cac0467274b17afc1fbabaa04a4 (patch) | |
tree | 3355fa58a5ab1b682047c79aeabce6527ddaf5eb /binutils | |
parent | 01cc8ff856f0530ce7333a7bdac283c51b0e4f5e (diff) | |
download | gdb-12ff5d5690066cac0467274b17afc1fbabaa04a4.zip gdb-12ff5d5690066cac0467274b17afc1fbabaa04a4.tar.gz gdb-12ff5d5690066cac0467274b17afc1fbabaa04a4.tar.bz2 |
Portability fixes.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 7 | ||||
-rw-r--r-- | binutils/arlex.l | 4 | ||||
-rw-r--r-- | binutils/objdump.c | 6 | ||||
-rw-r--r-- | binutils/readelf.c | 6 |
4 files changed, 11 insertions, 12 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 71b6073..b7e2e50 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 a5ab114..b86be66 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 55e68e1..152ce1e 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; |