From af1680f1f9926a0662fc35a53c491d2eec1ab262 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 9 Dec 1999 01:39:16 +0000 Subject: Update. * elf/readlib.c: Include a.out.h last since the Linux/Alpha headers are not clean enough. --- elf/readlib.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'elf') diff --git a/elf/readlib.c b/elf/readlib.c index e6d0619091..abd380b9b7 100644 --- a/elf/readlib.c +++ b/elf/readlib.c @@ -24,7 +24,6 @@ modified to read some other file formats. */ -#include #include #include #include @@ -32,6 +31,7 @@ #include #include #include +#include #include #include @@ -71,7 +71,7 @@ process_file (const char *file_name, const char *lib, int *flag, char **soname, struct stat statbuf; void *file_contents; int ret; - + ElfW(Ehdr) *elf_header; struct exec *aout_header; @@ -123,7 +123,7 @@ process_file (const char *file_name, const char *lib, int *flag, char **soname, *flag = FLAG_LIBC4; goto done; } - + elf_header = (ElfW(Ehdr) *) file_contents; if (elf_header->e_ident [EI_MAG0] != ELFMAG0 || elf_header->e_ident [EI_MAG1] != ELFMAG1 @@ -157,4 +157,3 @@ process_file (const char *file_name, const char *lib, int *flag, char **soname, /* Get architecture specific version of process_elf_file. */ #include "readelflib.c" - -- cgit v1.2.3-70-g09d2