]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmVirtPkg: convert LFs to CRLF
authorLaszlo Ersek <lersek@redhat.com>
Thu, 27 Feb 2020 21:39:02 +0000 (22:39 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 4 Mar 2020 12:22:07 +0000 (12:22 +0000)
We're going to switch the internal line terminators globally to LF at some
point, but until then, let's use CRLF consistently. Convert source files
with LFs in them to CRLF, using "unix2dos".

"git show -b" prints no code changes for this patch.

(I collected all the file name suffixes in this package, with:

$ git ls-files -- $PACKAGE | rev | cut -f 1 -d . | sort -u | rev

I eliminated those suffixes that didn't stand for text files, then
blanket-converted the rest with unix2dos. Finally, picked up the actual
changes with git-add.)

The CRLF conversion is motivated by "PatchCheck.py".

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1659
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20200227213903.13884-3-lersek@redhat.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
ArmVirtPkg/Include/Platform/Hidden.h

index c69cc662fa6258516d9cd22fa4b0f63c73f80e9c..7a7bdb42b8bd03bfbed66dd5565bc52170f1c010 100644 (file)
@@ -1,22 +1,22 @@
-/** @file
-
-  Copyright (c) 2018, Linaro Limited. All rights reserved.
-
-  SPDX-License-Identifier: BSD-2-Clause-Patent
-
-**/
-
-#ifndef __PLATFORM_HIDDEN_H
-#define __PLATFORM_HIDDEN_H
-
-//
-// Setting the GCC -fvisibility=hidden command line option is not quite the same
-// as setting the pragma below: the former only affects definitions, whereas the
-// pragma affects extern declarations as well. So if we want to ensure that no
-// GOT indirected symbol references are emitted, we need to use the pragma, or
-// GOT based cross object references could be emitted, e.g., in libraries, and
-// these cannot be relaxed to ordinary symbol references at link time.
-//
-#pragma GCC visibility push (hidden)
-
-#endif
+/** @file\r
+\r
+  Copyright (c) 2018, Linaro Limited. All rights reserved.\r
+\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
+**/\r
+\r
+#ifndef __PLATFORM_HIDDEN_H\r
+#define __PLATFORM_HIDDEN_H\r
+\r
+//\r
+// Setting the GCC -fvisibility=hidden command line option is not quite the same\r
+// as setting the pragma below: the former only affects definitions, whereas the\r
+// pragma affects extern declarations as well. So if we want to ensure that no\r
+// GOT indirected symbol references are emitted, we need to use the pragma, or\r
+// GOT based cross object references could be emitted, e.g., in libraries, and\r
+// these cannot be relaxed to ordinary symbol references at link time.\r
+//\r
+#pragma GCC visibility push (hidden)\r
+\r
+#endif\r