aboutsummaryrefslogtreecommitdiff
path: root/ld/lexsup.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/lexsup.c')
-rw-r--r--ld/lexsup.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/ld/lexsup.c b/ld/lexsup.c
index 8b1a1cd..7a88a9c 100644
--- a/ld/lexsup.c
+++ b/ld/lexsup.c
@@ -99,11 +99,13 @@ parse_args (argc, argv)
{"Tdata", required_argument, NULL, OPTION_TDATA},
#define OPTION_TTEXT 167
{"Ttext", required_argument, NULL, OPTION_TTEXT},
-#define OPTION_UR 168
+#define OPTION_TRADITIONAL_FORMAT 168
+ {"traditional-format", no_argument, NULL, OPTION_TRADITIONAL_FORMAT},
+#define OPTION_UR 169
{"Ur", no_argument, NULL, OPTION_UR},
-#define OPTION_VERSION 169
+#define OPTION_VERSION 170
{"version", no_argument, NULL, OPTION_VERSION},
-#define OPTION_WARN_COMMON 170
+#define OPTION_WARN_COMMON 171
{"warn-common", no_argument, NULL, OPTION_WARN_COMMON},
{NULL, no_argument, NULL, 0}
};
@@ -279,6 +281,9 @@ parse_args (argc, argv)
case OPTION_TTEXT:
set_section_start (".text", optarg);
break;
+ case OPTION_TRADITIONAL_FORMAT:
+ config.traditional_format = true;
+ break;
case OPTION_UR:
link_info.relocateable = true;
config.build_constructors = true;