On 08/09/2012 10:17 AM, Mark Wielaard wrote:
Hi Jeff,
On Thu, 2012-08-09 at 09:14 -0400, Jeff Kenton wrote:
> How do I submit code for supporting a new processor (Tilera TILE-Gx)?
> I've gotten it all working.
Please add your patches to a local git tree/branch. Then you can use git
format-patch to create patches for review or use git send-email to send
them to this list directly so they can be reviewed.
Follow on questions:
1. I had done my initial development from the elfutils-0.154 tarball,
not from a git tree. From the tarball all I had to do was "configure"
and "make". The git tree is missing a configure file and various
Makefile.in's (and a few other things). I can copy the missing files
into the tree and continue, but I'm sure that's not the best way.
What's the best way?
2. When building, the compiler complains about readelf.c -- it's missing
one line in the table "known[]" inside print_ops(), for the value of
DW_OP_GNU_parameter_ref, which is referenced in a case statement and a
printf() right before the "default" at about line 4420. It's trivial to
add this as the last line in the known[] table.
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.
Thanks.
--jeff kenton