Page MenuHomePhabricator

TF-M Core: Branch instruction in tfm_spm_request_reset_vote() can cause linker warning
Closed, ResolvedPublic

Description

Branch instruction in the function tfm_spm_request_reset_vote() can cause linker warning. This might cause problem if the function gets too far from the branch target in the address space. This should be fixed by using Branch-link instruction instead.

Warning: L6803W: Relocation #REL:0 in tfm_spm_services.o(.text.tfm_spm_request_reset_vote) with respect to tfm_spm_services.o. Thumb Branch is unlikely to reach target intfm_spm_request(.text.tfm_spm_request).

Event Timeline

matetothpal triaged this task as Normal priority.Aug 25 2020, 10:16 AM
matetothpal created this task.
matetothpal closed this task as Resolved.Aug 31 2020, 6:38 AM

The fix for this issue had been merged.