SH relocation differences in older versions of the binutils
Tue Jan 6 20:49:00 GMT 2004
For example: If I send you some random .o that contains a reloc number 0x24
can you tell me if it's supposed to be an R_SH_LOOP_START or an R_SH_DIR8UW
just by examining the binary?
> I'm looking for a way to detect what version of the tools an object file
> was built with, not the version of the tools themselves. I'm looking for
> an elegant way to determine whether an object contains relocations from
> before or after they were moved.
> > -----Original Message-----
> > From: DJ Delorie [mailto:firstname.lastname@example.org]
> > Sent: Tuesday, January 06, 2004 2:51 PM
> > To: email@example.com
> > Cc: firstname.lastname@example.org
> > Subject: Re: SH relocation differences in older versions of the binutils
> > > Is there any way to determine whether a binary was built with 2.12.1
> > > 2.14.9 (or whatever)? To maintain the maximum level of compatibility
> > I'd
> > > like to be able to dynamically translate the moved relocations.
> > Um, you mean besides the obvious "as -version" ?
More information about the Binutils