1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-10-12 19:04:54 +03:00

x86: Rename readelflib.c

Rename linux/i386/readelflib.c to linux/x86/readelflib.c and remove
x86_64/readelflib.c.
This commit is contained in:
H.J. Lu
2020-12-04 12:24:39 -08:00
parent f4f3b09111
commit 088e962537
2 changed files with 2 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ process_elf_file (const char *file_name, const char *lib, int *flag,
/* X32 libraries are always libc.so.6+. */
file_flag = FLAG_X8664_LIBX32|FLAG_ELF_LIBC6;
break;
#ifndef SKIP_EM_IA_64
#ifndef __x86_64__
case EM_IA_64:
if (elf_header->e_ident[EI_CLASS] == ELFCLASS64)
{
@@ -59,7 +59,7 @@ process_elf_file (const char *file_name, const char *lib, int *flag,
break;
/* Fall through. */
default:
#ifndef SKIP_EM_IA_64
#ifndef __x86_64__
failed:
#endif
error (0, 0, _("%s is for unknown machine %d.\n"),

View File

@@ -1,2 +0,0 @@
#define SKIP_EM_IA_64
#include <sysdeps/unix/sysv/linux/i386/readelflib.c>