ref: e34837b2825e060fb31c87ad739214590e3b4354
parent: fe6c85f724bdef3c203b6ebc83c4fe0edfb3094a
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Aug 23 14:53:13 EDT 2019
[size] Add support for read-only symbols These symbols are usually computed into the text segment.
--- a/src/cmd/size.c
+++ b/src/cmd/size.c
@@ -58,6 +58,7 @@
siz.text = siz.data = siz.bss = 0;
for (sp = obj->secs; sp; sp = sp->next) {
switch (sp->type) {
+ case 'R':
case 'T':
p = &siz.text;
break;