Commit 0d62b04
MIPS: move _stext definition to vmlinux.lds.S
The _stext symbol is intended to reference the start of the text section.
However, it currently relies on a fragile link order because the existing
EXPORT(_stext) resides within the .text section, which is not guaranteed
to be placed first.
Move the _stext definition to the linker script to enforce an explicit
ordering.
Signed-off-by: Rong Xu <[email protected]>
Reported-by: Klara Modin <[email protected]>
Tested-by: Klara Modin <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>1 parent 18e8850 commit 0d62b04
2 files changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
0 commit comments