1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-25 11:30:06 +00:00
Spiro Trikaliotis 364e72921c ca65: .constructor after .export fails
The actor directives (.constructor, .destructor, .interruptor, and .condes)
can't handle a symbol that's already exported.

The relevant code does the checks in the wrong order.

For example, the following correct snippet does not assemble:

        .export         C
C:      .constructor    C, 5

The assembler outputs: test.s:2: Error: Address size mismatch for symbol 'C'

Exchanging both lines makes it work.

This fixes #1647; the patch is provided by 'kugelfuhr' and taken from there.
2022-02-15 22:03:47 +01:00
..
2021-04-19 16:06:10 +02:00
2021-04-19 16:06:10 +02:00
2021-04-19 16:06:10 +02:00
2021-12-13 17:20:56 +01:00
2021-12-13 17:14:57 +01:00
2021-04-19 16:06:10 +02:00
2022-01-08 16:39:30 -05:00