Hi, the name PRNTF was not well chosen, and I prefer to rename it to LDBL to make it clear that it refers to long double.
Applied on trunk. Tristan. 2012-03-06 Tristan Gingold <ging...@adacore.com> * config/vms/vms.c (VMS_CRTL_LDBL): Rename from VMS_CRTL_PRNTF. * config/vms/vms-crtlmap.map: Rename PRNTF to LDBL. Index: gcc/config/vms/vms-crtlmap.map =================================================================== --- gcc/config/vms/vms-crtlmap.map (revision 184981) +++ gcc/config/vms/vms-crtlmap.map (working copy) @@ -13,10 +13,10 @@ # - map lines consist in an identifier optionnaly followed by at most 2 # space-separated flags. # Flags are: -# FLOAT: will be prefixed by 'x' +# FLOAT: will be prefixed by 't'/'g'/'d' # 64: There is a 64-bit variant # BSD44: name will be prefixed by __bsd44__ -# PRNTF: a 't' prefix will be added. +# LDBL: a 'x' prefix will be added if 128 bit long doubles are enabled. # MALLOC: malloc related function. # # Keep entries alpha-sorted - this is enforced by the awk script. @@ -75,7 +75,7 @@ fgets 64 floor FLOAT fopen -fprintf FLOAT PRNTF +fprintf FLOAT LDBL fputc fputs fread @@ -132,7 +132,7 @@ perror popen pow FLOAT -printf FLOAT PRNTF +printf FLOAT LDBL putc putchar putenv @@ -157,9 +157,9 @@ signal sigsetmask sin FLOAT -snprintf FLOAT PRNTF +snprintf FLOAT LDBL socket -sprintf FLOAT PRNTF +sprintf FLOAT LDBL sqrt FLOAT stat strcasecmp @@ -191,10 +191,10 @@ ungetc unlink utime -vfprintf FLOAT PRNTF -vprintf FLOAT PRNTF -vsnprintf FLOAT PRNTF -vsprintf FLOAT PRNTF +vfprintf FLOAT LDBL +vprintf FLOAT LDBL +vsnprintf FLOAT LDBL +vsprintf FLOAT LDBL wait waitpid wcswidth Index: gcc/config/vms/vms.c =================================================================== --- gcc/config/vms/vms.c (revision 184981) +++ gcc/config/vms/vms.c (working copy) @@ -42,8 +42,9 @@ rule. */ #define VMS_CRTL_BSD44 (1 << 3) -/* Prepend x before the name for printf like functions. */ -#define VMS_CRTL_PRNTF (1 << 4) +/* Prepend x before the name for if 128 bit long doubles are enabled. This + concern mostly 'printf'-like functions. */ +#define VMS_CRTL_LDBL (1 << 4) /* Prepend ga_ for global data. */ #define VMS_CRTL_GLOBAL (1 << 5) @@ -135,7 +136,7 @@ if (n->flags & VMS_CRTL_FLOAT) res[rlen++] = 't'; - if (n->flags & VMS_CRTL_PRNTF) + if (n->flags & VMS_CRTL_LDBL) res[rlen++] = 'x'; nlen = strlen (n->name);