Keil™, An ARM® Company

Discussion Forum

error L121 improper fixup

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
wang jizhi
Posted
15-Aug-2004 22:37
Toolset
C51
New! error L121 improper fixup
My program:void time(void) interrupt 1 {...}
When linking, error L121 is given:
*** ERROR L121: IMPROPER FIXUP
MODULE: main.obj (MAIN)
SEGMENT: ABSOLUTE
OFFSET: 000BH
If "interrupt 1" is deleted, the link is OK.
Why?
Read-Only
Author
erik malund
Posted
16-Aug-2004 07:44
Toolset
C51
New! RE: error L121 improper fixup
well if you have 2 things at the same address, the linker can not link. Best guess, you have located part of some asembler code at 0.

Erik
Read-Only
Author
Ward Jon
Posted
16-Aug-2004 19:44
Toolset
C51
New! RE: error L121 improper fixup
Sounds like an AJMP or ACALL to something that is too far away for an AJMP instruction.

Jon
Read-Only
Author
Keil Support, Intl.
Posted
25-Aug-2004 07:44
Toolset
C51
New! RE: error L121 improper fixup
See also the answers in the knowledgebase:
http://www.keil.com/support/docs/2157.htm
http://www.keil.com/support/docs/1270.htm

Next Thread | Thread List | Previous Thread Start a Thread | Settings