Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153875096
D1341.id2813.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
706 B
Referenced Files
None
Subscribers
None
D1341.id2813.diff
View Options
Index: head/contrib/elftoolchain/elfcopy/sections.c
===================================================================
--- head/contrib/elftoolchain/elfcopy/sections.c
+++ head/contrib/elftoolchain/elfcopy/sections.c
@@ -1139,12 +1139,6 @@
struct section *s;
s = ecp->shstrtab;
- if (s->buf == NULL) {
- insert_to_strtab(s, "");
- insert_to_strtab(s, ".symtab");
- insert_to_strtab(s, ".strtab");
- insert_to_strtab(s, ".shstrtab");
- }
insert_to_strtab(s, name);
}
@@ -1206,6 +1200,11 @@
s->loadable = 0;
s->type = SHT_STRTAB;
s->vma = 0;
+
+ insert_to_strtab(s, "");
+ insert_to_strtab(s, ".symtab");
+ insert_to_strtab(s, ".strtab");
+ insert_to_strtab(s, ".shstrtab");
}
void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 25, 11:09 AM (19 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32122270
Default Alt Text
D1341.id2813.diff (706 B)
Attached To
Mode
D1341: Set up default shstrtab entries at initialization
Attached
Detach File
Event Timeline
Log In to Comment