This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [GOLD][PATCH] Added support for R_ARM_V4BX relocation
Viktor Kutuzov <vkutuzov@accesssoftek.com> writes:
> Ian, do you have a picture in mind of how to support target-specific switches in gold?
I don't. There are already target specific switches, they are just in
General_options along with all the other switches. The GNU linker
doesn't really have target specific switches either--it has emulation
specific switches, but in those terms gold fits into a single
emulation anyhow.
A big problem with target specific switches is that gold doesn't even
pick a target until it has read an input file, and you can't read any
input files until you can parse all the switches.
Ian