Should rename ELFOSABI_LINUX into ELFOSABI_GNU, and drop ELFOSABI_HURD

48 views
Skip to first unread message

Samuel Thibault

unread,
Jun 19, 2011, 4:19:52 PM6/19/11
to gener...@googlegroups.com
Forwarded from http://sourceware.org/bugzilla/show_bug.cgi?id=12913 :

Hello,

H.J. Lu added separate ELFOSABI_LINUX and _HURD definitions, but these
are actually meant to be the same: the dynamic linker is the same in
both cases, from glibc, with the same "GNU" extensions.

A recent change (http://sourceware.org/bugzilla/show_bug.cgi?id=10549)
made this issue apparent eventually. Roland says we should simply
rename the existing ELFOSABI_LINUX into ELFOSABI_GNU, and remove
ELFOSABI_HURD. The attached patch does this (but keeps ELFOSABI_LINUX
as an alias for software which may already be using it).

Samuel

Thomas Schwinge

unread,
Jul 3, 2011, 10:09:03 AM7/3/11
to gener...@googlegroups.com, regi...@sco.com, Samuel Thibault, Roland McGrath
Hallo!

This has now been changed in binutils.


Now, <http://www.sco.com/developers/gabi/latest/ch4.eheader.html> needs
to be updated -- which I understand to be the most authoritative of its
kind at present?

Here is a patch, in case there is any use for it.

--- revision.html.orig 2011-07-03 15:58:45.000000000 +0200
+++ revision.html 2011-07-03 16:04:13.000000000 +0200
@@ -195,6 +195,13 @@
Updated <a href=ch4.eheader.html#e_machine>table</a>
of <code>EM_*</code> entries.
</ul>
+<h3>(Not yet published.)</h3>
+<ul>
+<li>
+Renamed <code>ELFOSABI_LINUX</code> to <code>ELFOSABI_GNU</code> in
+the <a href="ch4.eheader.html#osabi">table of <code>EI_OSABI</code>
+entries</a>.
+</ul>
<hr>
<a href="contents.html"><img src="contents.gif" alt="Contents"></a>
<hr>
--- ch4.eheader.html.orig 2011-07-03 15:55:38.000000000 +0200
+++ ch4.eheader.html 2011-07-03 15:57:26.000000000 +0200
@@ -1438,11 +1438,11 @@
<td>NetBSD</td>
</tr>
<tr>
-<td><code>ELFOSABI_LINUX</code></td>
+<td><code>ELFOSABI_GNU</code> (formerly <code>ELFOSABI_LINUX</code>)</td>
<td align=right><code>3</code></td>
-<td>Linux</td>
+<td>GNU</td>
</tr>
-<!-- 4 reserved for IA32 GNU Mach/Hurd -->
+<!-- 4 unused -->
<!-- 5 reserved for 86Open common IA32 ABI -->
<tr>
<td><code>ELFOSABI_SOLARIS</code></td>


Grüße,
Thomas

Thomas Schwinge

unread,
Jul 9, 2011, 4:04:23 AM7/9/11
to John Wolfe, gener...@googlegroups.com, regi...@sco.com, Samuel Thibault, Roland McGrath
Hallo!

On Fri, 08 Jul 2011 18:57:21 -0400, John Wolfe <j...@sco.com> wrote:
> I have had the change requested, but kept the symbol
> ELFOSABI_LINUX active and noted as an alias for ELFOSABI_GNU.
>
> The change has been posted at:
>
> http://www.sco.com/developers/gabi/latest/ch4.eheader.html

Thanks; looks good.


Grüße,
Thomas

Reply all
Reply to author
Forward
0 new messages