From ccdfb97546e2fed58cf7e1fc6cb579df968d5289 Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Tue, 10 Apr 2018 20:54:08 +0200 Subject: [PATCH] rs6000: Improve --help=target (PR85321) This updates the help text for some options to mention the allowed values for -mXX=XX. PR target/85321 * config/rs6000/rs6000.opt (mtraceback=): Show the allowed values in the help text. (mlong-double-): Ditto. * config/rs6000/sysv4.opt (msdata=): Ditto. (mtls-size=): Ditto. From-SVN: r259296 --- gcc/ChangeLog | 9 +++++++++ gcc/config/rs6000/rs6000.opt | 4 ++-- gcc/config/rs6000/sysv4.opt | 4 ++-- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb2646be860..68b05491bda 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2018-04-10 Segher Boessenkool + + PR target/85321 + * config/rs6000/rs6000.opt (mtraceback=): Show the allowed values in + the help text. + (mlong-double-): Ditto. + * config/rs6000/sysv4.opt (msdata=): Ditto. + (mtls-size=): Ditto. + 2018-04-10 Kelvin Nilsen * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Remove diff --git a/gcc/config/rs6000/rs6000.opt b/gcc/config/rs6000/rs6000.opt index 2ce19cefa8f..596f3fb029e 100644 --- a/gcc/config/rs6000/rs6000.opt +++ b/gcc/config/rs6000/rs6000.opt @@ -407,7 +407,7 @@ Target RejectNegative Joined Var(rs6000_tune_index) Init(-1) Enum(rs6000_cpu_opt mtraceback= Target RejectNegative Joined Enum(rs6000_traceback_type) Var(rs6000_traceback) --mtraceback= Select full, part, or no traceback table. +-mtraceback=[full,part,no] Select type of traceback table. Enum Name(rs6000_traceback_type) Type(enum rs6000_traceback_type) @@ -435,7 +435,7 @@ Warn about deprecated 'vector long ...' AltiVec type usage. mlong-double- Target RejectNegative Joined UInteger Var(rs6000_long_double_type_size) Save --mlong-double- Specify size of long double (64 or 128 bits). +-mlong-double-[64,128] Specify size of long double. ; This option existed in the past, but now is always on. mlra diff --git a/gcc/config/rs6000/sysv4.opt b/gcc/config/rs6000/sysv4.opt index fb03c0ac80a..50be7b1920a 100644 --- a/gcc/config/rs6000/sysv4.opt +++ b/gcc/config/rs6000/sysv4.opt @@ -25,7 +25,7 @@ Select ABI calling convention. msdata= Target RejectNegative Joined Var(rs6000_sdata_name) -Select method for sdata handling. +-msdata=[none,data,sysv,eabi] Select method for sdata handling. mreadonly-in-sdata Target Report Var(rs6000_readonly_in_sdata) Init(1) Save @@ -33,7 +33,7 @@ Allow readonly data in sdata. mtls-size= Target RejectNegative Joined Var(rs6000_tls_size) Enum(rs6000_tls_size) -Specify bit size of immediate TLS offsets. +-mtls-size=[16,32] Specify bit size of immediate TLS offsets. Enum Name(rs6000_tls_size) Type(int) -- 2.30.2