bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/21683] [avr] Support a pseudo-instruction to allow more efficie


From: mehmetgelisin at aol dot com
Subject: [Bug gas/21683] [avr] Support a pseudo-instruction to allow more efficient GCC ISR prologues
Date: Fri, 10 Sep 2021 19:36:38 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=21683

Mehmet gelisin <mehmetgelisin at aol dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mehmetgelisin at aol dot com

--- Comment #7 from Mehmet gelisin <mehmetgelisin at aol dot com> ---
lst the ISA of AVR ATtiny416 / 417 / 816 / 817 would fit avrxmega2, these
sevices feature the flash being accessible via the SRAM address range and
instructions.  This means that .rodata need not to be part of .data which is
the case for all other AVR devices (except avrtiny).

Using SRAM addresses for .rodata requires that such SRAM addresses are offset
by 0x8000 compared to the flash addresses as accessible by LPM, for example
like so:

__RODATA_PM_OFFSET__ = DEFINED(__RODATA_PM_OFFSET__) ? __RODATA_PM_OFFSET__ :
0x8000;


  .text   :
  {
     ...   
  }  > text
  .rodata ADDR(.text) + SIZEOF (.text) + __RODATA_PM_OFFSET__ :
  {
    *(.rodata)
    *(.rodata*)
    *(.gnu.linkonce.r*)
  } AT> text
  .data :
  {
     ...

Consequently, we want a new emulation to support that feature in an optimal

lst the ISA of AVR ATtiny416 / 417 / 816 / 817 would fit avrxmega2, these
sevices feature the flash being accessible via the SRAM address range and
instructions.  This means that .rodata need not to be part of .data which is
the case for all other AVR devices (except avrtiny).
 https://komiya-dental.com/ 
Using SRAM addresses for .rodata requires that such SRAM addresses are offset
by 0x8000 compared to the flash addresses as accessible by LPM, for example
like so:

__RODATA_PM_OFFSET__ = DEFINED(__RODATA_PM_OFFSET__) ? __RODATA_PM_OFFSET__ :
0x8000;

http://www.iu-bloomington.com/ 
  .text   :
  {
     ...   
  }  > text
  .rodata ADDR(.text) + SIZEOF (.text) + __RODATA_PM_OFFSET__ :
  {
    *(.rodata)
    *(.rodata*)
    *(.gnu.linkonce.r*) https://www.webb-dev.co.uk/ 
  } AT> text
  .data :
  {
     ...

Consequently, we want a new emulation to support that feature in an optimal
 https://waytowhatsnext.com/  
lst the ISA of AVR ATtiny416 / 417 / 816 / 817 would fit avrxmega2, these
sevices feature the flash being accessible via the SRAM address range and
instructions.  This means that .rodata need not to be part of .data which is
the case for all other AVR devices (except avrtiny).

Using SRAM addresses for .rodata requires that such SRAM addresses are offset
by 0x8000 compared to the flash addresses as accessible by LPM, for example
like so:
http://www.acpirateradio.co.uk/ 
__RODATA_PM_OFFSET__ = DEFINED(__RODATA_PM_OFFSET__) ? __RODATA_PM_OFFSET__ :
0x8000;


  .text   :
  {
     ...   
  }  > text http://www.logoarts.co.uk/ 
  .rodata ADDR(.text) + SIZEOF (.text) + __RODATA_PM_OFFSET__ : 
  {
    *(.rodata)
    *(.rodata*)
    *(.gnu.linkonce.r*)
  } AT> text
  .data :
  { http://www.slipstone.co.uk/ 
     ...

Consequently, we want a new emulation to support that feature in an optimal

lst the ISA of AVR ATtiny416 / 417 / 816 / 817 would fit avrxmega2, these
http://embermanchester.uk/ sevices feature the flash being accessible via the
SRAM address range and instructions.  This means that .rodata need not to be
part of .data which is the case for all other AVR devices (except avrtiny).
http://connstr.net/ 

Using SRAM addresses for .rodata requires that such http://joerg.li/ SRAM
addresses are offset by 0x8000 compared to the flash addresses as accessible by
LPM, for example like so:
http://www.jopspeech.com/
__RODATA_PM_OFFSET__ = DEFINED(__RODATA_PM_OFFSET__) ? __RODATA_PM_OFFSET__ :
0x8000;


  .text   : http://www.wearelondonmade.com/
  {
     ...   
  }  > text
  .rodata ADDR(.text) + SIZEOF (.text) + __RODATA_PM_OFFSET__ :
  {
    *(.rodata) http://www.compilatori.com/
    *(.rodata*)
    *(.gnu.linkonce.r*)
  } AT> text
  .data :
  {
     ... http://www-look-4.com/

Consequently, we want a new emulation to support that feature in an optimal

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]