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: PATCH: PR 463: Relocation overflow message should be moreinformational


On Wed, 20 Oct 2004, H. J. Lu wrote:
> On Tue, Oct 19, 2004 at 05:53:17PM -0700, H. J. Lu wrote:
> > Certain ia64 relocations have to be against small data sections.
> > Otherwise, linker will complain
> >
> > foo (.text+0x46b2): In function `x()': relocation truncated to fit: GPREL22 y
> >
> > It isn't clear why it fails. With this patch, I got
> >
> > foo.o (.text+0x46b2): In function `x()': relocation truncated to fit: GPREL22 `y' defined in section .bss in bar.o
> >
> > Now it is clear that it is a compiler bug.
> >
> >
>
> I decided to make a generic patch. Here is a patch.

Whoever changes messages is responsible for updating testsuites
to match.  You forgot to update the testsuite for
mmix-knuth-mmixware:
FAIL: ld-mmix/getaa-6b
FAIL: ld-mmix/getaa-6f
FAIL: ld-mmix/getaa14b
FAIL: ld-mmix/getaa14f
FAIL: ld-mmix/jumpa-6b
FAIL: ld-mmix/jumpa-6f
FAIL: ld-mmix/jumpa14b
FAIL: ld-mmix/jumpa14f

These are due to the changed error message.  I'll fix these
since I'm about to fix other failing tests for
mmix-knuth-mmixware, but please be more careful.

brgds, H-P


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