From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-4.1 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id D627F1F8C6 for ; Fri, 30 Jul 2021 20:02:06 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 192913983C4D for ; Fri, 30 Jul 2021 20:02:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 192913983C4D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1627675326; bh=lGqCVcBS7GcIqlgfGBoV2iCbh+9OOjaJha2WBGzJqtU=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=gP2WoKSkBhANK5hCr/ylgRP8iPWQwYLn7Rx2Fk4jzPzIEZxI2VnxgqFK2vzpDhGPk i1yEub+d8q7X/fm3wm4FmLv97dMrx+nI+k5JjS7t//fZQFjnyBBI4qEP/e4honO7pP 4KALNdfOnoU2bg/U7YbeBnGkd0//ZOMjjSfxTluU= Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by sourceware.org (Postfix) with ESMTPS id B0D22397EC1F for ; Fri, 30 Jul 2021 19:47:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B0D22397EC1F Received: by mail-pj1-x1034.google.com with SMTP id b6so16732597pji.4 for ; Fri, 30 Jul 2021 12:47:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lGqCVcBS7GcIqlgfGBoV2iCbh+9OOjaJha2WBGzJqtU=; b=GhX2NJcDMVmAs0EeuWX/ZumnEuTAMVoUXFBAvZy3RvDpcan1g/rN7/Yg8xOVpQYGiB MM9SvrhHXD2rj3hXVzRSJRESdBa8kwKiNWf5gH54+aHcDkSVpq04fmPJe4K7diS0gkEf Sc8fyAmreNnWMwowen7j+Ib1s9hMIl7nlwzd0dm/4vZacLTkOxwMRMFft4gDbe/xKmvt Tdi3eU7OHexeumK2lM9DmcFxo8CgwTOuX7B2H7CdlX6RVTdWal1+syEp2YHuTN2WMhjf z8qkn/KxXb3LclimOWJBmcgg15CeZdZA0OxrIeVaYA4USiCL+gPzDnNy+y4dokjdUQB5 uQQg== X-Gm-Message-State: AOAM531itSzfJ0TXEUcvlFHxiUjdS06yLmcq4/jzFGmC6gk0Io322FjT VxQRDK28bxxQARNAAbWHESS4+XGPCO4zCA== X-Google-Smtp-Source: ABdhPJxJldpSNgvWu/kcJojmP2/noDqePKO9FswcZLI+/G0NtxROYwaakpuLHDZxpJsgMMmLZafMwA== X-Received: by 2002:a17:90b:1495:: with SMTP id js21mr4808000pjb.2.1627674478663; Fri, 30 Jul 2021 12:47:58 -0700 (PDT) Received: from birita.. ([2804:431:c7cb:43e2:6c33:fd81:e602:d33]) by smtp.gmail.com with ESMTPSA id c12sm3041426pfl.56.2021.07.30.12.47.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jul 2021 12:47:58 -0700 (PDT) To: libc-alpha@sourceware.org Subject: [PATCH v3 19/20] elf: Move LAV_CURRENT to link_lavcurrent.h Date: Fri, 30 Jul 2021 16:47:14 -0300 Message-Id: <20210730194715.881900-20-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210730194715.881900-1-adhemerval.zanella@linaro.org> References: <20210730194715.881900-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Adhemerval Zanella via Libc-alpha Reply-To: Adhemerval Zanella Cc: John Mellor-Crummey Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" No functional change. --- bits/link_lavcurrent.h | 25 +++++++++++++++++++++++++ elf/Makefile | 2 +- elf/link.h | 2 +- 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 bits/link_lavcurrent.h 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 + . */ + +#ifndef _LINK_H +# error "Never include directly; use instead." +#endif + +/* Version numbers for la_version handshake interface. */ +#define LAV_CURRENT 1 diff --git a/elf/Makefile b/elf/Makefile index 3e8adeee1d..2c508c3bfc 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -21,7 +21,7 @@ subdir := elf include ../Makeconfig -headers = elf.h bits/elfclass.h link.h bits/link.h +headers = elf.h bits/elfclass.h link.h bits/link.h bits/link_lavcurrent.h routines = $(all-dl-routines) dl-support dl-iteratephdr \ dl-addr dl-addr-obj enbl-secure dl-profstub \ dl-origin dl-libc dl-sym dl-sysdep dl-error \ diff --git a/elf/link.h b/elf/link.h index a4cd6864ad..af7a38d8fc 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 /* Activity types signaled through la_activity. */ enum -- 2.30.2