Skip to contentSkip to conversation

clarification to _GLOBAL declaration in processor.h!!!

DISCUSSION Anand Franklin J 2 participants 2 messages Feb 6, 2003

lore
Share & tools
lore
#0 lore raw

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.
thanking you.
franklin.

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

#1 lore raw
Quoted 11 lines · Anand Franklin J

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: <[email protected]>  |

gpg: http://www.chez-thomas.org/gary/gpg_key.asc
------------------------------------------------------------

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