This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ia64] objcopy and constant-gp


Hi Jakub,

      .section foo, "a", @progbits
      .incbin "the_binary_file"

this works. But it is rather an acceptable workaround.

I think that you might mean "unacceptable" here... :-)


Moreover, I need to use the same trick for different platforms and some platforms' assemblers use '%' instead of '@' (but that's managable).

True.


I think that adding a flag to objcopy that would allow one to set file header flags will be a little bit better.

But very target specific if you want to use printable names for the flag bits. Still it is a feature that might prove useful to other people, so if you want to implement it then please go ahead.


Cheers
  Nick



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]