aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlex.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2012-12-18 20:42:43 +0000
committerRoland McGrath <roland@gnu.org>2012-12-18 20:42:43 +0000
commit9d5777a34cbf1c1497e1c76f455381a643dfd2b1 (patch)
tree5afc8b030a3c49c0abad86312ca5a052870a35bc /ld/ldlex.h
parentd8a4f9280adc96f46d63bbdbfd089fc9c7c30b3e (diff)
downloadgdb-9d5777a34cbf1c1497e1c76f455381a643dfd2b1.zip
gdb-9d5777a34cbf1c1497e1c76f455381a643dfd2b1.tar.gz
gdb-9d5777a34cbf1c1497e1c76f455381a643dfd2b1.tar.bz2
ld/
* ld.texinfo (Options): Describe -Trodata-segment. * ldlex.h (enum option_values): Add OPTION_TRODATA_SEGMENT. * lexsup.c (ld_options, parse_args): Handle -Trodata-segment. * scripttempl/elf.sc (RODATA_ADDR, SHLIB_RODATA_ADDR): Wrap SEGMENT_START("rodata-segment", ...) + SIZEOF_HEADERS around the value.
Diffstat (limited to 'ld/ldlex.h')
-rw-r--r--ld/ldlex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldlex.h b/ld/ldlex.h
index 441f673..533a55b 100644
--- a/ld/ldlex.h
+++ b/ld/ldlex.h
@@ -68,6 +68,7 @@ enum option_values
OPTION_TDATA,
OPTION_TTEXT,
OPTION_TTEXT_SEGMENT,
+ OPTION_TRODATA_SEGMENT,
OPTION_TRADITIONAL_FORMAT,
OPTION_UR,
OPTION_VERBOSE,