Arm: drop ENFORCE_UNIQUE_SYMBOLS=y workaround again

Both arm<NN>/head.S and arm<NN>/mmu/head.S have a local symbol "fail".
Without a .file directive locals will be associated with the path-less
object filename (head.o). Hence the two symbol names collide. Add .file,
also in arm<NN>/mpu/head.S for consistency.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Michal Orzel <michal.orzel@amd.com>
This commit is contained in:
Jan Beulich committed 2026-09-23 10:01:38 +02:00
1 parent 5ed278157b
commit e35ef4439b
7 files changed
+12 -3

No files matched your search

-3
View File
@@ -91,9 +91,6 @@ include scripts/Makefile.link
# Suppress orphan section checking for the time being.
orphan-handling-y :=
# Downgrade duplicate symbol errors to warnings for the time being.
syms-warn-dup-$(CONFIG_ENFORCE_UNIQUE_SYMBOLS) := --warn-dup
.PHONY: include
include:
+2
View File
@@ -17,6 +17,8 @@
* GNU General Public License for more details.
*/
.file __FILE__
#include <asm/page.h>
#include <asm/early_printk.h>
+2
View File
@@ -5,6 +5,8 @@
* Arm32 MMU specific start-of-day code.
*/
.file __FILE__
#include <asm/page.h>
#include <asm/early_printk.h>
+2
View File
@@ -3,6 +3,8 @@
* Start-of-day code for an Armv8-R-AArch32 MPU system.
*/
.file __FILE__
#include <asm/arm32/macros.h>
#include <asm/arm32/sysregs.h>
#include <asm/cpregs.h>
+2
View File
@@ -20,6 +20,8 @@
* GNU General Public License for more details.
*/
.file __FILE__
#include <asm/page.h>
#include <asm/early_printk.h>
+2
View File
@@ -5,6 +5,8 @@
* Arm64 MMU specific start-of-day code.
*/
.file __FILE__
#include <asm/page.h>
#include <asm/early_printk.h>
+2
View File
@@ -3,6 +3,8 @@
* Start-of-day code for an Armv8-R MPU system.
*/
.file __FILE__
#include <asm/mpu/regions.inc>
/*
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.