tech-toolchain archive

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

Re: Userland Linker-Script



On Sat, Feb 21, 2015 at 10:11:33PM +0100, Jens Mehler wrote:
> Is there a way to teach the linker how to do this or is there a config
> file (I search for it but with no success).

I think you can define TEXT_START_ADDR in your bfd configuration;
what do you get now, I would guess it defaults to 1 page, from
here:

external/gpl3/binutils/dist/bfd/netbsd.h:
#define TEXT_START_ADDR          TARGET_PAGE_SIZE

(or that would be the path in -current)

Martin


Home | Main Index | Thread Index | Old Index