Re: calculus of PT_NOTE "for GNU/Linux 2.6.32"

2010-09-20 Thread Roland McGrath
This note comes from crt1.o, which is linked into every normal program (both static and dynamic). Off hand, I'm not sure of anything that actually checks this note. What it indicates is the minimum required kernel version that glibc was built for (its --enable-kernel configure option). This cont

Re: calculus of PT_NOTE "for GNU/Linux 2.6.32"

2010-09-20 Thread Stephen John Smoogen
On Mon, Sep 20, 2010 at 12:41, John Reiser wrote: > Executable program files built by gcc+glibc on Fedora 14 contain a PT_NOTE > which says "for GNU/Linux 2.6.32".  (For example, see "file /bin/date"; > the presence of a NOTE is indicated by "readelf --segments /bin/date", > but readelf does not d

Re: calculus of PT_NOTE "for GNU/Linux 2.6.32"

2010-09-20 Thread Bruno Wolff III
On Mon, Sep 20, 2010 at 11:41:31 -0700, John Reiser wrote: > Executable program files built by gcc+glibc on Fedora 14 contain a PT_NOTE > which says "for GNU/Linux 2.6.32". (For example, see "file /bin/date"; > the presence of a NOTE is indicated by "readelf --segments /bin/date", > but readelf

calculus of PT_NOTE "for GNU/Linux 2.6.32"

2010-09-20 Thread John Reiser
Executable program files built by gcc+glibc on Fedora 14 contain a PT_NOTE which says "for GNU/Linux 2.6.32". (For example, see "file /bin/date"; the presence of a NOTE is indicated by "readelf --segments /bin/date", but readelf does not display the contents.) What does the PT_NOTE mean; what pro