public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Philip Blundell <pb@nexus.co.uk> To: pb@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: target/3925: [ARM/Thumb] Assembler chokes on branches with (PLT) Date: Tue, 19 Mar 2002 07:06:00 -0000 [thread overview] Message-ID: <20020319150602.2949.qmail@sources.redhat.com> (raw) The following reply was made to PR target/3925; it has been noted by GNATS. From: Philip Blundell <pb@nexus.co.uk> To: Richard.Earnshaw@arm.com Cc: gcc-gnats@gcc.gnu.org, pb@gcc.gnu.org, fnf@ninemoons.com, gcc-bugs@gcc.gnu.org, rearnsha@gcc.gnu.org Subject: Re: target/3925: [ARM/Thumb] Assembler chokes on branches with (PLT) Date: 19 Mar 2002 15:02:04 +0000 On Tue, 2002-03-19 at 14:53, Richard Earnshaw wrote: > Given the above, my assertion is that the rules for PLT32 and PC24 are now > the same, and that these aren't distinct relocations at all -- if we are > putting the code into a shared library, then we must indirect through a > PLT stub unless we know the function to be local (and static). If we > aren't (generating a shared library) then we need only indirect through > such a stub if we need to access another module. The linker already knows > whether it is producing a shared library or not, so this isn't adding > anything new. I would be reluctant to have -shared imply PIC across the board. There are legitimate reasons why people might want to build a dynamic object but not pay the cost that goes with position independence. Perhaps this is a rare enough situation that it also isn't worth losing too much sleep over, I dunno. I must admit, having -shared generate PLT relocs by default for branches would go some way towards helping those people who accidentally link things like libiberty.a into their shared libraries. p.
next reply other threads:[~2002-03-19 15:06 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-03-19 7:06 Philip Blundell [this message] -- strict thread matches above, loose matches on Subject: below -- 2002-04-23 8:57 rearnsha 2002-03-19 7:36 Richard Earnshaw 2002-03-19 7:26 Philip Blundell 2002-03-19 7:16 Richard Earnshaw 2002-03-19 6:56 Richard Earnshaw 2002-03-19 6:36 Philip Blundell 2002-03-19 4:06 Richard Earnshaw 2002-03-19 3:56 Philip Blundell 2002-03-19 3:40 rearnsha 2002-03-19 3:16 Richard Earnshaw
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=20020319150602.2949.qmail@sources.redhat.com \ --to=pb@nexus.co.uk \ --cc=gcc-prs@gcc.gnu.org \ --cc=pb@gcc.gnu.org \ /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: linkBe 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).