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: binutils 2.15 / gcc-3.3.5 (3.4.3) produce text relocations on arm


On Tue, Jan 04, 2005 at 06:16:56PM +0100, Peter S. Mazinger wrote:
> On Tue, 4 Jan 2005, Daniel Jacobowitz wrote:
> 
> > On Tue, Jan 04, 2005 at 04:25:26PM +0100, Peter S. Mazinger wrote:
> > > Hello!
> > > 
> > > I have tried some versions of binutils-2.15 (up to and including 
> > > 2.15.94.0.2) in conjunction w/ gcc-3.3.5 and gcc-3.4.3, all combinations 
> > > produce text relocations on x86 (using glibc / uclibc) in shared libs.
> > > Can't tell if gcc or binutils produce this, maybe a linker script?
> > > 
> > > Please CC to me, thanks Peter
> > 
> > Have you checked whether you are actually producing text relocations,
> > or just setting DT_TEXTREL?  I just encountered another binutils ARM
> > bug which set DT_TEXTREL incorrectly.
> 
> I have checked: readelf -d file | grep TEXT

Then could you check whether any of the relocations are actually in the
text segment?

-- 
Daniel Jacobowitz


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