This is the mail archive of the binutils@sourceware.org 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: gold: Support for signalling reloc overflows?


"Will Newton" <will.newton@gmail.com> writes:

> It doesn't appear to me that any of the current ports of gold check
> for overflows in relocation processing. Is there some place I'm not
> seeing where this is happening? It seems like it should be necessary.

You are correct on both counts.  gold doesn't check for relocation
overflows, and it should.

This hasn't been a priority for me because 1) relocation overflows
don't happen in correct programs; 2) relocation overflows don't happen
in C/C++ code on x86/x86_64.  But it's definitely something that needs
to be addressed.  It's not hard.

Ian


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