This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH] Add support for ATtiny4/5/9/10/20/40 microcontrollers

> -----Original Message-----
> From: []
> On Behalf Of Barney Stratford
> Sent: Sunday, June 15, 2014 12:35 AM
> To:
> Subject: [PATCH] Add support for ATtiny4/5/9/10/20/40 microcontrollers
> I've recently been working on getting the assembler and linker to work
> with the ATtiny40 family of microcontrollers. I've also added some
> functionality to the avr assembler in general. As this may be useful to
> others, I'm attaching my patches against the current git head. Can someone
> review and commit them please?
> 1_avrtiny10.patch contains the basic avrtiny10 code, including a linker
> reloc for the 16-bit version of the lds and sts instructions.
> 2_avr_io_relocs.patch allows you to refer to the I/O registers by symbol
> name.
> 3_avr_reg_name.patch allows you to refer to r26-r31 by name as
> /[xyz][hl]?/. It also fixes a bug that would prevent you from using a
> symbol whose name begins with 'r' to refer to a register.


I looked at your patches. Atmel distributed binutils also have tiny
architecture support. Though both are similar, there are some differences
such as architecture name, id, LDS16 reloc size, memory access range (0xbf) etc.

I can check all the differences and we can sync to avoid conflicts.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]