elf.5: EI_BRAND is not exist in Linux
Hello.
Quoted 1 line
From elf.5:
e_ident This array of bytes specifies to interpret the file, ...
EI_BRAND Start of architecture identification.
Value for EI_BRAND is not defined in the linux/elf.h (and gabi too). Maybe add some comment, that is for *BSD only?
Signature · 7 lines
Best Regards, Yuri Kozlov -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hey Mike,
You've done a patch or two to the elf.5 page in the past. Are you able to comment on the below? I confirmed Yuri's statement: EI_BRAND isn't in glibc 2.11 source.
Cheers,
Michael
Quoted 14 lines · Yuri Kozlov
Hello.
From elf.5:
e_ident This array of bytes specifies to interpret the file, ...EI_BRANDStart of architecture identification.Value for
EI_BRANDis not defined in thelinux/elf.h(and gabi too). Maybe add some comment, that is for *BSD only?--
Best Regards,
Yuri Kozlov
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface" http://blog.man7.org/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · On Wednesday 03 February 2010 01:08:03 Michael Kerrisk wrote:
Quoted 6 lines · Yuri Kozlov
From elf.5:
e_identThis array of bytes specifies to interpret the file, ...
EI_BRANDStart of architecture identification.Value for
EI_BRANDis not defined in thelinux/elf.h(and gabi too). Maybe add some comment, that is for *BSD only?You've done a patch or two to the elf.5 page in the past. Are you able to comment on the below? I confirmed Yuri's statement:
EI_BRANDisn't in glibc 2.11 source.
not being the glibc source isnt terribly important imo (since there are a lot of things glibc's elf.h doesnt define), but the fact it isnt in the gabi as Yuri notes seems pretty important:
http://www.sco.com/developers/gabi/latest/ch4.eheader.html
whether it be marked as non-standard (and then we research what random OSes actually define it) or simply drop it, either makes sense to me. the latter is obviously less work :).
-mike
Hi Yuri, Mike,
Quoted 18 lines · Mike Frysinger
Quoted 11 lines · On Wednesday 03 February 2010 01:08:03 Michael Kerrisk wrote:
Quoted 6 lines · Yuri Kozlov
From elf.5:
e_ident This array of bytes specifies to interpret the file, ...EI_BRANDStart of architecture identification.Value for
EI_BRANDis not defined in thelinux/elf.h(and gabi too). Maybe add some comment, that is for *BSD only?You've done a patch or two to the elf.5 page in the past. Are you able to comment on the below? I confirmed Yuri's statement:
EI_BRANDisn't in glibc 2.11 source.not being the glibc source isnt terribly important imo (since there are a lot of things glibc's
elf.hdoesnt define), but the fact it isnt in the gabi as Yuri notes seems pretty important:
http://www.sco.com/developers/gabi/latest/ch4.eheader.html
Quoted 4 lines
whether it be marked as non-standard (and then we research what random OSes actually define it) or simply drop it, either makes sense to me. the latter is obviously less work :).
-mike
Okay -- I simply removed the test, as shown in the patch below. Okay?
Cheers,
Michael
man5/elf.5 +6 -3
@@ -347,9 +347,12 @@ The value for .B EI_PAD will change in the future if currently unused bytes are given meanings. -.TP -.BR EI_BRAND -Start of architecture identification. +.\" As reported by Yuri Kozlov and confirmed by Mike Frysinger, EI_BRAND is +.\" not in GABI (http://www.sco.com/developers/gabi/latest/ch4.eheader.html) +.\" It looks to be a BSDism +.\" .TP +.\" .BR EI_BRAND +.\" Start of architecture identification. .TP .BR EI_NIDENT The size of the
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html