--- cpukit/libdl/rtl-elf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cpukit/libdl/rtl-elf.c b/cpukit/libdl/rtl-elf.c index 48d81df..b686a48 100644 --- a/cpukit/libdl/rtl-elf.c +++ b/cpukit/libdl/rtl-elf.c @@ -644,6 +644,9 @@ rtems_rtl_elf_parse_sections (rtems_rtl_obj_t* obj, int fd, Elf_Ehdr* ehdr) */ off = obj->ooffset + ehdr->e_shoff + (((uint32_t) section) * ehdr->e_shentsize); + if (rtems_rtl_trace (RTEMS_RTL_TRACE_DETAIL)) + printf ("rtl: section header: %2d: offset=%d\n", section, (int) off); + if (!rtems_rtl_obj_cache_read_byval (sects, fd, off, &shdr, sizeof (shdr))) return false; -- 2.4.6
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel