Re: elf.5: EI_BRAND is not exist in Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Yuri, Mike,

On Wed, Feb 3, 2010 at 9:04 AM, Mike Frysinger <vapier@xxxxxxxxxx> wrote:
> On Wednesday 03 February 2010 01:08:03 Michael Kerrisk wrote:
>> On Thu, Jan 7, 2010 at 11:30 AM, Yuri Kozlov wrote:
>> > 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?
>>
>> 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.
>
> 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

Okay -- I simply removed the test, as shown in the patch below. Okay?

Cheers,

Michael

--- a/man5/elf.5
+++ b/man5/elf.5
@@ -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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux