Skip to content
Snippets Groups Projects
Commit fe6d9daf authored by Roman Zippel's avatar Roman Zippel Committed by Linus Torvalds
Browse files

m68k: Dont include RODATA into text segment


Don't include RODATA into text segment as it includes the kallsyms data and
can cause spurious link failures (layout differences can change the number of
symbols in kallsyms, i.e.  when a symbol is equal to _etext it's not
included).

Signed-off-by: default avatarRoman Zippel <zippel@linux-m68k.org>
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a5f442b2
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,8 @@ SECTIONS ...@@ -19,6 +19,8 @@ SECTIONS
*(.gnu.warning) *(.gnu.warning)
} :text = 0x4e75 } :text = 0x4e75
_etext = .; /* End of text section */
. = ALIGN(16); /* Exception table */ . = ALIGN(16); /* Exception table */
__start___ex_table = .; __start___ex_table = .;
__ex_table : { *(__ex_table) } __ex_table : { *(__ex_table) }
...@@ -26,8 +28,6 @@ SECTIONS ...@@ -26,8 +28,6 @@ SECTIONS
RODATA RODATA
_etext = .; /* End of text section */
.data : { /* Data */ .data : { /* Data */
DATA_DATA DATA_DATA
CONSTRUCTORS CONSTRUCTORS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment