[cc65] linker bug

From: Groepaz <groepaz1gmx.net>
Date: 2012-02-21 00:06:38
mmmh i finally updated :) unfortunately, something broke :/ i get internal 
linker errors like this:

ld65: Internal Error: Invalid file offset for memory area RAM: 4096/3013

this is within a rather large project and i dont really have the time to strip 
it down to a testcase... what seems to happen is that the linker calculates 
the size of a memory section wrong if the memory section has a fixed length 
(is filled) and then a segment marked as bss is emitted to it. (ie, changing 
the segment to rw makes it work.) if after such memory section another section 
is present, it will generate the above error.

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

When you take stuff from one writer, it's plagiarism; but when you take it 
from many writers, it's research. 
<Wilson Mizner>

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Feb 21 00:06:48 2012

This archive was generated by hypermail 2.1.8 : 2012-02-21 00:06:51 CET