Files
cc65/src/ca65
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
..
2014-03-04 01:11:19 +01:00
2014-03-04 01:11:19 +01:00
2020-11-19 22:02:07 +01:00
2014-03-04 01:11:19 +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-04-19 15:50:52 +02:00
2021-05-11 17:41:59 +02:00
2014-03-04 01:11:19 +01:00
2014-03-04 01:11:19 +01:00
2016-08-29 10:45:18 +02:00
2014-03-04 01:11:19 +01:00
2021-06-06 23:20:54 +01:00
2014-03-04 01:11:19 +01:00
2014-03-04 01:11:19 +01:00
2014-03-04 01:11:19 +01:00
2014-03-04 01:11:19 +01:00
2021-04-29 07:55:43 -04:00
2014-03-04 01:11:19 +01:00
2014-03-04 01:11:19 +01:00
2017-06-28 20:43:31 +02:00
2014-03-04 01:11:19 +01:00
2014-03-04 01:11:19 +01:00
2014-03-04 01:11:19 +01:00
2014-03-04 01:11:19 +01:00
2021-04-19 15:50:52 +02:00
2019-05-11 12:32:44 +02:00
2014-03-04 01:11:19 +01:00