summaryrefslogtreecommitdiff
path: root/include/linux/stringify.h
diff options
context:
space:
mode:
authorIlias Apalodimas <[email protected]>2024-03-15 08:43:48 +0200
committerTom Rini <[email protected]>2024-03-29 10:39:25 -0400
commit742752afc0c26238b46d7c4316486e7956d40b9d (patch)
tree1fe906a53b139915b89bb068289936c7de21671e /include/linux/stringify.h
parent6b7f91cd837cdb3262c2964e31bc5dd912f2ca8c (diff)
arm: clean up v7 and v8 linker scripts for __rel_dyn_start/end
commit 47bd65ef057f ("arm: make __rel_dyn_{start, end} compiler-generated") were moving the __rel_dyn_start/end on c generated variables that were injected in their own sections. The reason was that we needed relative relocations for position independent code and linker bugs back then prevented us from doing so [0]. However, the linker documentation pages states that symbols that are defined within a section definition will create a relocatable type with the value being a fixed offset from the base of a section [1]. [0] binutils commit 6b3b0ab89663 ("Make linker assigned symbol dynamic only for shared object") [1] https://sourceware.org/binutils/docs/ld/Expression-Section.html Suggested-by: Sam Edwards <[email protected]> Reviewed-by: Sam Edwards <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Tested-by: Sam Edwards <[email protected]> # Binary output identical Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions