projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Generate a warning when a library file is not found.
[fw/sdcc]
/
as
/
mcs51
/
lkaomf51.c
diff --git
a/as/mcs51/lkaomf51.c
b/as/mcs51/lkaomf51.c
index fa4611c60ad054c12809e48afd58706018cb84e0..fa009e7732d9ed71c379249e7889eccb2f7f706a 100644
(file)
--- a/
as/mcs51/lkaomf51.c
+++ b/
as/mcs51/lkaomf51.c
@@
-378,6
+378,7
@@
void OutputAOEMF51(void)
/*Content Record*/
OutputByte(0x06);/*REC TYPE*/
+ if(procedure[k].EndAdd==-1) procedure[k].EndAdd=HexSize;
recsize=procedure[k].EndAdd-procedure[k].BeginAdd+1+4;
OutputWord(recsize);/*Record Length*/
OutputByte(0x00);/*SEG ID*/