This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18145] Do not emit __do_copy_data or __do_clear_bss if .data or .bss is empty.
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 22 Feb 2012 14:14:03 +0000
- Subject: [Bug target/18145] Do not emit __do_copy_data or __do_clear_bss if .data or .bss is empty.
- Auto-submitted: auto-generated
- References: <bug-18145-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18145
--- Comment #6 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-02-22 14:14:03 UTC ---
Author: gjl
Date: Wed Feb 22 14:13:48 2012
New Revision: 184481
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184481
Log:
PR target/18145
* config/avr/avr.c (avr_asm_output_aligned_decl_common): Skip
setting avr_need_clear_bss_p for __gnu_lto* symbols.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr.c