[U-Boot] [PATCH] ARM: Add .data/.rodata/.bss section starts to gd_t
Albert ARIBAUD
albert.u.boot at aribaud.net
Tue Feb 28 23:04:39 CET 2012
Hi Peter,
Le 27/02/2012 23:00, Peter Barada a écrit :
> When debugging u-boot, after relocation its tedious to calculate positions
> of the various sections (.data, .rodata, .bss). To make it easier, add
> the structure "sections" to gd_t that contains the relocated start of
> those sections. Then the gdb command "add-symbol-file" can by used with
> "-s<section> <address>" that corresponds to the values in gd_t->sections.
NAK until I get an explanation and usage scenario for this, because I've
never had to do calculations on sections so far, so I want to understand
why it would be needed.
Amicalement,
--
Albert.
More information about the U-Boot
mailing list