Question: how to submit support code for a new processor?

Mark Wielaard mjw at redhat.com
Thu Aug 16 21:23:12 UTC 2012


On Thu, 2012-08-16 at 17:09 +0200, Mark Wielaard wrote:
> On Thu, 2012-08-16 at 10:57 -0400, Jeff Kenton wrote:
> > 3. elflint.c, at line 954, generates an error:
> > 
> >      section [36] '.symtab': _GLOBAL_OFFSET_TABLE_ symbol value 0x20c28 
> > does not match .got.plt section address 0x20cb8
> > 
> > for many of the *.so files it checks.  This is because the *.so 
> > intentionally points to ".got" rather than ".got.plt".  Our gcc guy 
> > doesn't believe this is an error.
> 
> I would have to look that up.

This sounds a bit like an old binutils gold linker issue:
http://sourceware.org/bugzilla/show_bug.cgi?id=10450#c1

What compiler and linker versions are you using?

Could you send a small .so binary testcase compiled from some trivial
source (please quote the source and build commands), then we can inspect
the binary directly (and when your port is in then we could cross check
on other arches).

Thanks,

Mark


More information about the elfutils-devel mailing list