bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/24613] ld --help for -z defs and --no-undefined


From: i at maskray dot me
Subject: [Bug ld/24613] ld --help for -z defs and --no-undefined
Date: Fri, 10 Apr 2020 20:40:40 +0000

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

--- Comment #8 from Fangrui Song <i at maskray dot me> ---
(In reply to Nick Clifton from comment #7)
> Hi Fangrui,
> 
> > -Wl,--warn-unresolved-symbols is very rare. Making `-z defs
> > --warn-unresolved-symbols` warn rather than error may be fine. It is
> > unlikely to cause a friction.
> 
> OK - would you like to propose a patch for review ?
> 
> (I am a bit busy with other things just at the moment...)
> 
> Cheers
>   Nick

Hi Nick,

I took a look but this problem seems difficult...

--no-undefined is a generic option handled in ld/lexsup.c . -z defs and -z
muldefs are ELF specific options handled in ld/emultempl/elf.em . The variable
`how_to_report_unresolved_symbols` is unfortunately unavailable in
ld/emultempl/elf.em ...

I have to introduce a new member variable to bfd_link_info

https://sourceware.org/pipermail/binutils/2020-April/110620.html

Last, I think the documentation for contributing is lacking. I added ChangeLog
items to each directory my patch touched. Not sure what is the best approach..

-- 
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]