From patchwork Tue Jun 21 05:06:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 70502 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp1830625qgy; Mon, 20 Jun 2016 22:08:33 -0700 (PDT) X-Received: by 10.66.167.103 with SMTP id zn7mr25790759pab.149.1466485713332; Mon, 20 Jun 2016 22:08:33 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id 2si37780463pfh.24.2016.06.20.22.08.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jun 2016 22:08:33 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-70812-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org; spf=pass (google.com: domain of libc-alpha-return-70812-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-70812-patch=linaro.org@sourceware.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type; q=dns; s=default; b=LkLax ygl+5BCKdf4cppVK+ocjdgbiY/wui53GcfRHpkRPHHJBd2mqGvOB4b4ItFu9DOI5 se0Wds3+tLbqyRztPbhoQCRtWbDB1zj+9c1wJ8eVEq3Nky4VVepKVtACDLEX9NJS IxAkpv7VBjrRQCpDFmQ4JXiDajW3Ar64DY5VnE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type; s=default; bh=9W5XFvdZwiW S6IY7nMrOkfQEoE0=; b=ffDu5pg1MU/faaSyW934tjcZQOC4N+LJ0O/V6AJyKs6 7eC1IajfPzz1/V5706yFsGRM6t0F7xKy8Lgo8WzBu9/K8V3gHiSne2cX/bTHiQt0 PK9Ypc3ZC5Zxw8Ek/bZIc0dM9W1psVMDsShIpHG48IKxv+I3NGoy2GHdHnp51560 = Received: (qmail 104314 invoked by alias); 21 Jun 2016 05:08:22 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 104304 invoked by uid 89); 21 Jun 2016 05:08:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1560, H*r:sk:mail-by, H*r:sk:na01-by, H*r:207.46.100 X-HELO: na01-by2-obe.outbound.protection.outlook.com Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; From: Yury Norov To: , CC: , , , , , , , , , Andrew Pinski , Yury Norov Subject: [PATCH 02/27] [AARCH64] Add header guards to sysdep.h headers. Date: Tue, 21 Jun 2016 08:06:46 +0300 Message-ID: <1466485631-3532-4-git-send-email-ynorov@caviumnetworks.com> In-Reply-To: <1466485631-3532-1-git-send-email-ynorov@caviumnetworks.com> References: <1466485631-3532-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-ClientProxiedBy: HE1PR03CA0016.eurprd03.prod.outlook.com (10.163.170.154) To DM3PR07MB2249.namprd07.prod.outlook.com (10.164.33.147) X-MS-Office365-Filtering-Correlation-Id: 6a423f76-fc34-4ceb-b851-08d39992073d X-Microsoft-Exchange-Diagnostics: 1; DM3PR07MB2249; 2:4Z5gVcGDeMY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3Ge+Q1Tz5IuMzJTivMljC/koUyaVyMmbTU8Xhald4zbeFAsFY0xlEvmsTLQEZ71X6TGT6htmRvFpWCAmBhDL+K2MSo7jUOAVYxMvYm3q50khKWO0Bz9PgkCMSpxUo/j2jL3Gj2xhO8qk9u6ELKyYHAE6ngLqgn+81qkaPQsz+1u/szkfhZe6kgqHPrxPzQJcwKJc3E0kY9yHk4aO3iMjlfZV7S9BgU81T4iPiPT95nDzAjN5DoYEqIvq8TX99MXrOfob6DIatSOOve0gmNCxBJdSb9kokCcWVdRNGEY9Qfg6VXCSOAbjGP4ENpIEEP8DVsveeDyJRqxzDXQHjQIV7USYX1ivicQ9pyjtYWgorKYDWA7GUv0k344= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(250305191791016)(22074186197030); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:DM3PR07MB2249; BCL:0; PCL:0; RULEID:; SRVR:DM3PR07MB2249; X-Microsoft-Exchange-Diagnostics: 1; DM3PR07MB2249; 4:ED8QsHVxQQ+7TgfJ5KumKRFdr2MDYAVbWsUIZX7GGfUsl1NGVRvYebWyth8mRMfz5JvjnyokmvqcPM3bBrGYvUR2e5Aw1H4+NxhU+cpx3Zw/fi3YEih1t8z/fET9kxTHwKvVQ8z5mTO0SPS4hcm3HeIgh5sUNuIkbtQ+sEZtz9PPPZ5lZRlv/3/48coLDbBpG01pPlzPuz0wC3Ok1ntiGeJe0CebVUJ5JGc6UN7ELmU7an/e/xc6seQu970E12fRCvs1H2qlbrm8ypbyXVvCbq7o2U1MehY69NPDYdef8BG/vflk+HOdlBZCP5YKiKeH8kM3V2bZwsbhx4ekhG00Kz513XewbzNf7UYJJ1fm3QS4fscp0BPE19i1P/DnQ5dmEYlyhb4ibhCX9sOA0yfF6pYEJamx0fefVRq7YlAAnt9PtRYwhjO3tqw3dZzl13se X-Forefront-PRVS: 098076C36C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(199003)(189002)(2906002)(106356001)(33646002)(92566002)(8676002)(19580405001)(19580395003)(36756003)(97736004)(76506005)(48376002)(7846002)(50466002)(7736002)(15975445007)(68736007)(5003940100001)(101416001)(4326007)(575784001)(189998001)(107886002)(42186005)(50226002)(50986999)(76176999)(6116002)(66066001)(3846002)(81166006)(229853001)(77096005)(81156014)(2950100001)(105586002)(4001430100002)(47776003)(586003)(5001770100001)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM3PR07MB2249; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: caviumnetworks.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM3PR07MB2249; 23:8UypD/AtO8AdJoTJZkITdimIBofhag7WNbgk86QTn?= =?us-ascii?Q?bZeFa1iuPlqitXApgrjnWIXus/FdarufR1H6ptQOcwGmxipaINf+DD5Y5v5G?= =?us-ascii?Q?seGNRzlqjzWiKOx3ZQJKsgv9dsiK7iPo0jpsFV+wRbydwNQLj/nzQ98p7li1?= =?us-ascii?Q?bLda4Py25FybMhrbb1/2qippAbrQPGOcm+zrf1v7LvCW5szZkOov9qV8qp9Z?= =?us-ascii?Q?UFXqSqbWQFcCPdE0FSILMyCal4SN2KxP6k/UoYeXaMJyko8DoiqzJMogwiu3?= =?us-ascii?Q?jJZlacVnhhXAVVcPVyzqaMrB7DUOyGyVH+yrYB12ZpipoZycQR8/KAQn1kZo?= =?us-ascii?Q?9YnBPRTPSSmpOrcJcTrBmo6vo9mihQAhsyqWZTg7pNTBPgclxAQkxlYBKK00?= =?us-ascii?Q?a/jvLQ+FwxmumjWhZ0DBDTD5wejctirSXjxazhSMAu/Vr3E7byCsBq8A/oJM?= =?us-ascii?Q?1hnQf/JjdjVDAMxmpM65151jIsa4P2OQlVPPOtWYio2pbRgFzrNu328s17JF?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VvwRk2f/E7DAWKa9X04EXc0PLEQcZX+Mgbqn+AyMnLFSY+oG6sbnrqVz5yKO7m8IOkAceGrJIZjSWqaYvltbLk6NQhZod2BZfGNeXIkbBI=; 5:076+oCWldSqxbZ1poo/AIasRjBFRRvSz5mdk4rBPPNrZCHv5NQzyS9zmDUP95cHC70jAtEvVhMtwgYibSMAY5CycVpmKW3yWe+jZ1st3kD0tFUONtooOekue/mTFx6I1jwz/si9ykuGPDxrkvIIHhw==; 24:CeBuQnijWs4hJdve5KFQQLp8PIero/73uQE4wbHvozVa/WlXDFJzvdRMfNuHWCgUgWjMKq5y67hi1lUd3skrw/BAEl1mUoVfyaMu7lbhiMA=; 7:7u3hz1H/kxclHmqsUIISYl8lTHEgO8eCiNet6f94oRu/4iFO/zoFlojaaKDK3KLRmJuNfJqwNoVI5SYkZSaZrmzbg6UhEkMBHWhFTgD2h+7sr+jkTcSAD/tPJ7fl5C4RO/eE5+1mdhuQoqsoHI+Oqw+0x4h7lu7wo3M7V1tXeFyeAaiYAg+ZZhunxiYgEawPEB9TrC8fHQ40gHeAzbpujlomjBbWA7fc1OOKzuMWyLs0xnfLhay+sbAXyIOAsG2W SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2016 05:08:05.0778 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3PR07MB2249 From: Andrew Pinski * sysdeps/aarch64/sysdep.h: Add header guards. [AARCH64] Remove 64 from some relocation names as they have been renamed in later versions of the spec. The AARCH64 elf ABI spec renamed some relocations removing 64 from the TLS relocation names to make them constaint with the ILP32 named ones. * elf/elf.h (R_AARCH64_TLS_DTPMOD64): Rename to .. (R_AARCH64_TLS_DTPMOD): This. (R_AARCH64_TLS_DTPREL64): Rename to ... (R_AARCH64_TLS_DTPREL): This. (R_AARCH64_TLS_TPREL64): Rename to ... (R_AARCH64_TLS_TPREL): This. * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and R_AARCH64_TLS_TPREL64. (elf_machine_rela): Likewise. [AARCH64] Fix pltenter and pltexit for ILP32. * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use ElfW macro instead of hardcoded Elf64 types. Signed-off-by: Yury Norov --- sysdeps/aarch64/sysdep.h | 5 +++++ 1 file changed, 5 insertions(+) -- 2.7.4 diff --git a/sysdeps/aarch64/sysdep.h b/sysdeps/aarch64/sysdep.h index 6b728ec..594ab0b 100644 --- a/sysdeps/aarch64/sysdep.h +++ b/sysdeps/aarch64/sysdep.h @@ -16,6 +16,9 @@ License along with the GNU C Library; if not, see . */ +#ifndef _AARCH64_SYSDEP_H +#define _AARCH64_SYSDEP_H + #include #ifdef __ASSEMBLER__ @@ -96,3 +99,5 @@ #define mcount _mcount #endif /* __ASSEMBLER__ */ + +#endif /* _AARCH64_SYSDEP_H */