Page MenuHomeFreeBSD

D17438.id49953.diff
No OneTemporary

D17438.id49953.diff

Index: lib/csu/common/crtbrand.c
===================================================================
--- lib/csu/common/crtbrand.c
+++ lib/csu/common/crtbrand.c
@@ -67,3 +67,18 @@
.name = NOTE_FREEBSD_VENDOR,
.desc = __FreeBSD_version
};
+
+static const struct {
+ int32_t namesz;
+ int32_t descsz;
+ int32_t type;
+ char name[sizeof(NOTE_FREEBSD_VENDOR)];
+ uint32_t desc[1];
+} crt_feature_ctl __attribute__ ((section (NOTE_SECTION),
+ aligned(4))) __used = {
+ .namesz = sizeof(NOTE_FREEBSD_VENDOR),
+ .descsz = sizeof(uint32_t),
+ .type = NT_FREEBSD_FEATURE_CTL,
+ .name = NOTE_FREEBSD_VENDOR,
+ .desc = { 0 }
+};

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 10, 2:32 PM (13 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17085303
Default Alt Text
D17438.id49953.diff (626 B)

Event Timeline