From patchwork Mon Jun 26 03:32:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Almer X-Patchwork-Id: 4118 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.1.76 with SMTP id 73csp731596vsb; Sun, 25 Jun 2017 20:39:20 -0700 (PDT) X-Received: by 10.28.152.82 with SMTP id a79mr11950387wme.0.1498448360222; Sun, 25 Jun 2017 20:39:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498448360; cv=none; d=google.com; s=arc-20160816; b=PFUsJ6YZG/ujlrG//YeDpbD7sQjKINu/k2QRsiovnVHiFQ6EknCWAydWesWRAOeMWP V8bpmuQMN7BlzJiBkHTE5fhonimycsSxl9WCJC82alm5NdemVITv2n6B2UYA2o46QCIW fj76crhkCdsivOxZoKQM+BCh1Xz8Wu1YYe1N10Mbg6fFUNaNy+UWd5qIZ/T5xdDjyFfG t1mXkxIL5oLwIW1H4SRtCeMpm1+K1qSEWUpF0SECn9XjQQw9/F0R2IbfvPuCfzP7piyT U8mdSQOr+RrjNfPJ+TQWj8ebapCwJVnWxLwSqr14tIH2sSDF5J+mXwilplAxBEASZoiX 6asg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=nkQTNeC+YL9A4plIVftnAivQ3ikxtlo63TBrU6qOyBI=; b=flrdVLezOS345bq7hJCzhuuONU+hhUJtRzGyBLLuHyE0IOb2Wwc0KspGm2rar3RIWh VTq9LflQ0R9Ysj4oBXsd+4U0JgbYPiSrkQZ3AYL/R9ZJDY9cWwvJWi3+HI/kYZLbyGGX 0+py1Tdhfm+ETDuqNJhEDlAu+f1pPXTxCoOlrMgPgwuEGTQepMv4IDqiIOC56FqzFHFu 1VX4flrhIOqI3+hdHpBdzn4FfdsgVVIoSF8cThU3xU5E7erLGKzMupeJVCWqQkyUFe7Q yS3Vz23CvRSF5/eDIGIcq3xvKH6iMC0tMzbULLitMU6WxIkRMWdPBN7sd4IRD8PbaFde pN8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=EMGEPP1C; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id b63si10201079wmf.61.2017.06.25.20.39.19; Sun, 25 Jun 2017 20:39:20 -0700 (PDT) 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=@gmail.com header.b=EMGEPP1C; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id F0631689C84; Mon, 26 Jun 2017 06:39:14 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-qk0-f195.google.com (mail-qk0-f195.google.com [209.85.220.195]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0385D689B1E for ; Mon, 26 Jun 2017 06:39:08 +0300 (EEST) Received: by mail-qk0-f195.google.com with SMTP id r62so13186406qkf.3 for ; Sun, 25 Jun 2017 20:39:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=wers3mmGbcriLTgq6Ec5nvr9Cx8nfFviVHoAdOP0Z6M=; b=EMGEPP1CNZKdb2qbtPchxyGb+PRHmxbgdpZNp0sIoVYqHnlGdG+vh3vvNjE3eUaeM9 3QCRwZWeOfhGfU39zy2oKBrYTKH62r8Q4lna6/jSH2fXTrExpxgqD5RiZp58xJJvlpNe lBhlnav+FcrUtgJTKsJCeD6Dk486qlRX1k5rXBJsTmPpx5SxG0GXPD2lPYNZinsVhB9o 2dsiOa9cuUNdLenK9IJ/wyc48LL4OvnHxT5dloebYdAYXWa1vhC5Mbm7T4GavjqyxXJM xP+MlrT8sz7AIFO8JzoA/Hz9kY8n4gt0Ad1BqVsVfoctpJK0anB8Qk4YGNqkyW79/U0X d1EA== 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; bh=wers3mmGbcriLTgq6Ec5nvr9Cx8nfFviVHoAdOP0Z6M=; b=Vqt0oP6fz3YjYing4rfu0t+UU8OcKqFC0gfizz91RPLI67B6phP/GwWa+Juad/I31O 7hC6dFpL9QHEaKmWC2ovfs6xVT/VAIkANsT7naYnU/c2a/m2sZ0rr+XipXVAr7UWj6xs kDVrmbQtkbRWWq00J/umh1F6SaECu9f3pgBsLUID0Kn6/daFKGvEGiZpkpqTbDWJsxLD e6Vd26auv0zq0fespjN6sbCcquRU6qEHA5PBSsTqoSrPwSSqkeen/XxAYiFmhbV+oymB mAuWkP1DNdV6qXq8nULTLTSzoQ0GDgeMpeL6ABp362q0uZK8YZvmNk5lzvIU5x7Sr8KQ JYZg== X-Gm-Message-State: AKS2vOzMBAn4ykzCVQPmvLNt6sQRGb713cEWRjV3WCiQMARvQoYEeVV8 o0zfnzrTTpPZkJJh X-Received: by 10.55.69.66 with SMTP id s63mr20987849qka.229.1498447966343; Sun, 25 Jun 2017 20:32:46 -0700 (PDT) Received: from localhost.localdomain ([181.231.116.134]) by smtp.gmail.com with ESMTPSA id k6sm8974082qtk.10.2017.06.25.20.32.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 25 Jun 2017 20:32:45 -0700 (PDT) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Mon, 26 Jun 2017 00:32:15 -0300 Message-Id: <20170626033215.6924-1-jamrial@gmail.com> X-Mailer: git-send-email 2.13.0 Subject: [FFmpeg-devel] [PATCH] x86inc: don't use read-only data sections on COFF targets 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" Yasm: src/libavfilter/x86/af_volume.asm:24: warning: Standard COFF does not support read-only data sections src/libavfilter/x86/af_volume.asm:24: warning: Unrecognized qualifier `align' Nasm: src/libavfilter/x86/af_volume.asm:24: error: standard COFF does not support section alignment specification src/libavutil/x86/x86inc.asm:92: ... from macro `SECTION_RODATA' defined here Signed-off-by: James Almer --- Untested. libavutil/x86/x86inc.asm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm index fa826e6d85..c4ec29bd9d 100644 --- a/libavutil/x86/x86inc.asm +++ b/libavutil/x86/x86inc.asm @@ -88,6 +88,8 @@ %macro SECTION_RODATA 0-1 16 %ifidn __OUTPUT_FORMAT__,aout section .text + %elifidn __OUTPUT_FORMAT__,coff + section .text %else SECTION .rodata align=%1 %endif