From 7a1d4c38938b172a8f3fdb38b01551306bd51d8d Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Tue, 31 Oct 2006 20:16:33 +0000 Subject: 2006-10-31 Paul Brook gas/ * config/tc-arm.c (object_arch): New variable. (s_arm_object_arch): New function. (md_pseudo_table): Add object_arch. (aeabi_set_public_attributes): Obey object_arch. * doc/c-arm.texi: Document .object_arch. --- gas/doc/c-arm.texi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gas/doc/c-arm.texi') diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi index 7fede6c..2fea463 100644 --- a/gas/doc/c-arm.texi +++ b/gas/doc/c-arm.texi @@ -585,6 +585,12 @@ for the @option{-mcpu} commandline option. Select the target architecture. Valid values for @var{name} are the same as for the @option{-march} commandline option. +@cindex @code{.object_arch} directive, ARM +@item .object_arch @var{name} +Override the architecture recorded in the EABI object attribute section. +Valid values for @var{name} are the same as for the @code{.arch} directive. +Typically this is useful when code uses runtime detection of CPU features. + @cindex @code{.fpu} directive, ARM @item .fpu @var{name} Select the floating point unit to assemble for. Valid values for @var{name} -- cgit v1.1