public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [ia64] objcopy and constant-gp
@ 2007-11-12  8:37 Jakub Jermar
  2007-11-12  9:21 ` Nick Clifton
  2007-11-12  9:22 ` Tristan Gingold
  0 siblings, 2 replies; 8+ messages in thread
From: Jakub Jermar @ 2007-11-12  8:37 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-11-12 18:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-12  8:37 [ia64] objcopy and constant-gp Jakub Jermar
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

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).