get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/638476/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 638476,
    "url": "http://patchwork.ozlabs.org/api/patches/638476/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/glibc/patch/1466485631-3532-22-git-send-email-ynorov@caviumnetworks.com/",
    "project": {
        "id": 41,
        "url": "http://patchwork.ozlabs.org/api/projects/41/?format=api",
        "name": "GNU C Library",
        "link_name": "glibc",
        "list_id": "libc-alpha.sourceware.org",
        "list_email": "libc-alpha@sourceware.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1466485631-3532-22-git-send-email-ynorov@caviumnetworks.com>",
    "list_archive_url": null,
    "date": "2016-06-21T05:07:04",
    "name": "[20/27,AARCH64] Make lp64 and ilp32 directories.",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "100c89e999800d607fa455975d099e00bf90fa82",
    "submitter": {
        "id": 68471,
        "url": "http://patchwork.ozlabs.org/api/people/68471/?format=api",
        "name": "Yury Norov",
        "email": "ynorov@caviumnetworks.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/glibc/patch/1466485631-3532-22-git-send-email-ynorov@caviumnetworks.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/638476/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/638476/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<libc-alpha-return-70833-incoming=patchwork.ozlabs.org@sourceware.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "mailing list libc-alpha@sourceware.org"
        ],
        "Received": [
            "from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3rYbY200SHz9s9Z\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 21 Jun 2016 15:16:05 +1000 (AEST)",
            "(qmail 28276 invoked by alias); 21 Jun 2016 05:13:35 -0000",
            "(qmail 20718 invoked by uid 89); 21 Jun 2016 05:13:31 -0000"
        ],
        "Authentication-Results": [
            "ozlabs.org; dkim=pass (1024-bit key;\n\tsecure) header.d=sourceware.org header.i=@sourceware.org\n\theader.b=VPeEpNWc; dkim-atps=neutral",
            "sourceware.org; auth=none",
            "spf=none (sender IP is )\n\tsmtp.mailfrom=Yuri.Norov@caviumnetworks.com; "
        ],
        "DomainKey-Signature": "a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-type; q=dns; s=default; b=wqu18\n\tHhDBIwhK7Q+/kPjdP6H/cNvTKJCUkags/AF8lAs1jlKf+mXkVHibQ0Fh18GhLcgn\n\t91Rcun1LpImFUhQRm6tVocHwWPNuTET8ED4IhcWYal2+gBCp2ScA+UzLbDSmtAnd\n\tWEgPpXC+dYLfiGuNyYCQ9s2cUiSfBAfVEtiT/s=",
        "DKIM-Signature": "v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-type; s=default; bh=KYnmBzy8aMG\n\tgX5KB8fZzRcPrsE4=; b=VPeEpNWc7/381v3i2gPLBavPTY/UGeUL2amdc8x96Od\n\t9NfCsvrjX55G5UOeodgUByN0FIOXVoHkZ/HP4ETSyhk/PPGGaQ1UI8t5VJKr8UsK\n\t3V3h3/MkHPBTQ+C3/No2iGA0jiaX9L+H9U8xVPor7ozVa9h/Ybm2d/S4Qj00BqD0\n\t=",
        "Mailing-List": "contact libc-alpha-help@sourceware.org; run by ezmlm",
        "Precedence": "bulk",
        "List-Id": "<libc-alpha.sourceware.org>",
        "List-Unsubscribe": "<mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org>",
        "List-Subscribe": "<mailto:libc-alpha-subscribe@sourceware.org>",
        "List-Archive": "<http://sourceware.org/ml/libc-alpha/>",
        "List-Post": "<mailto:libc-alpha@sourceware.org>",
        "List-Help": "<mailto:libc-alpha-help@sourceware.org>,\n\t<http://sourceware.org/ml/#faqs>",
        "Sender": "libc-alpha-owner@sourceware.org",
        "X-Virus-Found": "No",
        "X-Spam-SWARE-Status": "No, score=-1.6 required=5.0 tests=AWL, BAYES_00,\n\tRCVD_IN_DNSWL_NONE,\n\tSPF_HELO_PASS autolearn=ham version=3.3.2 spammy=4095, prot,\n\tname_len, 20092016",
        "X-HELO": "na01-by2-obe.outbound.protection.outlook.com",
        "From": "Yury Norov <ynorov@caviumnetworks.com>",
        "To": "<libc-alpha@sourceware.org>, <linux-kernel@vger.kernel.org>",
        "CC": "<arnd@arndb.de>, <catalin.marinas@arm.com>, <marcus.shawcroft@arm.com>, \n\t<philb@gnu.org>, <davem@davemloft.net>, <szabolcs.nagy@arm.com>,\n\t<maxim.kuvyrkov@linaro.org>, <joseph@codesourcery.com>,\n\t<pinskia@gmail.com>, Andrew Pinski <apinski@cavium.com>,\n\tYury Norov <ynorov@caviumnetworks.com>",
        "Subject": "[PATCH 20/27] [AARCH64] Make lp64 and ilp32 directories.",
        "Date": "Tue, 21 Jun 2016 08:07:04 +0300",
        "Message-ID": "<1466485631-3532-22-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",
        "Content-Type": "text/plain",
        "X-ClientProxiedBy": "HE1PR03CA0002.eurprd03.prod.outlook.com (10.163.170.140)\n\tTo SN1PR07MB2255.namprd07.prod.outlook.com (10.164.47.149)",
        "X-MS-Office365-Filtering-Correlation-Id": "650e552e-07e5-43db-6c6a-08d39992803a",
        "X-Microsoft-Exchange-Diagnostics": [
            "1; SN1PR07MB2255;\n\t2:p2XcVk8r8ZXzo4ZW0auW6UppvDHDPSU24w56XJomZSUn4VKsbpFGiHVegpjWP9clkttlvL7ubYkslGcuJGsw2bRD9xO5EfcFIjZHC0wPfD/HloiZ+OcvNwQrfrX12744QY7Xga6agVvMDRzuMHQ4QSwgnVJOHueQWPdyCT2EjEBjxK4ok60dD7ZV/5bj+JLX;\n\t3:rNzONyZIMPdeqGXA8H30X7RXycjV1ufS31w4+oxoHVb/1Ayvxg7JCS4Ejp1hAv/N9bruV+FrmuV8/QlN0yH7J+KP912bFuu/mLIVbWVCxrCoe6tP6hNGTXZunkkv/9e5",
            "1; SN1PR07MB2255;\n\t25:YI942FXZt/P3H7QeWmI6DWAjnjegyJPDBlTE/lA4WBGseGD565zaMkvLHoNtG6y6Lk846b+8wuTQklbZn/Fs/b5553Ehk8GASd6u+BqKN8RdgNodDzGq889k+Cx/u6zUYquCLYvP5LEiZta+d1rXVvSzfpn9nWzBXb/KiTPjUi8Xdyi5HJE8CGx0dGsWh+V2kN/Se9ftSNuYh7MCQox0AaNm8UYSzxju3zZHBKMXJEYJpZdcs5WbSq0l9cvNdKQlCIPyfZlyZUS3wiFTPDeaq589rBS0HrhHrlHkjrG1LFTNslrWYA7NllSy59dYMs9QE77ZMnrbUye6ZLiafsK54N1LQ7H6GAd//yU812RBJpoEES96onetyRCjwd21lciCUHld7H4OPMVBXv+uTeJMiKjr3F/cUosFhrESLwnxZiBFyND4ZtjLkhrmkJ2czU3ATs+rtexNJ2649oBA/FiK4MBhwm9eaMoz46VQg/UcjRjZUgN0xIMj2I8PO1MopDsdyjPIiK4AginMMggR1a8DFEFqxQZANiIpxvsd/l9n7p7EDGli1VKFcS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MIsNuJ4SdrfHQZFgSuLiy7YhzdYxOQ2j3TA7t3/WKalmwKJnMf9DXxG7MNvGPjofSP+HyPx/9vEftR/o25eHW0UmBtw=;\n\t5:ttwrLpuNgq+WZRjBoShQ4rt6anC5q04QGIit44VJ5Xwb9JSxyMgpYfkU4SGOVvVl/jhXMPY1UM1vALKBQcL7vhS5sSOhArXs4n+KFfYGcC+ovC9bauYtA70SHCvnuYUL/ysm7Lx3TgKjdOVmhrolFQ==;\n\t24:5aVBP6P1KJEXQItuEuJHhZNvLZiD50VmA+Uad0/UgYRn/jhVB3l3yHkPa1vljHMJCRZlz6wHelpti8qQ3jR3uYYMPi9AKs+AeMKoiIv9jcE=;\n\t7:ruOPECmR8YhBmgWBev0tOMrQ6xvdFFUdqBFCdlNSk/CUpKouNaoVgPQ0F8rNwWKbdZ8tCDLvpD+G38XWhYjP6by1bcdvzD8G/rLDmx0f2p29uzgJ0aLpNrJNPnYAdGFRMbbIZKR9/SV856vMsf65UBaCoR6VApjKeFQgfta1zZwWzZTy5igEGnyfi5t1e+x7eXmnRpFxXgs9JzQRwBiE2OZPEheB3KWmNUssGYF8vMDUGpBo7qqjmtfT5aM82KDD"
        ],
        "X-Microsoft-Antispam": "UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR07MB2255;",
        "X-Microsoft-Antispam-PRVS": "<SN1PR07MB225516E98A257134CB0F7843EE2B0@SN1PR07MB2255.namprd07.prod.outlook.com>",
        "X-Exchange-Antispam-Report-Test": "UriScan:(250305191791016)(22074186197030);",
        "X-Exchange-Antispam-Report-CFA-Test": "BCL:0; PCL:0;\n\tRULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046);\n\tSRVR:SN1PR07MB2255; BCL:0; PCL:0; RULEID:; SRVR:SN1PR07MB2255;",
        "X-Forefront-PRVS": "098076C36C",
        "X-Forefront-Antispam-Report": "SFV:NSPM;\n\tSFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(199003)(189002)(48376002)(4001430100002)(68736007)(36756003)(5003940100001)(33646002)(81156014)(81166006)(8676002)(3846002)(6116002)(586003)(97736004)(42186005)(77096005)(189998001)(107886002)(5001770100001)(19580405001)(15975445007)(101416001)(76506005)(19580395003)(47776003)(105586002)(50986999)(106356001)(2950100001)(7736002)(7846002)(66066001)(229853001)(50466002)(50226002)(92566002)(76176999)(4326007)(2906002)(575784001)(2004002)(2101003);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR07MB2255; H:localhost;\n\tFPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; ",
        "Received-SPF": "None (protection.outlook.com: caviumnetworks.com does not\n\tdesignate permitted sender hosts)",
        "SpamDiagnosticOutput": "1:99",
        "SpamDiagnosticMetadata": "NSPM",
        "X-OriginatorOrg": "caviumnetworks.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "21 Jun 2016 05:11:28.0135\n\t(UTC)",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "Hosted",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "SN1PR07MB2255"
    },
    "content": "From: Andrew Pinski <apinski@cavium.com>\n\nThe patch makes the ilp32 and lp64 have their own directory under aarch64.\nSince ILP32 uses most of the same system calls as LP64 and has a 64bit\noff_t, we need make the functions that end in 64 the same as the ones without.\nWe also need not to special case ioctl or use the already provided mmap.c file.\n\nSigned-off-by: Yury Norov <ynorov@caviumnetworks.com>\n---\n sysdeps/aarch64/Implies                            |  6 --\n sysdeps/aarch64/ilp32/Implies                      |  6 ++\n sysdeps/aarch64/lp64/Implies                       |  7 ++\n sysdeps/unix/sysv/linux/aarch64/Implies            |  2 -\n sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h       |  6 +-\n sysdeps/unix/sysv/linux/aarch64/bits/typesizes.h   | 26 ++++++--\n sysdeps/unix/sysv/linux/aarch64/ilp32/Implies      |  4 ++\n .../unix/sysv/linux/aarch64/ilp32/dl-fxstatat64.c  |  6 ++\n sysdeps/unix/sysv/linux/aarch64/ilp32/dl-xstat64.c |  6 ++\n sysdeps/unix/sysv/linux/aarch64/ilp32/getdents.c   | 78 ++++++++++++++++++++++\n sysdeps/unix/sysv/linux/aarch64/ilp32/getdents64.c |  1 +\n sysdeps/unix/sysv/linux/aarch64/ilp32/lseek64.c    |  0\n sysdeps/unix/sysv/linux/aarch64/ilp32/mmap64.c     |  1 +\n sysdeps/unix/sysv/linux/aarch64/ilp32/msgctl.c     | 32 +++++++++\n sysdeps/unix/sysv/linux/aarch64/ilp32/preadv.c     |  1 +\n sysdeps/unix/sysv/linux/aarch64/ilp32/preadv64.c   |  5 ++\n sysdeps/unix/sysv/linux/aarch64/ilp32/pwritev.c    |  1 +\n sysdeps/unix/sysv/linux/aarch64/ilp32/pwritev64.c  |  5 ++\n sysdeps/unix/sysv/linux/aarch64/ilp32/readdir64.c  |  1 +\n sysdeps/unix/sysv/linux/aarch64/ilp32/semctl.c     | 53 +++++++++++++++\n .../unix/sysv/linux/aarch64/ilp32/shlib-versions   |  7 ++\n sysdeps/unix/sysv/linux/aarch64/ilp32/shmctl.c     | 32 +++++++++\n .../unix/sysv/linux/aarch64/ilp32/syscalls.list    |  0\n sysdeps/unix/sysv/linux/aarch64/ioctl.S            | 31 ---------\n sysdeps/unix/sysv/linux/aarch64/lp64/Implies       |  4 ++\n sysdeps/unix/sysv/linux/aarch64/lp64/ioctl.S       | 31 +++++++++\n sysdeps/unix/sysv/linux/aarch64/lp64/mmap.c        | 34 ++++++++++\n .../unix/sysv/linux/aarch64/lp64/shlib-versions    |  7 ++\n sysdeps/unix/sysv/linux/aarch64/mmap.c             | 34 ----------\n sysdeps/unix/sysv/linux/aarch64/shlib-versions     |  7 --\n 30 files changed, 346 insertions(+), 88 deletions(-)\n delete mode 100644 sysdeps/aarch64/Implies\n create mode 100644 sysdeps/aarch64/ilp32/Implies\n create mode 100644 sysdeps/aarch64/lp64/Implies\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/Implies\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/dl-fxstatat64.c\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/dl-xstat64.c\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/getdents.c\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/getdents64.c\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/lseek64.c\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/mmap64.c\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/msgctl.c\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/preadv.c\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/preadv64.c\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/pwritev.c\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/pwritev64.c\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/readdir64.c\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/semctl.c\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/shlib-versions\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/shmctl.c\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/syscalls.list\n delete mode 100644 sysdeps/unix/sysv/linux/aarch64/ioctl.S\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/lp64/Implies\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/lp64/ioctl.S\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/lp64/mmap.c\n create mode 100644 sysdeps/unix/sysv/linux/aarch64/lp64/shlib-versions\n delete mode 100644 sysdeps/unix/sysv/linux/aarch64/mmap.c\n delete mode 100644 sysdeps/unix/sysv/linux/aarch64/shlib-versions",
    "diff": "diff --git a/sysdeps/aarch64/Implies b/sysdeps/aarch64/Implies\ndeleted file mode 100644\nindex e5adf4d..0000000\n--- a/sysdeps/aarch64/Implies\n+++ /dev/null\n@@ -1,6 +0,0 @@\n-wordsize-64\n-ieee754/ldbl-128\n-ieee754/dbl-64/wordsize-64\n-ieee754/dbl-64\n-ieee754/flt-32\n-aarch64/soft-fp\ndiff --git a/sysdeps/aarch64/ilp32/Implies b/sysdeps/aarch64/ilp32/Implies\nnew file mode 100644\nindex 0000000..705bc5b\n--- /dev/null\n+++ b/sysdeps/aarch64/ilp32/Implies\n@@ -0,0 +1,6 @@\n+aarch64\n+wordsize-32\n+ieee754/ldbl-128\n+ieee754/dbl-64\n+ieee754/flt-32\n+aarch64/soft-fp\ndiff --git a/sysdeps/aarch64/lp64/Implies b/sysdeps/aarch64/lp64/Implies\nnew file mode 100644\nindex 0000000..d2fbde7\n--- /dev/null\n+++ b/sysdeps/aarch64/lp64/Implies\n@@ -0,0 +1,7 @@\n+aarch64\n+wordsize-64\n+ieee754/ldbl-128\n+ieee754/dbl-64/wordsize-64\n+ieee754/dbl-64\n+ieee754/flt-32\n+aarch64/soft-fp\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/Implies b/sysdeps/unix/sysv/linux/aarch64/Implies\nindex 4409e19..c508f2e 100644\n--- a/sysdeps/unix/sysv/linux/aarch64/Implies\n+++ b/sysdeps/unix/sysv/linux/aarch64/Implies\n@@ -1,3 +1 @@\n aarch64/nptl\n-unix/sysv/linux/generic\n-unix/sysv/linux/wordsize-64\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h b/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h\nindex 658f696..7dcbe65 100644\n--- a/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h\n+++ b/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h\n@@ -25,7 +25,11 @@\n #define __O_NOFOLLOW\t0100000\n #define __O_DIRECT\t0200000\n \n-#define __O_LARGEFILE\t0\n+#ifdef __ILP32__\n+# define __O_LARGEFILE\t0400000\n+#else\n+# define __O_LARGEFILE\t0\n+#endif\n \n # define F_GETLK64\t5\n # define F_SETLK64\t6\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/bits/typesizes.h b/sysdeps/unix/sysv/linux/aarch64/bits/typesizes.h\nindex 844da49..cd66504 100644\n--- a/sysdeps/unix/sysv/linux/aarch64/bits/typesizes.h\n+++ b/sysdeps/unix/sysv/linux/aarch64/bits/typesizes.h\n@@ -29,7 +29,7 @@\n #define __DEV_T_TYPE\t\t__UQUAD_TYPE\n #define __UID_T_TYPE\t\t__U32_TYPE\n #define __GID_T_TYPE\t\t__U32_TYPE\n-#define __INO_T_TYPE\t\t__ULONGWORD_TYPE\n+#define __INO_T_TYPE\t\t__UQUAD_TYPE\n #define __INO64_T_TYPE\t\t__UQUAD_TYPE\n #define __MODE_T_TYPE\t\t__U32_TYPE\n #define __NLINK_T_TYPE\t\t__U32_TYPE\n@@ -38,11 +38,11 @@\n #define __PID_T_TYPE\t\t__S32_TYPE\n #define __RLIM_T_TYPE\t\t__ULONGWORD_TYPE\n #define __RLIM64_T_TYPE\t\t__UQUAD_TYPE\n-#define\t__BLKCNT_T_TYPE\t\t__SLONGWORD_TYPE\n+#define\t__BLKCNT_T_TYPE\t\t__SQUAD_TYPE\n #define\t__BLKCNT64_T_TYPE\t__SQUAD_TYPE\n-#define\t__FSBLKCNT_T_TYPE\t__ULONGWORD_TYPE\n+#define\t__FSBLKCNT_T_TYPE\t__UQUAD_TYPE\n #define\t__FSBLKCNT64_T_TYPE\t__UQUAD_TYPE\n-#define\t__FSFILCNT_T_TYPE\t__ULONGWORD_TYPE\n+#define\t__FSFILCNT_T_TYPE\t__UQUAD_TYPE\n #define\t__FSFILCNT64_T_TYPE\t__UQUAD_TYPE\n #define\t__FSWORD_T_TYPE\t\t__SWORD_TYPE\n #define\t__ID_T_TYPE\t\t__U32_TYPE\n@@ -62,14 +62,26 @@\n #define __SYSCALL_ULONG_TYPE\t__ULONGWORD_TYPE\n #define __CPU_MASK_TYPE         __ULONGWORD_TYPE\n \n-#ifdef __LP64__\n /* Tell the libc code that off_t and off64_t are actually the same type\n    for all ABI purposes, even if possibly expressed as different base types\n    for C type-checking purposes.  */\n-# define __OFF_T_MATCHES_OFF64_T\t1\n+# define __OFF_T_MATCHES_OFF64_T\t\t\t1\n \n /* Same for ino_t and ino64_t.  */\n-# define __INO_T_MATCHES_INO64_T\t1\n+# define __INO_T_MATCHES_INO64_T\t\t\t1\n+\n+/* And for __blkcnt_t and __blkcnt64_t.  */\n+# define __BLKCNT_T_TYPE_MATCHES_BLKCNT64_T_TYPE\t1\n+\n+/* And for __fsblkcnt_t and __fsblkcnt64_t.  */\n+# define __FSBLKCNT_T_TYPE_MATCHES_FSBLKCNT64_T_TYPE\t1\n+\n+/* And for __fsbilcnt_t and __fsbilcnt64_t.  */\n+# define __FSFILCNT_T_TYPE_MATCHES_FSFILCNT64_T_TYPE\t1\n+\n+#if __WORDSIZE == 32\n+/* And struct timespec needs pads.  */\n+# define timespec_needs_pads\t1\n #endif\n \n /* Number of descriptors that can fit in an `fd_set'.  */\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/ilp32/Implies b/sysdeps/unix/sysv/linux/aarch64/ilp32/Implies\nnew file mode 100644\nindex 0000000..151f0e4\n--- /dev/null\n+++ b/sysdeps/unix/sysv/linux/aarch64/ilp32/Implies\n@@ -0,0 +1,4 @@\n+aarch64/nptl\n+unix/sysv/linux/aarch64\n+unix/sysv/linux/generic\n+unix/sysv/linux/generic/wordsize-32\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/ilp32/dl-fxstatat64.c b/sysdeps/unix/sysv/linux/aarch64/ilp32/dl-fxstatat64.c\nnew file mode 100644\nindex 0000000..9a17a9b\n--- /dev/null\n+++ b/sysdeps/unix/sysv/linux/aarch64/ilp32/dl-fxstatat64.c\n@@ -0,0 +1,6 @@\n+/* In this implementation we do not really care whether the call fails\n+   because of missing kernel support since we do not even call the\n+   function in this case.  */\n+#undef __ASSUME_ATFCTS\n+#define __ASSUME_ATFCTS 1\n+#include \"fxstatat64.c\"\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/ilp32/dl-xstat64.c b/sysdeps/unix/sysv/linux/aarch64/ilp32/dl-xstat64.c\nnew file mode 100644\nindex 0000000..e77b753\n--- /dev/null\n+++ b/sysdeps/unix/sysv/linux/aarch64/ilp32/dl-xstat64.c\n@@ -0,0 +1,6 @@\n+/* In this implementation we do not really care whether the call fails\n+   because of missing kernel support since we do not even call the\n+   function in this case.  */\n+#undef __ASSUME_ATFCTS\n+#define __ASSUME_ATFCTS 1\n+#include \"xstat64.c\"\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/ilp32/getdents.c b/sysdeps/unix/sysv/linux/aarch64/ilp32/getdents.c\nnew file mode 100644\nindex 0000000..0f89a09\n--- /dev/null\n+++ b/sysdeps/unix/sysv/linux/aarch64/ilp32/getdents.c\n@@ -0,0 +1,78 @@\n+/* Copyright (C) 2007-2015 Free Software Foundation, Inc.\n+   This file is part of the GNU C Library.\n+\n+   The GNU C Library is free software; you can redistribute it and/or\n+   modify it under the terms of the GNU Lesser General Public\n+   License as published by the Free Software Foundation; either\n+   version 2.1 of the License, or (at your option) any later version.\n+\n+   The GNU C Library is distributed in the hope that it will be useful,\n+   but WITHOUT ANY WARRANTY; without even the implied warranty of\n+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+   Lesser General Public License for more details.\n+\n+   You should have received a copy of the GNU Lesser General Public\n+   License along with the GNU C Library.  If not, see\n+   <http://www.gnu.org/licenses/>.  */\n+\n+#include <dirent.h>\n+#include <stddef.h>\n+#include <stdint.h>\n+#include <string.h>\n+#include <unistd.h>\n+#include <sys/types.h>\n+#include <bits/wordsize.h>\n+\n+#include <sysdep.h>\n+#include <sys/syscall.h>\n+#include <linux/posix_types.h>\n+\n+struct kernel_dirent64\n+  {\n+    uint64_t\t\td_ino;\n+    int64_t\t\td_off;\n+    unsigned short int\td_reclen;\n+    unsigned char\td_type;\n+    char\t\td_name[256];\n+  };\n+\n+static size_t conv (char *buf, size_t nbytes)\n+{\n+\tchar *end = buf + nbytes;\n+\tstruct dirent *u = (struct dirent *) buf;\n+\tstruct kernel_dirent64 *k = (struct kernel_dirent64 *) buf;\n+\tsize_t sizd = offsetof(struct kernel_dirent64, d_name)\n+\t\t  - offsetof(struct dirent, d_name);\n+\n+\twhile ((char*) k < end)\n+\t{\n+\t  struct kernel_dirent64 *nk = (char *) k + k->d_reclen;\n+\t  size_t name_len = k->d_reclen - offsetof(struct kernel_dirent64, d_name);\n+\n+\t  u->d_ino = k->d_ino;\n+\t  u->d_off = k->d_off;\n+\t  u->d_reclen = k->d_reclen - sizd;\n+\t  u->d_type = k->d_type;\n+\t  memcpy (u->d_name, k->d_name, name_len);\n+\n+\t  u = (char *) u + u->d_reclen;\n+\t  k = nk;\n+\t}\n+\n+\treturn (size_t) u - (size_t) buf;\n+}\n+\n+ssize_t\n+__getdents (int fd, char *buf, size_t nbytes)\n+{\n+\n+  struct kernel_dirent64 *k;\n+  int ret;\n+\n+  ret = INLINE_SYSCALL (getdents64, 3, fd, buf, nbytes);\n+  if (ret == -1)\n+\t  return ret;\n+\n+  return conv(buf, ret);\n+}\n+\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/ilp32/getdents64.c b/sysdeps/unix/sysv/linux/aarch64/ilp32/getdents64.c\nnew file mode 100644\nindex 0000000..9686730\n--- /dev/null\n+++ b/sysdeps/unix/sysv/linux/aarch64/ilp32/getdents64.c\n@@ -0,0 +1 @@\n+#include <sysdeps/unix/sysv/linux/generic/getdents64.c>\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/ilp32/lseek64.c b/sysdeps/unix/sysv/linux/aarch64/ilp32/lseek64.c\nnew file mode 100644\nindex 0000000..e69de29\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/ilp32/mmap64.c b/sysdeps/unix/sysv/linux/aarch64/ilp32/mmap64.c\nnew file mode 100644\nindex 0000000..6f1a141\n--- /dev/null\n+++ b/sysdeps/unix/sysv/linux/aarch64/ilp32/mmap64.c\n@@ -0,0 +1 @@\n+#include <sysdeps/unix/sysv/linux/mmap64.c>\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/ilp32/msgctl.c b/sysdeps/unix/sysv/linux/aarch64/ilp32/msgctl.c\nnew file mode 100644\nindex 0000000..caa9f36\n--- /dev/null\n+++ b/sysdeps/unix/sysv/linux/aarch64/ilp32/msgctl.c\n@@ -0,0 +1,32 @@\n+/* Copyright (C) 2007-2015 Free Software Foundation, Inc.\n+   This file is part of the GNU C Library.\n+\n+   The GNU C Library is free software; you can redistribute it and/or\n+   modify it under the terms of the GNU Lesser General Public\n+   License as published by the Free Software Foundation; either\n+   version 2.1 of the License, or (at your option) any later version.\n+\n+   The GNU C Library is distributed in the hope that it will be useful,\n+   but WITHOUT ANY WARRANTY; without even the implied warranty of\n+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+   Lesser General Public License for more details.\n+\n+   You should have received a copy of the GNU Lesser General Public\n+   License along with the GNU C Library.  If not, see\n+   <http://www.gnu.org/licenses/>.  */\n+\n+#include <errno.h>\n+#include <sys/msg.h>\n+#include <ipc_priv.h>\n+#include <sysdep.h>\n+\n+int __msgctl (int msqid, int cmd, struct msqid_ds *buf);\n+\n+int\n+__msgctl (int msqid, int cmd, struct msqid_ds *buf)\n+{\n+  return INLINE_SYSCALL (msgctl, 3, msqid, cmd | __IPC_64, buf);\n+}\n+\n+#include <shlib-compat.h>\n+versioned_symbol (libc, __msgctl, msgctl, GLIBC_2_0);\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/ilp32/preadv.c b/sysdeps/unix/sysv/linux/aarch64/ilp32/preadv.c\nnew file mode 100644\nindex 0000000..b5b9994\n--- /dev/null\n+++ b/sysdeps/unix/sysv/linux/aarch64/ilp32/preadv.c\n@@ -0,0 +1 @@\n+/* See preadv.c */\n\\ No newline at end of file\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/ilp32/preadv64.c b/sysdeps/unix/sysv/linux/aarch64/ilp32/preadv64.c\nnew file mode 100644\nindex 0000000..72bfc63\n--- /dev/null\n+++ b/sysdeps/unix/sysv/linux/aarch64/ilp32/preadv64.c\n@@ -0,0 +1,5 @@\n+#include <sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c>\n+\n+weak_alias (__libc_preadv64, __libc_preadv)\n+weak_alias (__libc_preadv64, __preadv)\n+weak_alias (__libc_preadv64, preadv)\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/ilp32/pwritev.c b/sysdeps/unix/sysv/linux/aarch64/ilp32/pwritev.c\nnew file mode 100644\nindex 0000000..298a33e\n--- /dev/null\n+++ b/sysdeps/unix/sysv/linux/aarch64/ilp32/pwritev.c\n@@ -0,0 +1 @@\n+/* Implemented in sysdeps/unix/sysv/linux/aarch64/ilp32/pwrite64.c */\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/ilp32/pwritev64.c b/sysdeps/unix/sysv/linux/aarch64/ilp32/pwritev64.c\nnew file mode 100644\nindex 0000000..61dbd18\n--- /dev/null\n+++ b/sysdeps/unix/sysv/linux/aarch64/ilp32/pwritev64.c\n@@ -0,0 +1,5 @@\n+#include <sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c>\n+\n+weak_alias (__libc_pwritev64, __libc_pwritev)\n+weak_alias (__libc_pwritev64, __pwritev)\n+weak_alias (__libc_pwritev64, pwritev)\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/ilp32/readdir64.c b/sysdeps/unix/sysv/linux/aarch64/ilp32/readdir64.c\nnew file mode 100644\nindex 0000000..5263dcb\n--- /dev/null\n+++ b/sysdeps/unix/sysv/linux/aarch64/ilp32/readdir64.c\n@@ -0,0 +1 @@\n+#include <sysdeps/unix/sysv/linux/readdir64.c>\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/ilp32/semctl.c b/sysdeps/unix/sysv/linux/aarch64/ilp32/semctl.c\nnew file mode 100644\nindex 0000000..0c90527\n--- /dev/null\n+++ b/sysdeps/unix/sysv/linux/aarch64/ilp32/semctl.c\n@@ -0,0 +1,53 @@\n+/* Copyright (C) 2007-2016 Free Software Foundation, Inc.\n+   This file is part of the GNU C Library.\n+\n+   The GNU C Library is free software; you can redistribute it and/or\n+   modify it under the terms of the GNU Lesser General Public\n+   License as published by the Free Software Foundation; either\n+   version 2.1 of the License, or (at your option) any later version.\n+\n+   The GNU C Library is distributed in the hope that it will be useful,\n+   but WITHOUT ANY WARRANTY; without even the implied warranty of\n+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+   Lesser General Public License for more details.\n+\n+   You should have received a copy of the GNU Lesser General Public\n+   License along with the GNU C Library.  If not, see\n+   <http://www.gnu.org/licenses/>.  */\n+\n+#include <errno.h>\n+#include <stdarg.h>\n+#include <sys/sem.h>\n+#include <ipc_priv.h>\n+#include <sysdep.h>\n+\n+/* Define a `union semun' that is for glibc here.  */\n+union semun\n+{\n+  int val;\t\t\t/* value for SETVAL */\n+  struct semid_ds *buf;\t\t/* buffer for IPC_STAT & IPC_SET */\n+  unsigned short int *array;\t/* array for GETALL & SETALL */\n+  struct seminfo *__buf;\t/* buffer for IPC_INFO */\n+};\n+\n+int __semctl (int semid, int semnum, int cmd, ...);\n+\n+int\n+__semctl (int semid, int semnum, int cmd, ...)\n+{\n+  union semun arg;\n+  va_list ap;\n+\n+  va_start (ap, cmd);\n+\n+  /* Get the argument.  */\n+  arg = va_arg (ap, union semun);\n+\n+  va_end (ap);\n+\n+  return INLINE_SYSCALL (semctl, 4, semid, semnum, cmd | __IPC_64,\n+\t\t\t arg.array);\n+}\n+\n+#include <shlib-compat.h>\n+versioned_symbol (libc, __semctl, semctl, GLIBC_2_0);\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/ilp32/shlib-versions b/sysdeps/unix/sysv/linux/aarch64/ilp32/shlib-versions\nnew file mode 100644\nindex 0000000..17db764\n--- /dev/null\n+++ b/sysdeps/unix/sysv/linux/aarch64/ilp32/shlib-versions\n@@ -0,0 +1,7 @@\n+DEFAULT\t\t\tGLIBC_2.21\n+\n+%ifdef HAVE_AARCH64_BE\n+ld=ld-linux-aarch64_be_ilp32.so.1\n+%else\n+ld=ld-linux-aarch64_ilp32.so.1\n+%endif\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/ilp32/shmctl.c b/sysdeps/unix/sysv/linux/aarch64/ilp32/shmctl.c\nnew file mode 100644\nindex 0000000..ea0fa94\n--- /dev/null\n+++ b/sysdeps/unix/sysv/linux/aarch64/ilp32/shmctl.c\n@@ -0,0 +1,32 @@\n+/* Copyright (C) 2007-2016 Free Software Foundation, Inc.\n+   This file is part of the GNU C Library.\n+\n+   The GNU C Library is free software; you can redistribute it and/or\n+   modify it under the terms of the GNU Lesser General Public\n+   License as published by the Free Software Foundation; either\n+   version 2.1 of the License, or (at your option) any later version.\n+\n+   The GNU C Library is distributed in the hope that it will be useful,\n+   but WITHOUT ANY WARRANTY; without even the implied warranty of\n+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+   Lesser General Public License for more details.\n+\n+   You should have received a copy of the GNU Lesser General Public\n+   License along with the GNU C Library.  If not, see\n+   <http://www.gnu.org/licenses/>.  */\n+\n+#include <errno.h>\n+#include <sys/shm.h>\n+#include <ipc_priv.h>\n+#include <sysdep.h>\n+\n+int __shmctl (int shmid, int cmd, struct shmid_ds *buf);\n+\n+int\n+__shmctl (int shmid, int cmd, struct shmid_ds *buf)\n+{\n+  return INLINE_SYSCALL (shmctl, 3, shmid, cmd | __IPC_64, buf);\n+}\n+\n+#include <shlib-compat.h>\n+versioned_symbol (libc, __shmctl, shmctl, GLIBC_2_0);\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/ilp32/syscalls.list b/sysdeps/unix/sysv/linux/aarch64/ilp32/syscalls.list\nnew file mode 100644\nindex 0000000..e69de29\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/ioctl.S b/sysdeps/unix/sysv/linux/aarch64/ioctl.S\ndeleted file mode 100644\nindex eddd613..0000000\n--- a/sysdeps/unix/sysv/linux/aarch64/ioctl.S\n+++ /dev/null\n@@ -1,31 +0,0 @@\n-/* Copyright (C) 2012-2016 Free Software Foundation, Inc.\n-\n-   This file is part of the GNU C Library.\n-\n-   The GNU C Library is free software; you can redistribute it and/or\n-   modify it under the terms of the GNU Lesser General Public License as\n-   published by the Free Software Foundation; either version 2.1 of the\n-   License, or (at your option) any later version.\n-\n-   The GNU C Library is distributed in the hope that it will be useful,\n-   but WITHOUT ANY WARRANTY; without even the implied warranty of\n-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n-   Lesser General Public License for more details.\n-\n-   You should have received a copy of the GNU Lesser General Public\n-   License along with the GNU C Library; if not, see\n-   <http://www.gnu.org/licenses/>.  */\n-\n-#include <sysdep.h>\n-\n-\t.text\n-ENTRY(__ioctl)\n-\tmov\tx8, #__NR_ioctl\n-\tsxtw\tx0, w0\n-\tsvc\t#0x0\n-\tcmn\tx0, #4095\n-\tb.cs\t.Lsyscall_error\n-\tret\n-PSEUDO_END (__ioctl)\n-\n-weak_alias (__ioctl, ioctl)\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/lp64/Implies b/sysdeps/unix/sysv/linux/aarch64/lp64/Implies\nnew file mode 100644\nindex 0000000..6418211\n--- /dev/null\n+++ b/sysdeps/unix/sysv/linux/aarch64/lp64/Implies\n@@ -0,0 +1,4 @@\n+aarch64/nptl\n+unix/sysv/linux/aarch64\n+unix/sysv/linux/generic\n+unix/sysv/linux/wordsize-64\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/lp64/ioctl.S b/sysdeps/unix/sysv/linux/aarch64/lp64/ioctl.S\nnew file mode 100644\nindex 0000000..eddd613\n--- /dev/null\n+++ b/sysdeps/unix/sysv/linux/aarch64/lp64/ioctl.S\n@@ -0,0 +1,31 @@\n+/* Copyright (C) 2012-2016 Free Software Foundation, Inc.\n+\n+   This file is part of the GNU C Library.\n+\n+   The GNU C Library is free software; you can redistribute it and/or\n+   modify it under the terms of the GNU Lesser General Public License as\n+   published by the Free Software Foundation; either version 2.1 of the\n+   License, or (at your option) any later version.\n+\n+   The GNU C Library is distributed in the hope that it will be useful,\n+   but WITHOUT ANY WARRANTY; without even the implied warranty of\n+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+   Lesser General Public License for more details.\n+\n+   You should have received a copy of the GNU Lesser General Public\n+   License along with the GNU C Library; if not, see\n+   <http://www.gnu.org/licenses/>.  */\n+\n+#include <sysdep.h>\n+\n+\t.text\n+ENTRY(__ioctl)\n+\tmov\tx8, #__NR_ioctl\n+\tsxtw\tx0, w0\n+\tsvc\t#0x0\n+\tcmn\tx0, #4095\n+\tb.cs\t.Lsyscall_error\n+\tret\n+PSEUDO_END (__ioctl)\n+\n+weak_alias (__ioctl, ioctl)\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/lp64/mmap.c b/sysdeps/unix/sysv/linux/aarch64/lp64/mmap.c\nnew file mode 100644\nindex 0000000..0133381\n--- /dev/null\n+++ b/sysdeps/unix/sysv/linux/aarch64/lp64/mmap.c\n@@ -0,0 +1,34 @@\n+/* Copyright (C) 2009-2016 Free Software Foundation, Inc.\n+\n+   This file is part of the GNU C Library.\n+\n+   The GNU C Library is free software; you can redistribute it and/or\n+   modify it under the terms of the GNU Lesser General Public License as\n+   published by the Free Software Foundation; either version 2.1 of the\n+   License, or (at your option) any later version.\n+\n+   The GNU C Library is distributed in the hope that it will be useful,\n+   but WITHOUT ANY WARRANTY; without even the implied warranty of\n+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+   Lesser General Public License for more details.\n+\n+   You should have received a copy of the GNU Lesser General Public\n+   License along with the GNU C Library; if not, see\n+   <http://www.gnu.org/licenses/>.  */\n+\n+#include <sys/types.h>\n+#include <sys/mman.h>\n+#include <errno.h>\n+#include <sys/syscall.h>\n+#include <sysdep.h>\n+#include <unistd.h>\n+\n+__ptr_t\n+__mmap (__ptr_t addr, size_t len, int prot, int flags, int fd, off_t offset)\n+{\n+  return (__ptr_t) INLINE_SYSCALL (mmap, 6, addr, len, prot, flags, fd, offset);\n+}\n+\n+weak_alias (__mmap, mmap)\n+weak_alias (__mmap, mmap64)\n+weak_alias (__mmap, __mmap64)\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/lp64/shlib-versions b/sysdeps/unix/sysv/linux/aarch64/lp64/shlib-versions\nnew file mode 100644\nindex 0000000..e1768a7\n--- /dev/null\n+++ b/sysdeps/unix/sysv/linux/aarch64/lp64/shlib-versions\n@@ -0,0 +1,7 @@\n+DEFAULT\t\t\tGLIBC_2.17\n+\n+%ifdef HAVE_AARCH64_BE\n+ld=ld-linux-aarch64_be.so.1\n+%else\n+ld=ld-linux-aarch64.so.1\n+%endif\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/mmap.c b/sysdeps/unix/sysv/linux/aarch64/mmap.c\ndeleted file mode 100644\nindex 0133381..0000000\n--- a/sysdeps/unix/sysv/linux/aarch64/mmap.c\n+++ /dev/null\n@@ -1,34 +0,0 @@\n-/* Copyright (C) 2009-2016 Free Software Foundation, Inc.\n-\n-   This file is part of the GNU C Library.\n-\n-   The GNU C Library is free software; you can redistribute it and/or\n-   modify it under the terms of the GNU Lesser General Public License as\n-   published by the Free Software Foundation; either version 2.1 of the\n-   License, or (at your option) any later version.\n-\n-   The GNU C Library is distributed in the hope that it will be useful,\n-   but WITHOUT ANY WARRANTY; without even the implied warranty of\n-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n-   Lesser General Public License for more details.\n-\n-   You should have received a copy of the GNU Lesser General Public\n-   License along with the GNU C Library; if not, see\n-   <http://www.gnu.org/licenses/>.  */\n-\n-#include <sys/types.h>\n-#include <sys/mman.h>\n-#include <errno.h>\n-#include <sys/syscall.h>\n-#include <sysdep.h>\n-#include <unistd.h>\n-\n-__ptr_t\n-__mmap (__ptr_t addr, size_t len, int prot, int flags, int fd, off_t offset)\n-{\n-  return (__ptr_t) INLINE_SYSCALL (mmap, 6, addr, len, prot, flags, fd, offset);\n-}\n-\n-weak_alias (__mmap, mmap)\n-weak_alias (__mmap, mmap64)\n-weak_alias (__mmap, __mmap64)\ndiff --git a/sysdeps/unix/sysv/linux/aarch64/shlib-versions b/sysdeps/unix/sysv/linux/aarch64/shlib-versions\ndeleted file mode 100644\nindex e1768a7..0000000\n--- a/sysdeps/unix/sysv/linux/aarch64/shlib-versions\n+++ /dev/null\n@@ -1,7 +0,0 @@\n-DEFAULT\t\t\tGLIBC_2.17\n-\n-%ifdef HAVE_AARCH64_BE\n-ld=ld-linux-aarch64_be.so.1\n-%else\n-ld=ld-linux-aarch64.so.1\n-%endif\n",
    "prefixes": [
        "20/27",
        "AARCH64"
    ]
}