[avr-gcc-list] EF_AVR_LINKRELAX_PREPARED bit in e_flags

2012-09-04 Thread Vidya Praveen
Hi This is to do with binutils but I believe it's OK to discuss it here since it's more AVR ABI related. At present, we use first 7 bits (bits 0-6) of e_flags of the ELF header for specifying the "arch" (ISA variation) and the 8th bit (bit 7) is used for EF_AVR_LINKRELAX_PREPARED to indicate tha

Re: [avr-gcc-list] EF_AVR_LINKRELAX_PREPARED bit in e_flags

2012-09-04 Thread Joerg Wunsch
Hi Vidya, > I am trying to introduce a new series for Tiny core. As I see 0xx > series is used for Mega and 1xx series is used for XMega now. If I > have to have 200 series for Tiny, I need to move the > EF_AVR_LINKRELAX_PREPARED to a different position. > I know this will cause binary incompatib

Re: [avr-gcc-list] EF_AVR_LINKRELAX_PREPARED bit in e_flags

2012-09-04 Thread Vidya Praveen
Hi Joerg, On 9/5/2012 12:25 AM, Joerg Wunsch wrote: >> I am trying to introduce a new series for Tiny core. As I see 0xx >> series is used for Mega and 1xx series is used for XMega now. If I >> have to have 200 series for Tiny, I need to move the >> EF_AVR_LINKRELAX_PREPARED to a different positio

Re: [avr-gcc-list] EF_AVR_LINKRELAX_PREPARED bit in e_flags

2012-09-04 Thread Georg-Johann Lay
Vidya Praveen wrote: While we are on this topic, I was wondering if we should also introduce a bit in e_flags for -mshort-enums and add a compatibility check. Comments? There are many other options that change the ABI and might lead to incompatible objects and potentially wrong code if linked