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

Commit 28792dbf authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

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

parents b8e4a5b2 dfc7c708
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@ enum {
	ARM_SEC_DEVEXIT,
	ARM_SEC_HOT,
	ARM_SEC_UNLIKELY,
	ARM_SEC_REF,
	ARM_SEC_MAX,
};

+4 −0
Original line number Diff line number Diff line
@@ -308,6 +308,8 @@ int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs,
			maps[ARM_SEC_UNLIKELY].unw_sec = s;
		else if (strcmp(".ARM.exidx.text.hot", secname) == 0)
			maps[ARM_SEC_HOT].unw_sec = s;
		else if (strcmp(".ARM.exidx.ref.text", secname) == 0)
			maps[ARM_SEC_REF].unw_sec = s;
		else if (strcmp(".init.text", secname) == 0)
			maps[ARM_SEC_INIT].txt_sec = s;
		else if (strcmp(".text", secname) == 0)
@@ -318,6 +320,8 @@ int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs,
			maps[ARM_SEC_UNLIKELY].txt_sec = s;
		else if (strcmp(".text.hot", secname) == 0)
			maps[ARM_SEC_HOT].txt_sec = s;
		else if (strcmp(".ref.text", secname) == 0)
			maps[ARM_SEC_REF].txt_sec = s;
	}

	for (i = 0; i < ARM_SEC_MAX; i++)