bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/30187] ld.bfd and ld.gold versions in .comment section of ELF


From: tkacvins at gmail dot com
Subject: [Bug gold/30187] ld.bfd and ld.gold versions in .comment section of ELF files
Date: Tue, 14 Mar 2023 18:42:11 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=30187

--- Comment #9 from Tom Kacvinsky <tkacvins at gmail dot com> ---
(In reply to Nick Clifton from comment #7)
> Created attachment 14751 [details]
> Proposed patch
> 
> Hi Tom,
> 
>   (Sorry for the delay in updating this PR).
> 
>   Please could you try out this revised patch ?
> 
>   It uses the same LINKER_VERSION linker script directive, but this time it
> is also
>   controlled via a new command line option: --enable-linker-version.
> 
>   I would be interested to know if the problem you observed compiling
> wchar.c returns, if you link with -Wl,--enable-linker-version.  If it does,
> please could you upload the wchar.c or whcar.o files so that I can try for
> myself.
> 
> Cheers
>   Nick

I have attached the wchar.c file I am using.  But this problem happens with an
even more simple C file

int main()
{
  return 0;
}

The error with PHDR happens with use of -Wl,--enable-linker-version and
-fuse-ld=bfd, but not when --enable-linker-version is not used.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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