On 19 August 2015 at 15:26, Jiong Wang <jiong.w...@arm.com> wrote: > 2015-08-19 Jiong Wang <jiong.w...@arm.com> > > gcc/ > * config/aarch64/aarch64.opt (mtls-size): New entry. > * config/aarch64/aarch64.c (initialize_aarch64_tls_size): New function. > (aarch64_override_options_internal): Call initialize_aarch64_tls_size. > * doc/invoke.texi (AArch64 Options): Document -mtls-size. > > -- > Regards, > Jiong >
+ case AARCH64_CMODEL_TINY: + /* The maximum TLS size allowed under tiny is 1M. */ + if (aarch64_tls_size > 20) + aarch64_tls_size = 20; The only valid values of aarch64_tls_size handled/expected by the remainder of the patch set is 12,24,32,48 so setting the value to 20 here doesn;t make sense. /Marcus