Skip to contentSkip to conversation

Wanted: A decent assembler

DISCUSSION Chuck Ebbert 2 participants 2 messages Apr 23, 2003

lore
Share & tools
lore
#0 lore raw

Output from 'make bzImage' after making some changes:

Error: non-constant expression in ".if" statement.

Why is the kernel using a 1-pass assembler?

------
Chuck

#1 lore raw
Quoted 8 lines · Chuck Ebbert

Output from 'make bzImage' after making some changes:

Error: non-constant expression in ".if" statement.

Why is the kernel using a 1-pass assembler?

Well it isn't. The AT&T clone assembler will resolve forward references and it does it by using as many passes as necessary. It even has a 'reasonable' MACRO capability. I use it quite a bit to minimize the code-size or to maximize performance in embedded systems.

Your error shown above is a real error. If you expose the code that it barfed on, maybe somebody could help you fix the code.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips). Why is the government concerned about the lunatic fringe? Think about it.