avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] [RFC] mem sections


From: Theodore A. Roth
Subject: Re: [avr-libc-dev] [RFC] mem sections
Date: Fri, 30 Aug 2002 09:24:56 -0700 (PDT)

On Fri, 30 Aug 2002, Joerg Wunsch wrote:

:) 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)
:)

Great. I'll patch this in after I commit what I've got.

Ted Roth





reply via email to

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