Don't define _FORTIFY_SOURCE on MinGW
[deliverable/binutils-gdb.git] / libiberty / simple-object-xcoff.c
index 0ef2a465bcaea75cd8cd37e5852c48bd850b5395..60676567e8e8859d6f18201a0d449f42607f7799 100644 (file)
@@ -1,5 +1,5 @@
 /* simple-object-coff.c -- routines to manipulate XCOFF object files.
-   Copyright (C) 2013-2018 Free Software Foundation, Inc.
+   Copyright (C) 2013-2019 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google and David Edelsohn, IBM.
 
 This program is free software; you can redistribute it and/or modify it
@@ -606,11 +606,14 @@ simple_object_xcoff_find_sections (simple_object_read *sobj,
                      || auxent->u.xcoff64.x_csect.x_smclas != XMC_XO)
                    continue;
 
-                 x_scnlen64 = fetch_32 (aux + offsetof (union external_auxent,
-                                                        u.xcoff64.x_csect.x_scnlen_hi));
-                 x_scnlen = x_scnlen64 << 32
-                            | fetch_32 (aux + offsetof (union external_auxent,
-                                                        u.xcoff64.x_csect.x_scnlen_lo));
+                 x_scnlen64 = 
+                   fetch_32 (aux + offsetof (union external_auxent,
+                                             u.xcoff64.x_csect.x_scnlen_hi));
+                 x_scnlen = 
+                   ((x_scnlen64 << 32)
+                    | fetch_32 (aux
+                                + offsetof (union external_auxent,
+                                            u.xcoff64.x_csect.x_scnlen_lo)));
                }
              else
                {
This page took 0.034461 seconds and 4 git commands to generate.