MIPS and -msym32
Kurt Roeckx
kurt at roeckx.be
Fri Aug 15 16:42:24 UTC 2014
On Fri, Aug 15, 2014 at 05:24:56PM +0200, Kurt Roeckx wrote:
>
> There is an other mips related patch in Debian. I have code for
> that, it was mailed to this list, I needed to make some changes,
> I think I've done that but I didn't really finish them so it was
> never send. I can send what I currently have if that's useful.
So the patch currently in Debian is:
Index: elfutils-0.153/src/readelf.c
===================================================================
--- elfutils-0.153.orig/src/readelf.c 2012-08-10 22:01:55.000000000 +0200
+++ elfutils-0.153/src/readelf.c 2012-09-18 21:46:27.000000000 +0200
@@ -7364,7 +7364,8 @@
GElf_Shdr shdr_mem;
GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
- if (shdr != NULL && shdr->sh_type == SHT_PROGBITS)
+ if (shdr != NULL && (
+ (shdr->sh_type == SHT_PROGBITS) || (shdr->sh_type == SHT_MIPS_DWARF)))
{
static const struct
{
I think the patch in attachment is supposed to replace that, together with
the proper implementation of the hook in the mips backend.
Kurt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_debug_section.patch
Type: text/x-diff
Size: 8512 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/elfutils-devel/attachments/20140815/9bd1dae5/attachment-0001.bin>
More information about the elfutils-devel
mailing list