1
0
mirror of https://github.com/cc65/cc65.git synced 2025-04-06 20:37:16 +00:00
Spiro Trikaliotis 77fa71994f 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-07-21 03:18:13 +02: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
2022-07-21 03:13:09 +02:00
2019-05-22 11:33:43 +02:00
2022-07-21 03:13:09 +02:00
2021-04-19 16:06:10 +02:00
2022-07-21 03:13:10 +02:00