Messages in this thread | | | From | Catalin Marinas <> | Subject | Re: [PATCH] recordmcount: only record relocation of type R_AARCH64_CALL26 on arm64. | Date | Fri, 24 Jul 2020 13:14:56 +0100 |
| |
On Fri, 17 Jul 2020 16:33:38 +0200, gregory.herrero@oracle.com wrote: > Currently, if a section has a relocation to '_mcount' symbol, a new > __mcount_loc entry will be added whatever the relocation type is. > This is problematic when a relocation to '_mcount' is in the middle of a > section and is not a call for ftrace use. > > Such relocation could be generated with below code for example: > bool is_mcount(unsigned long addr) > { > return (target == (unsigned long) &_mcount); > } > > [...]
Applied to arm64 (for-next/misc), thanks!
[1/1] recordmcount: only record relocation of type R_AARCH64_CALL26 on arm64. https://git.kernel.org/arm64/c/ea0eada45632
-- Catalin
| |