public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Alan Modra <amodra@bigpond.net.au>
To: Mayank Kumar <mayank@microsoft.com>
Cc: "binutils@sourceware.org" <binutils@sourceware.org>
Subject: Re: Issues with gcc Assembler on Interix when generating PIC code
Date: Mon, 23 Apr 2007 11:59:00 -0000	[thread overview]
Message-ID: <20070423100458.GC10537@bubble.grove.modra.org> (raw)
In-Reply-To: <76EBE649FB0E0E4DA883B5840459059F144F29264F@AA-EXMSG-C412.southpacific.corp.microsoft.com>

On Mon, Apr 23, 2007 at 04:32:23PM +0800, Mayank Kumar wrote:
> At last somebody replied.

A pity I answered a different question though.  :-(

> The relocation type is BFD_RELOC_386_GOTOFF and not BFD_RELOC_386_GOT32

OK..

1) tc_fix_adjustable ensures that the GOTOFF fixup keeps its symbol
   rather than being adjust to be against a section symbol.
2) MD_APPLY_SYM_VALUE stops the symbol value being added in to the
   value passed the md_apply_fix, so md_apply_fix always puts zero
   in the section contents.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

  reply	other threads:[~2007-04-23 10:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-10 19:45 Mayank Kumar
2007-04-23  6:47 ` Alan Modra
2007-04-23 10:05   ` Mayank Kumar
2007-04-23 11:59     ` Alan Modra [this message]
2007-04-23 19:55     ` How to guarantee alignment for .comm and .lcomm defined variables Mayank Kumar
2007-04-24 13:57       ` Alan Modra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070423100458.GC10537@bubble.grove.modra.org \
    --to=amodra@bigpond.net.au \
    --cc=binutils@sourceware.org \
    --cc=mayank@microsoft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).