[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Userland Linker-Script
I rewrote the binutils ld script to link to the userland default addr
normally and used the kernel makefile to set the kernel linking addr :)
Work well .. Now I have to fix bugs and make everything really smooth :)
Am 22.02.2015 um 17:19 schrieb Jens Mehler:
> I manged to to a full cross-build of NetBSD for the ECO32.
> Still the userland binaries are all linked wrong :(
> I can't do a release target because stuff from src/etc is missing (going
> to do that after the linker problem).
> I think I still missed something within the binutils or missed to set a
> Any pointers towards solving the linking problem would be appreciated.
> I am THIS close now - skipping gcc-mknative and proving libgcc from
> manually building it was the first big step.
> The linker problems can't be worse that this :)
> Best regards,
> Am 21.02.2015 um 22:54 schrieb Jens Mehler:
>> I saw that file and just copied another BSD target a while ago.
>> I did the configuration and told BFD to use this file.
>> I will look into it a bit more - Thanks a bunch :)
>> Am 21.02.2015 um 22:42 schrieb Martin Husemann:
>>> 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
>>> #define TEXT_START_ADDR TARGET_PAGE_SIZE
>>> (or that would be the path in -current)
Main Index |
Thread Index |