diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-02-15 09:51:49 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2016-02-16 18:39:58 +0000 |
commit | 7abc7d833c9eb16efc8a59239d3771a6e30be367 (patch) | |
tree | c90fc3b953e6c9993344ce6af2117822ca427e98 /ipc | |
parent | 88d8a7994e564d209d4b2583496631c2357d386b (diff) | |
download | op-kernel-dev-7abc7d833c9eb16efc8a59239d3771a6e30be367.zip op-kernel-dev-7abc7d833c9eb16efc8a59239d3771a6e30be367.tar.gz |
arm64: use local label prefixes for __reg_num symbols
The __reg_num_xNN symbols that are used to implement the msr_s and
mrs_s macros are recorded in the ELF metadata of each object file.
This does not affect the size of the final binary, but it does clutter
the output of tools like readelf, i.e.,
$ readelf -a vmlinux |grep -c __reg_num_x
50976
So let's use symbols with the .L prefix, these are strictly local,
and don't end up in the object files.
$ readelf -a vmlinux |grep -c __reg_num_x
0
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions