This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Linker script PROVIDE statements


> No.  The point of PROVIDE is to only create the symbol if it is
> referenced.  Try changing ldexp.c:fold_name to create an undefined

It's also used to provide a default definition that can be overridden
with --defsym, so adding a redefinition error when the redefinition comes
from --defsym would be wrong.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]