[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/13697] [avr ] Wrong symbol values with --gc-sections
From: |
amodra at gmail dot com |
Subject: |
[Bug ld/13697] [avr ] Wrong symbol values with --gc-sections |
Date: |
Thu, 16 Feb 2012 11:51:57 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=13697
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amodra at gmail dot com
--- Comment #5 from Alan Modra <amodra at gmail dot com> 2012-02-16 11:51:57
UTC ---
I think this pain is self-inflicted.
You're using -m avr5 -Tdata 0x800100 instead of -m avr51. So you get the avr5
ld script with the data section fudged to be at 0x800100. However, the data
section is stripped by -gc-sections. So the address change doesn't affect
following sections. They stay at the avr5 data memory region of 0x800060.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug ld/13697] New: [avr ] Wrong symbol values with --gc-sections, gjl at gcc dot gnu.org, 2012/02/16
- [Bug ld/13697] [avr ] Wrong symbol values with --gc-sections, gjl at gcc dot gnu.org, 2012/02/16
- [Bug ld/13697] [avr ] Wrong symbol values with --gc-sections, gjl at gcc dot gnu.org, 2012/02/16
- [Bug ld/13697] [avr ] Wrong symbol values with --gc-sections, gjl at gcc dot gnu.org, 2012/02/16
- [Bug ld/13697] [avr ] Wrong symbol values with --gc-sections, gjl at gcc dot gnu.org, 2012/02/16
- [Bug ld/13697] [avr ] Wrong symbol values with --gc-sections, gjl at gcc dot gnu.org, 2012/02/16
- [Bug ld/13697] [avr ] Wrong symbol values with --gc-sections, gjl at gcc dot gnu.org, 2012/02/16
- [Bug ld/13697] [avr ] Wrong symbol values with --gc-sections,
amodra at gmail dot com <=
- [Bug ld/13697] [avr ] Wrong symbol values with --gc-sections, gjl at gcc dot gnu.org, 2012/02/16
- [Bug ld/13697] [avr ] Wrong symbol values with --gc-sections, matthieu.lemerre at cea dot fr, 2012/02/21