Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109785103
D47524.id146317.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
669 B
Referenced Files
None
Subscribers
None
D47524.id146317.diff
View Options
Index: contrib/elftoolchain/readelf/readelf.c
===================================================================
--- contrib/elftoolchain/readelf/readelf.c
+++ contrib/elftoolchain/readelf/readelf.c
@@ -3819,7 +3819,18 @@
}
ubuf = (const uint32_t *)(const void *)buf;
- if (strcmp(name, "FreeBSD") == 0) {
+ if (strcmp(name, "FDO") == 0) {
+ switch (type) {
+ case 0xcafe1a7e:
+ printf(" Package metadata: ");
+ for (i = 0; i < sz; i++) {
+ printf(isprint(buf[i]) ? "%c" : "<%02x>",
+ buf[i]);
+ }
+ printf("\n");
+ return;
+ }
+ } else if (strcmp(name, "FreeBSD") == 0) {
switch (type) {
case NT_FREEBSD_ABI_TAG:
if (sz != 4)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 10, 11:58 AM (4 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16577031
Default Alt Text
D47524.id146317.diff (669 B)
Attached To
Mode
D47524: readelf: add support for ELF package metadata note
Attached
Detach File
Event Timeline
Log In to Comment