[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linker scripts & _init, _fini



On Tue, Jul 15, 2003 at 06:14:02PM +1000, Derick Hammond wrote:
> It seems to me that the jsr fff00b0c <__do_global_ctors_aux> is
> unreachable code.  Is this correct?  If so how do I correct the
> problem?

first is to figure out if it's really a problem or not.  only you know
the memory map of your device.

what regions does the MEMORY section of your script define, and in the
SECTIONS section, where are .ctors and .dtors sections being placed?

-- 
  Aaron J. Grier  |   Frye Electronics, Tigard, OR   |  aaron at frye.com