grub-devel
[Top][All Lists]
Advanced

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

Re: ld option --build-id=none


From: Robert Millan
Subject: Re: ld option --build-id=none
Date: Fri, 28 Nov 2008 21:41:37 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

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 use the grub_cv_prog_ld_build_id_none variable in
> aclocal.m4 to change kernelelf_LDFLAGS in the conf/powerpc-ieee1275.rm
> file.

Look in genmk.rb.  The "class Image" stanza adds a "-R .note.gnu.build-id"
to objcopy, which gets rid of the build-id for *.img files on i386-pc.

For ELF images, I think you need something similar in "class Program".

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]