Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111870073
D17438.id49953.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
626 B
Referenced Files
None
Subscribers
None
D17438.id49953.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D17438: Add NT_FREEBSD_FEATURE_CTL ELF note to csu
Attached
Detach File
Event Timeline
Log In to Comment