This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: gold: Support for signalling reloc overflows?
- From: Ian Lance Taylor <iant at google dot com>
- To: "Will Newton" <will dot newton at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 15 Jul 2008 07:20:12 -0700
- Subject: Re: gold: Support for signalling reloc overflows?
- References: <87a5b0800807150638gbb18219x3634dd1460cbcab@mail.gmail.com>
"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