linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* elf.5: EI_BRAND is not exist in Linux
@ 2010-01-07 10:30 Yuri Kozlov
       [not found] ` <20100107133046.7d380dcb-CpVCSV+zb/Ftei/ch0jEm2ZHpeb/A1Y/@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Yuri Kozlov @ 2010-01-07 10:30 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Hello.

>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?

-- 
Best Regards,
Yuri Kozlov

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: elf.5: EI_BRAND is not exist in Linux
       [not found] ` <20100107133046.7d380dcb-CpVCSV+zb/Ftei/ch0jEm2ZHpeb/A1Y/@public.gmane.org>
@ 2010-02-03  6:08   ` Michael Kerrisk
       [not found]     ` <cfd18e0f1002022208j7e78def6ycee31e0c818b9351-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Kerrisk @ 2010-02-03  6:08 UTC (permalink / raw)
  To: Yuri Kozlov; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Mike Frysinger

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


On Thu, Jan 7, 2010 at 11:30 AM, Yuri Kozlov <yuray-YPGtXv8QU+00kPtPmH8OGQ@public.gmane.org> wrote:
> Hello.
>
> 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?
>
> --
> Best Regards,
> Yuri Kozlov
>
>



-- 
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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: elf.5: EI_BRAND is not exist in Linux
       [not found]     ` <cfd18e0f1002022208j7e78def6ycee31e0c818b9351-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2010-02-03  7:04       ` Mike Frysinger
       [not found]         ` <201002030204.36675.vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Frysinger @ 2010-02-03  7:04 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: Yuri Kozlov, linux-man-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: Text/Plain, Size: 1024 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: elf.5: EI_BRAND is not exist in Linux
       [not found]         ` <201002030204.36675.vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
@ 2010-06-19 12:49           ` Michael Kerrisk
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Kerrisk @ 2010-06-19 12:49 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: Yuri Kozlov, linux-man-u79uwXL29TY76Z2rM5mHXA

Hi Yuri, Mike,

On Wed, Feb 3, 2010 at 9:04 AM, Mike Frysinger <vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org> 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-06-19 12:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-07 10:30 elf.5: EI_BRAND is not exist in Linux Yuri Kozlov
     [not found] ` <20100107133046.7d380dcb-CpVCSV+zb/Ftei/ch0jEm2ZHpeb/A1Y/@public.gmane.org>
2010-02-03  6:08   ` Michael Kerrisk
     [not found]     ` <cfd18e0f1002022208j7e78def6ycee31e0c818b9351-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-02-03  7:04       ` Mike Frysinger
     [not found]         ` <201002030204.36675.vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
2010-06-19 12:49           ` Michael Kerrisk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).