Portability fixes.

This commit is contained in:
Alan Modra 2000-04-14 04:14:25 +00:00
parent 01cc8ff856
commit 12ff5d5690
6 changed files with 19 additions and 12 deletions

View 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

View 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; }

View 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"

View File

@ -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;

View 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

View File

@ -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