This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [committed] Don't pass -m32 to libcc1 on arm-linux


On 01/19/2018 04:24 PM, Andreas Schwab wrote:
> On Jan 19 2018, Yao Qi <qiyaoltc@gmail.com> wrote:
> 
>> This patch fixes it by implementing gcc_target_options gdbarch method
>> for arm-linux to override option "-m32".
> 
> Why is that not the default?
I think for really no good reason other than the coincidence that
the first couple ports that implemented this hook could share the
same set of "-m" options.

I agree that changing the default would be better.  "-m" options are,
by design, machine-specific.

Thanks,
Pedro Alves


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