Forum Discussion
Altera_Forum
Honored Contributor
20 years agosection .text overlaps section .entry
Hello, I defined an internal ROM with 16kBytes (0x00c08000-0x00c0bfff) and an internal RAM with 2kBytes starting at address 0x00c02000. Small C library and Reduced Device Drviers are used. ...
Altera_Forum
Honored Contributor
20 years agoHello pfab,
the generated.x file looked ok for me ... Hello keijo, in the map.txt file it looks really like that the section .text and .entry start both at the same address 0x00c08000. So they overlap ;-(, the linker was right. I just changed the internal ROM address to 0x00000000 and ... it worked, no overlapping anymore. Section .entry starts now at 0x00000000 and section .text starts at 0x00000020. Remains the question, is it working now because I regenerated and recompiled everything or because I changed the ROM address (and it's a bug) .... So thanks for your hints and help!!! damc