mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 06:30:05 +00:00
(os=gnu*): Always set elf=yes, not just for os=gnu*elf*.
This commit is contained in:
parent
1f6a1abf7d
commit
b7976c00ed
@ -115,7 +115,7 @@ gnu* | linux* | bsd4.4* | netbsd* | freebsd*)
|
||||
gnu_ld=yes gnu_as=yes
|
||||
esac
|
||||
case "$os" in
|
||||
gnu*elf* | linux* | sysv4* | solaris2*)
|
||||
gnu* | linux* | sysv4* | solaris2*)
|
||||
# These systems always use the ELF format.
|
||||
elf=yes
|
||||
esac
|
||||
|
@ -72,6 +72,10 @@ typedef struct
|
||||
#define EI_MAG3 3 /* File identification byte 3 index */
|
||||
#define ELFMAG3 'F' /* Magic number byte 3 */
|
||||
|
||||
/* Conglomeration of the identification bytes, for easy testing as a word. */
|
||||
#define ELFMAG "\x7fELF"
|
||||
#define SELFMAG 4
|
||||
|
||||
#define EI_CLASS 4 /* File class byte index */
|
||||
#define ELFCLASSNONE 0 /* Invalid class */
|
||||
#define ELFCLASS32 1 /* 32-bit objects */
|
||||
|
Loading…
Reference in New Issue
Block a user