Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 256d98a5 authored by Vignesh Radhakrishnan's avatar Vignesh Radhakrishnan Committed by Gerrit - the friendly Code Review server
Browse files

ARM: module: Add ".ref.text" to arm unwind tables



Functions inside kernel modules that use __ref
will end up being placed in .ARM.exidx.ref.text
section by gcc.

Currently while adding sections to arm unwind tables
we don't add consider adding these funtions.

Hence, if we turn slub debug on by default we end up
with the messages of this sort :

	unwind: Index not found bf0011e0

This is because slub debug saves stack trace of
allocation's and free's. Therefore we end up seeing
a flood of these messages in dmesg.

Fix this by adding .ref.text section to arm unwind tables.

Change-Id: I78783d3620f7f4f9c85ec260063f959cd96967f0
Signed-off-by: default avatarVignesh Radhakrishnan <vigneshr@codeaurora.org>
parent 20567311
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment