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] |
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. H.J.
Attachment:
binutils-overflow-1.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |