[cc65] .align

Date view Thread view Subject view

From: Tim Vanderhoek (vanderh_at_ecf.utoronto.ca)
Date: 2000-02-05 20:20:10


It would seem that for the .align directive to work correctly, the
object file containing the .align must be listed first on the ld65
command line.

Eg. foo.s contains .align 32
    bar.s does not contain .align

ld65 foo.o bar.o

works as expected, but

ld65 bar.o foo.o

does not work as expected.

Is this a bug or just an undocumented feature?  As a bug, I don't
really see any easy way to fix it (says I looking at the relevant
bin.c lines).  Short of changing the .o format, I'm not sure there's
even any way to make the linker issue a warning when the file order is
reversed???


-- 
Signature withheld by request of author.
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:35 CET