[DragonFlyBSD - Bug #3130] (New) sys/elf.h: Elf_Nhdr undefined

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Fri Apr 13 09:31:07 PDT 2018


Issue #3130 has been reported by bserrao.

----------------------------------------
Bug #3130: sys/elf.h: Elf_Nhdr undefined
http://bugs.dragonflybsd.org/issues/3130

* Author: bserrao
* Status: New
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
This has been already patched on FreeBSD. (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225302)
Path: sys/sys/elf_common.h

<pre><code class="diff">

--- /home/bs/elf_common.h.orig  2018-04-13 17:21:06.557514000 +0100
+++ /home/bs/elf_common.h       2018-04-13 17:21:20.207529000 +0100
@@ -49,6 +49,7 @@
        u_int32_t       n_descsz;       /* Length of descriptor. */
        u_int32_t       n_type;         /* Type of this note. */
 } Elf_Note;
+typedef Elf_Note Elf_Nhdr;

 /* Indexes into the e_ident array.  Keep synced with
    http://www.sco.com/developers/gabi/latest/ch4.eheader.html */

</code></pre>





-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list