ELF_ARCH, ELF_DATA and ELF_CLASS since 2.6.25

Y Giridhar Appaji Nag giridhar@appaji.net
Fri May 8 13:26:00 GMT 2009


Hi,

Sometime between 2.6.24 and 2.6.25 [1] asm/elf.h was unexported from the
kernel.  A few user-space applications that were using ELF_ARCH, ELF_DATA and
ELF_CLASS since are broken since then.

[1] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6cc931b9b5ec652c90b928f3ec2163f261552c91

Would using conditional checks for __BYTE_ORDER and __WORDSIZE from glibc be
the right way of fixing these applications?  Additionally, how can I get
ELF_ARCH?

Thank you,

Giridhar

PS: I am not subscribed to the list and would appreciate if I am Cc:ed on any
responses.

-- 
Y Giridhar Appaji Nag | http://appaji.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-help/attachments/20090508/1ce537b6/attachment.sig>


More information about the Libc-help mailing list