All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vesa Jääskeläinen" <chaac@nic.fi>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] --build-id= none in newer ld versions PowerPC
Date: Tue, 02 Dec 2008 19:14:42 +0200	[thread overview]
Message-ID: <49356D02.4060201@nic.fi> (raw)
In-Reply-To: <1228152895.7686.18.camel@manoel-laptop>

Manoel Rebelo Abranches wrote:
> On Mon, 2008-12-01 at 19:01 +0200, Vesa Jääskeläinen wrote:
>> Manoel Rebelo Abranches wrote:
>>> This patch add --build-id=none option to newer ld versions when linking
>>> kernel.elf.
>>> This prevents grub-mkelfimage to behave wrongly.
>>
>>>  if test "x$grub_cv_prog_ld_build_id_none" = xyes; then
>>>    MODULE_LDFLAGS="$MODULE_LDFLAGS -Wl,--build-id=none"
>>> +  PPC_BUILD_ID_FLAG="-Wl,--build-id=none"
>>>  fi
>>>  ])
>> How about changing that to KERNEL_LDFLAGS? Then one could use it for
>> other purposes if needed?
> 
> There is already kernel_elf_LDFLAGS but its used for other architectures
> too.

No no. I mean just KERNEL_LDFLAGS like comparison to MODULE_LDFLAGS. No
elf or nothing like that. Is there any problem if one provides this
setting even on x86 if linker recognizes it? (what is being tested
here). PPC_BUILD_ID_FLAG just sounds too specific.

Isn't EFI also using ELF? I assume this would be beneficial also there.




  reply	other threads:[~2008-12-02 17:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-01 16:51 [PATCH] --build-id= none in newer ld versions PowerPC Manoel Rebelo Abranches
2008-12-01 17:01 ` Vesa Jääskeläinen
2008-12-01 17:34   ` Manoel Rebelo Abranches
2008-12-02 17:14     ` Vesa Jääskeläinen [this message]
2008-12-02 18:34       ` Pavel Roskin
2008-12-02 19:16         ` Manoel Rebelo Abranches
2008-12-04 14:08         ` Manoel Rebelo Abranches
2008-12-11 11:51           ` Manoel Rebelo Abranches
2009-01-05  6:38           ` Jerone Young
2009-01-05  6:53             ` Pavel Roskin
2009-01-05  7:09               ` Jerone Young
2009-02-07 19:50                 ` Robert Millan
2009-02-08 17:09                   ` Gregg C Levine
2009-04-01 16:11                 ` Pavel Roskin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49356D02.4060201@nic.fi \
    --to=chaac@nic.fi \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.