From: Laszlo Ersek Date: Thu, 27 Feb 2020 21:39:02 +0000 (+0100) Subject: ArmVirtPkg: convert LFs to CRLF X-Git-Tag: edk2-stable202005~366 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=a5c2ce7cd136ee959951c5f220ff5d3018d4ac3b ArmVirtPkg: convert LFs to CRLF 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 Cc: Leif Lindholm Cc: Philippe Mathieu-Daudé Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1659 Signed-off-by: Laszlo Ersek Message-Id: <20200227213903.13884-3-lersek@redhat.com> Acked-by: Ard Biesheuvel Reviewed-by: Philippe Mathieu-Daude --- diff --git a/ArmVirtPkg/Include/Platform/Hidden.h b/ArmVirtPkg/Include/Platform/Hidden.h index c69cc662fa..7a7bdb42b8 100644 --- a/ArmVirtPkg/Include/Platform/Hidden.h +++ b/ArmVirtPkg/Include/Platform/Hidden.h @@ -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 + + 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