[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] --build-id= none in newer ld versions PowerPC
From: |
Vesa Jääskeläinen |
Subject: |
Re: [PATCH] --build-id= none in newer ld versions PowerPC |
Date: |
Tue, 02 Dec 2008 19:14:42 +0200 |
User-agent: |
Thunderbird 2.0.0.18 (Windows/20081105) |
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.