> The ppc64 version appends ',"a"' to the kprobes.text section line.  Is
> this needed here as well?  Could someone elaborate on exactly what its
> purpose is?

It's the (ELF) section attributes for the section.  If this
is executable code, it should be "ax"; if it's writable, it
should be "wa"; if it's not initialised, it should be "".

If the section name followed the normal naming conventions,
(newer) GCC could figure out the section attributes itself;
but then, ".text.kprobes" would imply executable, maybe the
section is really misnamed?  Or maybe you need the "ax"
flags :-)


Segher

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to