x86/include/elf.h: make inclusion blocks for elf32.h and elf64.h similar

They were copy-pasted when x86/include/elf.h file was merged from its
i386 and amd64 counterparts.  Having the text around inclusions
significantly different is somewhat confusing.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D37085
This commit is contained in:
Konstantin Belousov 2022-10-22 23:05:59 +03:00
parent 5f00525dfc
commit 829145388b

View File

@ -32,14 +32,11 @@
#define _MACHINE_ELF_H_ 1
#if defined(__i386__) || defined(_MACHINE_ELF_WANT_32BIT)
/*
* ELF definitions for the i386 architecture.
*/
/* ELF definitions for the i386 architecture. */
#include <sys/elf32.h> /* Definitions common to all 32 bit architectures. */
#if defined(__ELF_WORD_SIZE) && __ELF_WORD_SIZE == 64
#include <sys/elf64.h> /* Definitions common to all 64 bit architectures. */
/* Definitions common to all 64 bit architectures. */
#include <sys/elf64.h>
#endif
#ifndef __ELF_WORD_SIZE