public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Carlos O'Donell <carlos@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc/release/2.34/master] elf: Move LAV_CURRENT to link_lavcurrent.h Date: Tue, 12 Apr 2022 19:43:48 +0000 (GMT) [thread overview] Message-ID: <20220412194348.B18793858418@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a31bbe3242266aaea423e5879f38aed69aea1d5e commit a31bbe3242266aaea423e5879f38aed69aea1d5e Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Thu Jul 29 11:13:57 2021 -0300 elf: Move LAV_CURRENT to link_lavcurrent.h No functional change. (cherry picked from commit 54816ae98d57930b7c945f17485714a5574bfe47) Resolved conflicts: elf/Makefile Diff: --- bits/link_lavcurrent.h | 25 +++++++++++++++++++++++++ elf/Makefile | 1 + elf/link.h | 2 +- 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/bits/link_lavcurrent.h b/bits/link_lavcurrent.h new file mode 100644 index 0000000000..44fbea1e80 --- /dev/null +++ b/bits/link_lavcurrent.h @@ -0,0 +1,25 @@ +/* Data structure for communication from the run-time dynamic linker for + loaded ELF shared objects. LAV_CURRENT definition. + Copyright (C) 2021 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + <https://www.gnu.org/licenses/>. */ + +#ifndef _LINK_H +# error "Never include <bits/link_lavcurrent.h> directly; use <link.h> instead." +#endif + +/* Version numbers for la_version handshake interface. */ +#define LAV_CURRENT 1 diff --git a/elf/Makefile b/elf/Makefile index af4ccb978c..e9cc85544d 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -24,6 +24,7 @@ include ../Makeconfig headers = \ bits/elfclass.h \ bits/link.h \ + bits/link_lavcurrent.h \ elf.h \ link.h \ # headers diff --git a/elf/link.h b/elf/link.h index ff3a85c847..21a351686b 100644 --- a/elf/link.h +++ b/elf/link.h @@ -96,7 +96,7 @@ struct link_map #ifdef __USE_GNU /* Version numbers for la_version handshake interface. */ -#define LAV_CURRENT 1 +#include <bits/link_lavcurrent.h> /* Activity types signaled through la_activity. */ enum
reply other threads:[~2022-04-12 19:43 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220412194348.B18793858418@sourceware.org \ --to=carlos@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).