Reconciled c99 and loader arguments for float on NonStop TNS/E and TNS/X.
authorRandall S. Becker <rsbecker@nexbridge.com>
Fri, 9 Oct 2020 21:17:34 +0000 (15:17 -0600)
committerRichard Levitte <levitte@openssl.org>
Wed, 14 Oct 2020 02:16:59 +0000 (04:16 +0200)
The default settings are now IEEE float.

CLA: Permission is granted by the author to the ITUGLIB team to use these modifications.

Fixes #12919

Signed-off-by: Randall S. Becker <rsbecker@nexbridge.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13108)

Configurations/50-nonstop.conf

index 21cd64833dfb119060bbdb35d982a8d3ef5a406c..37ccbb40a5ed75de4890101f4d2d2dfd5966e3d0 100644 (file)
         template         => 1,
         lflags           => '-Wld="-set floattype tandem_float"',
     },
+    'nonstop-efloat-itanium' => {
+        template         => 1,
+        cflags           => '-WIEEE_float',
+        lflags           => '-Weld="-set floattype ieee_float"',
+    },
     'nonstop-nfloat-itanium' => {
         template         => 1,
         lflags           => '-Weld="-set floattype neutral_float"',
     },
     'nonstop-tfloat-itanium' => {
         template         => 1,
+        cflags           => '-WTandem_float',
         lflags           => '-Weld="-set floattype tandem_float"',
     },
+    'nonstop-efloat-x86_64' => {
+        template         => 1,
+        cflags           => '-WIEEE_float',
+        lflags           => '-Wxld="-set floattype ieee_float"',
+    },
     'nonstop-nfloat-x86_64' => {
         template         => 1,
         lflags           => '-Wxld="-set floattype neutral_float"',
     },
     'nonstop-tfloat-x86_64' => {
         template         => 1,
+        cflags           => '-WTandem_float',
         lflags           => '-Wxld="-set floattype tandem_float"',
     },
 
     'nonstop-nsx' => {
         inherit_from     => [ 'nonstop-common',
                               'nonstop-archenv-x86_64-oss',
-                              'nonstop-ilp32', 'nonstop-nfloat-x86_64',
+                              'nonstop-ilp32',
+                              'nonstop-efloat-x86_64',
                               'nonstop-model-floss' ],
         disable          => ['threads'],
     },
     'nonstop-nsx_put' => {
         inherit_from     => [ 'nonstop-common',
                               'nonstop-archenv-x86_64-oss',
-                              'nonstop-ilp32', 'nonstop-nfloat-x86_64',
+                              'nonstop-ilp32',
+                              'nonstop-efloat-x86_64',
                               'nonstop-model-put' ],
     },
     'nonstop-nsx_64' => {
         inherit_from     => [ 'nonstop-common',
                               'nonstop-archenv-x86_64-oss',
-                              'nonstop-lp64-x86_64', 'nonstop-nfloat-x86_64',
+                              'nonstop-lp64-x86_64',
+                              'nonstop-efloat-x86_64',
                               'nonstop-model-floss' ],
         disable          => ['threads'],
     },
     'nonstop-nsx_64_put' => {
         inherit_from     => [ 'nonstop-common',
                               'nonstop-archenv-x86_64-oss',
-                              'nonstop-lp64-x86_64', 'nonstop-nfloat-x86_64',
+                              'nonstop-lp64-x86_64',
+                              'nonstop-efloat-x86_64',
                               'nonstop-model-put' ],
     },
     'nonstop-nsx_spt' => {
         inherit_from     => [ 'nonstop-common',
                               'nonstop-archenv-x86_64-oss', 
-                              'nonstop-ilp32', 'nonstop-nfloat-x86_64',
+                              'nonstop-ilp32',
+                              'nonstop-efloat-x86_64',
                               'nonstop-model-spt' ],
     },
     'nonstop-nsx_spt_floss' => {
         inherit_from     => [ 'nonstop-common',
                               'nonstop-archenv-x86_64-oss',
-                              'nonstop-ilp32', 'nonstop-nfloat-x86_64',
+                              'nonstop-ilp32',
+                              'nonstop-efloat-x86_64',
                               'nonstop-model-floss', 'nonstop-model-spt'],
     },
     'nonstop-nsx_g' => {
     'nonstop-nse' => {
         inherit_from     => [ 'nonstop-common',
                               'nonstop-archenv-itanium-oss',
-                              'nonstop-ilp32', 'nonstop-nfloat-itanium',
+                              'nonstop-ilp32',
+                              'nonstop-efloat-itanium',
                               'nonstop-model-floss' ],
         disable          => ['threads'],
     },
     'nonstop-nse_put' => {
         inherit_from     => [ 'nonstop-common',
                               'nonstop-archenv-itanium-oss',
-                              'nonstop-ilp32', 'nonstop-nfloat-itanium',
+                              'nonstop-ilp32',
+                              'nonstop-efloat-itanium',
                               'nonstop-model-put' ],
     },
     'nonstop-nse_64' => {
         inherit_from     => [ 'nonstop-common',
                               'nonstop-archenv-itanium-oss',
-                              'nonstop-lp64-itanium', 'nonstop-nfloat-itanium',
+                              'nonstop-lp64-itanium',
+                              'nonstop-efloat-itanium',
                               'nonstop-model-floss' ],
         disable          => ['threads'],
     },
     'nonstop-nse_64_put' => {
         inherit_from     => [ 'nonstop-common',
                               'nonstop-archenv-itanium-oss',
-                              'nonstop-lp64-itanium', 'nonstop-nfloat-itanium',
+                              'nonstop-lp64-itanium',
+                              'nonstop-efloat-itanium',
                               'nonstop-model-put' ],
     },
     'nonstop-nse_spt' => {
         inherit_from     => [ 'nonstop-common',
                               'nonstop-archenv-itanium-oss',
-                              'nonstop-ilp32', 'nonstop-nfloat-itanium',
+                              'nonstop-ilp32',
+                              'nonstop-efloat-itanium',
                               'nonstop-model-spt' ],
     },
     'nonstop-nse_spt_floss' => {
         inherit_from     => [ 'nonstop-common',
                               'nonstop-archenv-itanium-oss',
-                              'nonstop-ilp32', 'nonstop-nfloat-itanium',
+                              'nonstop-ilp32',
+                              'nonstop-efloat-itanium',
                               'nonstop-model-floss', 'nonstop-model-spt' ],
     },
     'nonstop-nse_g' => {