projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xa51, work in progress
[fw/sdcc]
/
src
/
SDCCmain.c
diff --git
a/src/SDCCmain.c
b/src/SDCCmain.c
index 5c03a511bad0b10cf99bfbc751bd013cb196f3a1..1a7c80ce08a083694c80b9281431d45feb94f975 100644
(file)
--- a/
src/SDCCmain.c
+++ b/
src/SDCCmain.c
@@
-1119,7
+1119,8
@@
linkEdit (char **envp)
WRITE_SEG_LOC (XDATA_NAME, options.xdata_loc);
/* indirect data */
- WRITE_SEG_LOC (IDATA_NAME, options.idata_loc);
+ if (IDATA_NAME)
+ WRITE_SEG_LOC (IDATA_NAME, options.idata_loc);
/* bit segment start */
WRITE_SEG_LOC (BIT_NAME, 0);