forked from Imagelibrary/binutils-gdb
Add --rosegment option to BFD linker to stop the '-z separate-code' from generating two read-only segments.
PR 30907
This commit is contained in:
11
ld/lexsup.c
11
ld/lexsup.c
@@ -2233,6 +2233,17 @@ elf_shlib_list_options (FILE *file)
|
||||
-z separate-code Create separate code program header\n"));
|
||||
fprintf (file, _("\
|
||||
-z noseparate-code Don't create separate code program header (default)\n"));
|
||||
#endif
|
||||
#if DEFAULT_LD_ROSEGMENT
|
||||
fprintf (file, _("\
|
||||
--rosegment With -z separate-code, create a single read-only segment (default)\n"));
|
||||
fprintf (file, _("\
|
||||
--no-rosegment With -z separate-code, creste two read-only segments\n"));
|
||||
#else
|
||||
fprintf (file, _("\
|
||||
--rosegment With -z separate-code, create a single read-only segment\n"));
|
||||
fprintf (file, _("\
|
||||
--no-rosegment With -z separate-code, creste two read-only segments (default)\n"));
|
||||
#endif
|
||||
fprintf (file, _("\
|
||||
-z common Generate common symbols with STT_COMMON type\n"));
|
||||
|
||||
Reference in New Issue
Block a user