This is the “good practice” to add prefixes to global names.

 

From: TF-M <tf-m-bounces@lists.trustedfirmware.org> On Behalf Of Xinyu Zhang via TF-M
Sent: Thursday, June 24, 2021 12:00 PM
To: tf-m@lists.trustedfirmware.org
Cc: nd <nd@arm.com>
Subject: [TF-M] Remove Customized Region Name Prefix in Linker Scripts

 

Hi,

 

The existing linker definitions abuse prefixes such as ER_ and TFM_. Some names do not have a clear scope, which reduces the readability.

 

Here are some patches to address the problem:

 

Please help to put comments and inform us if your platforms couple tightly with the symbols defined in LD.

 

Thanks,

Xinyu