* Initialize data.s for data that do not need a conversion.
+2010-04-01 Petr Machata <pmachata@redhat.com>
+
+ * elf_getdata.c (__elf_getdata_rdlock): Initialize data.s for data
+ that do not need a conversion.
+
2010-03-11 Roland McGrath <roland@redhat.com>
* elf.h: Update from glibc.
scn->rawdata.d.d_size, scn->rawdata.d.d_type);
}
else
- /* This is an empty or NOBITS section. There is no buffer but
- the size information etc is important. */
- scn->data_list.data.d = scn->rawdata.d;
+ {
+ /* This is an empty or NOBITS section. There is no buffer but
+ the size information etc is important. */
+ scn->data_list.data.d = scn->rawdata.d;
+ scn->data_list.data.s = scn;
+ }
scn->data_list_rear = &scn->data_list;
}