[patch] ARM FreeBSD fix bootstrap
Nathan Sidwell
nathan@acm.org
Wed Dec 23 14:45:00 GMT 2015
On 12/23/15 05:22, Richard Earnshaw (lists) wrote:
>> 2015-12-22 Andreas Tobler <andreast@gcc.gnu.org>
>>
>> * config/arm/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Adjust to
>> check unaligned_access on the gcc_options set.
>> * config/arm/arm.c (arm_option_override): Move
>> SUBTARGET_OVERRIDE_OPTIONS from here to
>> (arm_option_override_internal).
>>
>
> Moving this hunk to a different place potentially affects VXWORKS (the
> only other target that uses this hook). I'd like to see confirmation
> from the VxWorks maintainers (Nathan?) that this doesn't cause any
> problems for them. If it does, then I think you need to create a new
> subtarget hook (SUBTARGET_OVERRIDE_INTERNAL_OPTIONS?) and change FreeBSD
> to use that rather than the existing hook.
thanks for thinking of that. Off hand I can't see this being a problem, and if
we discover it is, we can address it then.
nathan
More information about the Gcc-patches
mailing list