[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/13410] [avr]: error: relocation truncated to fit: R_AVR_13_PCREL
From: |
gjl at gcc dot gnu.org |
Subject: |
[Bug ld/13410] [avr]: error: relocation truncated to fit: R_AVR_13_PCREL against symbol |
Date: |
Fri, 03 Feb 2012 12:55:47 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=13410
--- Comment #15 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-02-03
12:55:47 UTC ---
(In reply to comment #13)
> (In reply to comment #12)
> > + if (!strcmp (sec->name,".vectors")
> > + || !strcmp (sec->name,".jumptables"))
> > + shrinkable = FALSE;
> > Shouln't this also cover .jumptables* and .progmem.gcc* ?
> > avr-gcc puts its jumptables into .progmem.gcc_sw_table for instance.
> > Relaxing must not do harm to them.
>
> I didn't analyze the which other sections that might require this, however I
> assumed such requirements will be there. This is one of the reason why I moved
> out the check outside the loop, so the such additions are easy and in one
> place. Are there any other sections that might require to be here?
My bad, I answered too fast. Swtich-case lookup tables from avr-gcc have always
16-bit entries, even on the big devices. Sorry for the noise.
--
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/13410] [avr]: error: relocation truncated to fit: R_AVR_13_PCREL against symbol, eric.weddington at atmel dot com, 2012/02/01
- [Bug ld/13410] [avr]: error: relocation truncated to fit: R_AVR_13_PCREL against symbol, childbear0 at gmail dot com, 2012/02/02
- [Bug ld/13410] [avr]: error: relocation truncated to fit: R_AVR_13_PCREL against symbol, childbear0 at gmail dot com, 2012/02/02
- [Bug ld/13410] [avr]: error: relocation truncated to fit: R_AVR_13_PCREL against symbol, childbear0 at gmail dot com, 2012/02/02
- [Bug ld/13410] [avr]: error: relocation truncated to fit: R_AVR_13_PCREL against symbol, cvs-commit at gcc dot gnu.org, 2012/02/02
- [Bug ld/13410] [avr]: error: relocation truncated to fit: R_AVR_13_PCREL against symbol, eric.weddington at atmel dot com, 2012/02/02
- [Bug ld/13410] [avr]: error: relocation truncated to fit: R_AVR_13_PCREL against symbol, gjl at gcc dot gnu.org, 2012/02/02
- [Bug ld/13410] [avr]: error: relocation truncated to fit: R_AVR_13_PCREL against symbol, childbear0 at gmail dot com, 2012/02/03
- [Bug ld/13410] [avr]: error: relocation truncated to fit: R_AVR_13_PCREL against symbol, childbear0 at gmail dot com, 2012/02/03
- [Bug ld/13410] [avr]: error: relocation truncated to fit: R_AVR_13_PCREL against symbol,
gjl at gcc dot gnu.org <=