From: Maarten B. <sou...@ds...> - 2004-04-13 10:02:49
|
Hi all, With the new _XPAGE definition for selecting the pdata page, the Silabs header files needed an update. Furthermore people are using the F020 and having trouble with it, so here is a new header file for this mcu as well. Please add them to the SDCC tree. I still plan to create example crt*.asm files for the F12x series, but I'm kinda waiting for an answer from Erik Petrich. To Erik, (a copy of my latest comment on BUG 785979) Looking into your code some more, I see you initialize __start__xstack in src/mcs51/main.c (181) to the start of xram. If however this is not on a page boundary, the allocation for it overflows the page. See src/SDCCglue.c (1760). Maybe it's wise to change this allocation to use only the rest of this page (256 - (options.xdata_loc % 256)). And why doesn't crtxinit.asm have some .globl entries? And while you're at it, untabify the file please. Greetings, Maarten Brock |