~ubuntu-branches/ubuntu/maverick/avr-libc/maverick

« back to all changes in this revision

Viewing changes to crt1/gcrt1.S

  • Committer: Bazaar Package Importer
  • Author(s): Hakan Ardo
  • Date: 2009-10-31 11:52:10 UTC
  • mfrom: (1.2.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20091031115210-crjd42sn6ezrj52c
* New upstream relese (closes: #544030)
* Added lintian overrides (closes: #553265)

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30
30
   POSSIBILITY OF SUCH DAMAGE. */
31
31
 
32
 
/* $Id: gcrt1.S,v 1.12.2.1 2008/03/24 17:11:06 arcanum Exp $ */
 
32
/* $Id: gcrt1.S,v 1.12.2.4 2009/03/02 23:36:16 arcanum Exp $ */
33
33
 
34
34
#if (__GNUC__ < 3) || (__GNUC__ == 3 && __GNUC_MINOR__ < 3)
35
35
#error "GCC version >= 3.3 required"
225
225
        out     _SFR_IO_ADDR(EIND), r16
226
226
#endif  /* __AVR_3_BYTE_PC__ */
227
227
 
 
228
#ifdef __AVR_HAVE_RAMPD__
 
229
        out     AVR_RAMPD_ADDR, __zero_reg__
 
230
        out     AVR_RAMPX_ADDR, __zero_reg__
 
231
        out     AVR_RAMPY_ADDR, __zero_reg__
 
232
        out     AVR_RAMPZ_ADDR, __zero_reg__
 
233
#endif
 
234
 
228
235
#if BIG_CODE
229
236
        /* Only for >64K devices with RAMPZ, replaces the default code
230
237
           provided by libgcc.S which is only linked in if necessary.  */
265
272
        cpi     r26, lo8(__data_end)
266
273
        cpc     r27, r17
267
274
        brne    .L__do_copy_data_loop
 
275
#ifdef __AVR_HAVE_RAMPD__
 
276
        out     AVR_RAMPZ_ADDR, __zero_reg__
 
277
#endif /* __AVR_HAVE_RAMPD__*/
 
278
 
268
279
#endif /* BIG_CODE */
269
280
 
270
281
        .set    __stack, RAMEND