From patchwork Wed Mar 8 10:01:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Storsj=C3=B6?= X-Patchwork-Id: 2813 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.50.79 with SMTP id y76csp953368vsy; Wed, 8 Mar 2017 02:03:27 -0800 (PST) X-Received: by 10.223.165.17 with SMTP id i17mr4789363wrb.70.1488967407608; Wed, 08 Mar 2017 02:03:27 -0800 (PST) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id q188si4162542wme.156.2017.03.08.02.03.27; Wed, 08 Mar 2017 02:03:27 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@martin-st.20150623.gappssmtp.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 91E246882E9; Wed, 8 Mar 2017 12:01:26 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-lf0-f66.google.com (mail-lf0-f66.google.com [209.85.215.66]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id ACF0B6882D5 for ; Wed, 8 Mar 2017 12:01:23 +0200 (EET) Received: by mail-lf0-f66.google.com with SMTP id y193so1997610lfd.1 for ; Wed, 08 Mar 2017 02:01:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martin-st.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=m9ldzpoNoeyspu/FGxV965QRMbS4Hnq1basSv7PHDaw=; b=nddUubcZRy5xctglE3gtlhUoV5n32EOmKdWyH7+3qA2LcbNwoQce/8Vq67L+pCR66s As2jZfpkUEJiYAqVYvYCf3uy4w9A7OLEJJQxPs1Ge2tb5nY8wIfq7dnHyIBeL2kb3PF/ wcgnBImOUW+Re2+ZeXbJi/JV18EG3zHiambxNRYBhTGmMGfb4ZMqfweZy8zob0FQDEK4 hZ90ZDh5sadqAeb6MBmj+ZqEY/wA9ZwYZIsvT3BXrAcP14NHltaYgdmG0MEVSDcxTN/z P2d4evjvNzrz1g7tye9jYbFES+U5yYC09gTl2JF1aymoGJ0vn/vO5L0KFB+jLj/Gi/2g p5pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=m9ldzpoNoeyspu/FGxV965QRMbS4Hnq1basSv7PHDaw=; b=dOu+OuHzHCmuXVM8V3W6lw0SMyvJOz6wWJNJSthUg2E03B9qX8qoMWpmR4a4NrFhVP UAGdiQRLySwAnBvVbFgX+2XbydBGmV/wzLmAIKXqyKYv/MgeoPuca6ilrRKX4xN26yzn /HlJ6HBif5wkKM03yOA3vJAtX77JV+JkSoOjfdBkU66geC/4tF1vTubGLA57aTVH/U+x nfNE01ln82L0iEtgxmWWPBRIR+MQCbsXRz2TVYHTjKc/RPGNTGLHCxyTH7FGpHj1O108 MllHcHug8Pk0z80cSyd3xdJcW3t1S2keSXF2L/A//pIBVagQG/Ey+BjacbW9olLeugm/ C+0Q== X-Gm-Message-State: AMke39l3YDUL2zlhqUHF5lC+c2iiK1C7a/IuCyAiSzZh2XS+DIVMatHaiyka7VwmnfFMKA== X-Received: by 10.25.153.142 with SMTP id b136mr1428308lfe.85.1488967296508; Wed, 08 Mar 2017 02:01:36 -0800 (PST) Received: from localhost.localdomain ([2001:470:28:852:7d47:68e:13e8:4933]) by smtp.gmail.com with ESMTPSA id m127sm513064lfg.58.2017.03.08.02.01.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Mar 2017 02:01:36 -0800 (PST) From: =?UTF-8?q?Martin=20Storsj=C3=B6?= To: ffmpeg-devel@ffmpeg.org Date: Wed, 8 Mar 2017 12:01:05 +0200 Message-Id: <1488967274-8143-25-git-send-email-martin@martin.st> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1488967274-8143-1-git-send-email-martin@martin.st> References: <1488967274-8143-1-git-send-email-martin@martin.st> Subject: [FFmpeg-devel] [PATCH 25/34] aarch64: Add parentheses around the offset parameter in movrel X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" This fixes building with clang for linux with PIC enabled. This is cherrypicked from libav commit 8847eeaa141898850381400000fb2b8a7adc7100. --- libavutil/aarch64/asm.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/aarch64/asm.S b/libavutil/aarch64/asm.S index 523b8c5..4289729 100644 --- a/libavutil/aarch64/asm.S +++ b/libavutil/aarch64/asm.S @@ -83,8 +83,8 @@ ELF .size \name, . - \name add \rd, \rd, \val+(\offset)@PAGEOFF .endif #elif CONFIG_PIC - adrp \rd, \val+\offset - add \rd, \rd, :lo12:\val+\offset + adrp \rd, \val+(\offset) + add \rd, \rd, :lo12:\val+(\offset) #else ldr \rd, =\val+\offset #endif