From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 48325 invoked by alias); 5 Jan 2017 10:34:05 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 48310 invoked by uid 89); 5 Jan 2017 10:34:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.0 required=5.0 tests=AWL,BAYES_00,BODY_8BITS,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,GARBLED_BODY,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy= X-HELO: mail-io0-f196.google.com Received: from mail-io0-f196.google.com (HELO mail-io0-f196.google.com) (209.85.223.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 05 Jan 2017 10:34:03 +0000 Received: by mail-io0-f196.google.com with SMTP id 71so2041835ioe.0 for ; Thu, 05 Jan 2017 02:34:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=wf6LIOhvzqbCExz3ko2Dmjs6duuVh9cov35ewSAedvk=; b=TkWEIqnKgeBwSNyMQMBNviYdu9B49RlG6rVSwRTvRajhyL/LUPMKL2YsetAdX1P97O 1Nbjcf9xBpAuj/x51ebagoHy+wl/7MzaqfIwh6spOvOMANMX8RXCSpsefVIBWAyloSU0 ZLETWiDDUeKkEKcdS7+xhD/Ktz+McWlUePBgI6hzrP9B2xXMlGL+24T/IAh61cRHKIPG N0526B7bSquQs5+DZdEmETekN7W33PY8oog4uHx+yLZQy4zQAMJaWHNbC7iE7wVJaxGN FrxhHxDmAieEX/uxc5Hesv77Mg9YjuWXoCM94tW5OLHpl18USbubLTXR8w3zQSRooOb3 EK9w== X-Gm-Message-State: AIkVDXJh7ZNpAO/CHqFNu4sKakHWoq3BSuW33pG55QsvfGbI3EZ9jeXZi2szW4ZyO3snVbOxlnyku2+YBiqAGQ== X-Received: by 10.107.159.68 with SMTP id i65mr58316513ioe.153.1483612441677; Thu, 05 Jan 2017 02:34:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.81.83 with HTTP; Thu, 5 Jan 2017 02:34:01 -0800 (PST) From: zet Date: Thu, 05 Jan 2017 10:34:00 -0000 Message-ID: Subject: [gas question]relocate type of function call in i386 To: binutils@sourceware.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg00080.txt.bz2 Hello, gas(GNU as) developers. I only talk about i386. When gas deal with this assembly code: --------------------------- call function_name --------------------------- In static NO PIC, the relocation type of function_name in call instruction must be R_386_PC32? Is it possible R_386_32 in gas(GNU as)? thx. --=20 =E4=B8=9A=E7=B2=BE=E4=BA=8E=E5=8B=A4,=E8=8D=92=E4=BA=8E=E5=AC=89.