Re: [PATCH] recordmcount: Fix handling of elf64 big-endian objects.

From: David Daney
Date: Fri Jan 06 2012 - 18:15:18 EST


On 01/06/2012 03:09 PM, Steven Rostedt wrote:
On Fri, 2012-01-06 at 12:42 -0800, David Daney wrote:

Any more feedback on this patch? Should I look for it to appear in 3.3?

OK, I tested it and then I noticed that mainline doesn't have
"HAVE_C_RECORDMCOUNT" set. Is that going in the PPC tree?

I have no idea, I'm a MIPS guy at the moment.

I added that
to arch/powerpc/Kconfig, and did see the bug you saw. After adding your
patch, I did a diff of the available_filter_functions and had this:

.elf_core_extra_phdrs
.elf_core_write_extra_phdrs
.elf_core_write_extra_data
.elf_core_extra_data_size

These 4 functions were added after doing the change. Weird.

Anyway, I'll run the change through my normal tests and then push it
out.


Thanks,
David Daney
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/