clarification to _GLOBAL declaration in processor.h!!!

Gary Thomas gary at mlbassoc.com
Fri Feb 7 00:45:11 EST 2003


On Thu, 2003-02-06 at 00:18, Anand Franklin J wrote:
>
> Hi,
>         I am compiling a asembler code but it gives the following error,
> using the asembler (MVL ppc_405-as)
>
> ppc_call.s:4000: Error: Unrecognized opcode:
> `_global(powerpcMfhsmc1_data)'
> ppc_call.s:4017: Error: Unrecognized opcode: `_global(setgpio_bit)'
> ppc_call.s:4084: Error: Unrecognized opcode: `_global(np_compare_swap)'
>
> how to solve this problem.

Check the documentation.  These expressions should be written:

	.globl	powerpcMfhsmc1_data
etc.

--
------------------------------------------------------------
Gary Thomas                 |
MLB Associates              |  Consulting for the
+1 (970) 229-1963           |    Embedded world
http://www.mlbassoc.com/    |
email: <gary at mlbassoc.com>  |
gpg: http://www.chez-thomas.org/gary/gpg_key.asc
------------------------------------------------------------


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list