From: Michael Ellerman [mailto:m...@ellerman.id.au]
> > In the past I've caused orphan sections to error by assigning them
> > to the same address as something that exists.
> > Works with all linkers, even if the error message isn't as useful.
> 
> How do you assign them an address without knowing what they are? With a
> wild card rule?

Right at the end of the ldscript I have:

    /* Anything from any unexpected section ends up here and
     * generates an error because this overlaps another section */
    unwanted _gp : { *(*) }
}

        David

Reply via email to