From: Jakub Jermar <jakub@jermar.eu>
To: binutils@sourceware.org
Subject: [ia64] objcopy and constant-gp
Date: Mon, 12 Nov 2007 08:37:00 -0000 [thread overview]
Message-ID: <4738109C.3090008@jermar.eu> (raw)
Hi,
the following stopped working for me in ia64 binutils 2.18:
1. I have a binary file and want to objcopy it from the binary format to
elf64-ia64-little, creating one ELF section in it, the result is called
empty.o
2. I want to link empty.o with other .o files that were compiled with
-mconstant-gp
3. ld returns an error complaining about linking constant-gp and
non-constant-gp object files
So I would like to know if you consider this a regression or if it is
actually a feature or a fix introduced in the newest version.
Anyway, what I am now most concerned about is if there is a
straightforward way to specify that empty.o should be constructed with
the constant-gp flag. (There is an easy workaround for this: after
objcopy, patch the ELF file manually and set the constant-gp bit using
some hex editor).
Please respond directly to my email address as I am not subscribed in
this list.
Thanks,
Jakub
next reply other threads:[~2007-11-12 8:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-12 8:37 Jakub Jermar [this message]
2007-11-12 9:21 ` Nick Clifton
2007-11-12 16:18 ` Jakub Jermar
2007-11-12 16:57 ` Nick Clifton
2007-11-12 17:20 ` Jakub Jermar
2007-11-12 17:57 ` Dave Korn
2007-11-12 18:02 ` Jakub Jermar
2007-11-12 9:22 ` Tristan Gingold
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=4738109C.3090008@jermar.eu \
--to=jakub@jermar.eu \
--cc=binutils@sourceware.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: 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).