summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-09 01:39:16 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-09 01:39:16 +0000
commitaf1680f1f9926a0662fc35a53c491d2eec1ab262 (patch)
treeae7d3277c18194231c558f8ef146ff5d8628c684 /elf
parentd587d83bd9825c431456774321bfd0d5eabe7fee (diff)
downloadglibc-af1680f1f9926a0662fc35a53c491d2eec1ab262.tar.gz
glibc-af1680f1f9926a0662fc35a53c491d2eec1ab262.tar.xz
glibc-af1680f1f9926a0662fc35a53c491d2eec1ab262.zip
Update.
	* elf/readlib.c: Include a.out.h last since the Linux/Alpha
	headers are not clean enough.
Diffstat (limited to 'elf')
-rw-r--r--elf/readlib.c7
1 files changed, 3 insertions, 4 deletions
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 <a.out.h>
 #include <elf.h>
 #include <error.h>
 #include <link.h>
@@ -32,6 +31,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
+#include <a.out.h>
 
 #include <sys/mman.h>
 #include <sys/stat.h>
@@ -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"
-