[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] [RFC] mem sections
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] [RFC] mem sections |
Date: |
Fri, 30 Aug 2002 18:22:29 +0200 |
User-agent: |
Mutt/1.2.5i |
As Theodore A. Roth wrote:
> + .section .init1,"ax",@progbits
> + ldi r0, 0xff
> + out _SFR_IO_ADDR(PORTB), r0
> + out _SFR_IO_ADDR(DDRB), r0
> +\endcode
> +
> +\remarks What is <tt>,"ax",@progbits</tt> part doing???
Quoting the gas info pages:
`a'
section is allocatable
`w'
section is writable
`x'
section is executable
The optional TYPE argument may contain one of the following
constants:
address@hidden'
section contains data
address@hidden'
section does not contain data (i.e., section only occupies space)
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/