[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Avoiding copy_data in config/avr/avr.c avr_file_start
From: |
Ben Jackson |
Subject: |
Re: [avr-gcc-list] Avoiding copy_data in config/avr/avr.c avr_file_start()? |
Date: |
Wed, 27 Jul 2005 21:11:06 -0700 |
User-agent: |
Mutt/1.5.6i |
On Thu, Jul 28, 2005 at 01:01:47PM +1000, Erik Christiansen wrote:
>
> IIUC, you're seeking to use SIZEOF(.data) to conditioanlly link in a
> tiny section with just __do_copy_data in it. (ditto for .bss).
Right. However, I think it's doomed. I'm getting into this case:
else if (allocation_done == lang_final_phase_enum
|| assigning_to_dot)
einfo (_("%F%S: undefined symbol `%s' referenced in expression\n"),
so in fact my phase guess was not far off. By the time SIZEOF(.data)
can be resolved, it's too late to add more stuff. Makes sense in a way--
what if the 'more stuff' dragged in more .data?
--
Ben Jackson
<address@hidden>
http://www.ben.com/