asxxxx target support for sdcc?

Philipp Klaus Krause
Thu Nov 20 12:38:00 GMT 2014

On 20.11.2014 01:31, Mike Frysinger wrote:
> On 14 Nov 2014 13:57, Philipp Klaus Krause wrote:
>> the small device C compiler (sdcc) is a free C compiler targeting
>> various 8-bit architectures.
>> It currently has a fork of GNU binutils in its source tree. AFAIK, sdcc
>> only uses ar, nm and ranlib, and the only substantial difference to GNU
>> binutils is that the fork has removed support for many targets and has
>> added support for an asxxxx target in bfd.
>> sdcc uses asxxxx-flavor assemblers and linkers (see also asxxxx
>> upstream:
>> This look like unnecessary code duplication to me. Would it be possible
>> to get the asxxxx-flavor target support accepted upstream, so sdcc could
>> use GNU binutils instead of the fork? If yes, what would have to be done?

I intend to have another look at this after the 3.5.0 sdcc release.

> you would need:
>  - FSF copyright assignment papers for the people who wrote the code

Is this a hard requirement? I see a few lines by Maarten in there, who
wants to get the changes upstream as well, so shouldn't be a problem.
When I do the rebasing, there will be a bit by me, I'm ok with the
assignment as well. But most of the code was written by Borut, who
probably would be ok with the assignment if he was still alive. What to
do in this case?

>  - someone to actually rebase the changes onto the current binutils git

OK, I'll have a look at it after the 3.5.0 release.

>  - verify the code works and passes tests

Which tests are there?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Binutils mailing list