Re: ld option --build-id=none

2008-11-28 Thread Robert Millan
On Fri, Nov 28, 2008 at 06:30:22PM -0200, Manoel Rebelo Abranches wrote: > Its not necessary when creating the .o object files, only when linking > then to create the final kern.elf. > That is done changing the variable kernel_elf_LDFLAGS in > conf/powerpc-ieee1275.rmk. > > but I dont know how to

Re: ld option --build-id=none

2008-11-28 Thread Manoel Rebelo Abranches
Its not necessary when creating the .o object files, only when linking then to create the final kern.elf. That is done changing the variable kernel_elf_LDFLAGS in conf/powerpc-ieee1275.rmk. but I dont know how to use the grub_cv_prog_ld_build_id_none variable in aclocal.m4 to change kernelelf_LDF

Re: ld option --build-id=none

2008-11-28 Thread Robert Millan
On Fri, Nov 28, 2008 at 06:11:12PM -0200, Manoel Rebelo Abranches wrote: > But it is only passed in modules compilation. I need it when creating > kernel.elf as well. I assume we want this for every *_elf target? Then we shouldn't be restricting it to modules (perhaps this comes from the assumpti

Re: ld option --build-id=none

2008-11-28 Thread Manoel Rebelo Abranches
But it is only passed in modules compilation. I need it when creating kernel.elf as well. On Fri, 2008-11-28 at 20:59 +0100, Robert Millan wrote: > On Fri, Nov 28, 2008 at 01:21:43PM -0200, Manoel Rebelo Abranches wrote: > > In the file conf/powerpc-ieee1275.rmk I need in newer ld versions to > >

Re: ld option --build-id=none

2008-11-28 Thread Robert Millan
On Fri, Nov 28, 2008 at 01:21:43PM -0200, Manoel Rebelo Abranches wrote: > In the file conf/powerpc-ieee1275.rmk I need in newer ld versions to > have: > > kernel_elf_LDFLAGS = $(COMMON_LDFLAGS) -static-libgcc -lgcc \ > -Wl,-N,-S,-Ttext,0x20,-Bstatic,--build-id=none > > > and in older

ld option --build-id=none

2008-11-28 Thread Manoel Rebelo Abranches
In the file conf/powerpc-ieee1275.rmk I need in newer ld versions to have: kernel_elf_LDFLAGS = $(COMMON_LDFLAGS) -static-libgcc -lgcc \ -Wl,-N,-S,-Ttext,0x20,-Bstatic,--build-id=none and in older versions: kernel_elf_LDFLAGS = $(COMMON_LDFLAGS) -static-libgcc -lgcc \ -Wl,-N,-S,-Tte