https://github.com/torvalds/linux
Revision 53d5fc89d66a778577295020dc57bb3ccec84354 authored by Linus Torvalds on 01 October 2021, 21:45:23 UTC, committed by Linus Torvalds on 01 October 2021, 21:45:23 UTC
Pull s390 fix from Vasily Gorbik:
 "One fix for 5.15-rc4: Avoid CIO excessive path-verification requests,
  which might cause unwanted delays"

* tag 's390-5.15-4' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
  s390/cio: avoid excessive path-verification requests
2 parent s f5b667d + 172da89
Raw File
Tip revision: 53d5fc89d66a778577295020dc57bb3ccec84354 authored by Linus Torvalds on 01 October 2021, 21:45:23 UTC
Merge tag 's390-5.15-4' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
Tip revision: 53d5fc8
hidden.h
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * When building position independent code with GCC using the -fPIC option,
 * (or even the -fPIE one on older versions), it will assume that we are
 * building a dynamic object (either a shared library or an executable) that
 * may have symbol references that can only be resolved at load time. For a
 * variety of reasons (ELF symbol preemption, the CoW footprint of the section
 * that is modified by the loader), this results in all references to symbols
 * with external linkage to go via entries in the Global Offset Table (GOT),
 * which carries absolute addresses which need to be fixed up when the
 * executable image is loaded at an offset which is different from its link
 * time offset.
 *
 * Fortunately, there is a way to inform the compiler that such symbol
 * references will be satisfied at link time rather than at load time, by
 * giving them 'hidden' visibility.
 */

#pragma GCC visibility push(hidden)
back to top