[Bug binutils/13503] [avr] Support RELOCs to represent a byte

2012-06-11 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13503

--- Comment #8 from cvs-commit at gcc dot gnu.org cvs-commit at gcc dot 
gnu.org 2012-06-11 14:26:48 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:ni...@sourceware.org2012-06-11 14:26:41

Modified files:
gas: ChangeLog 
gas/config : tc-avr.c 

Log message:
PR 13503
* config/tc-avr.c (exp_mod): Fix typo introduced in 1.82
from 2012-05-16.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=srcr1=1.4751r2=1.4752
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-avr.c.diff?cvsroot=srcr1=1.82r2=1.83

-- 
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-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/13503] [avr] Support RELOCs to represent a byte

2012-05-16 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13503

--- Comment #7 from cvs-commit at gcc dot gnu.org cvs-commit at gcc dot 
gnu.org 2012-05-16 14:52:22 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:ni...@sourceware.org2012-05-16 14:52:16

Modified files:
gas: ChangeLog 
gas/config : tc-avr.c 
include/elf: ChangeLog avr.h 
bfd: ChangeLog bfd-in2.h elf32-avr.c libbfd.h 
 reloc.c 

Log message:
PR 13503
* reloc.c: Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenrate.
* elf32-avr.c (elf_avr_howto_table): Rename R_AVR_8_HHI8 to
R_AVR_8_HLO8.
(avr_reloc_map): Ditto.

* config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to
R_AVR_8_HLO8.
(exp_mod_data) Ditto. And replace hhi8 with hlo8.
(md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.

* avr.h (RELOC_NUMBERS): Rename R_AVR_8_HHI8 to R_AVR_8_HLO8.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=srcr1=1.4735r2=1.4736
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-avr.c.diff?cvsroot=srcr1=1.81r2=1.82
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/elf/ChangeLog.diff?cvsroot=srcr1=1.443r2=1.444
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/elf/avr.h.diff?cvsroot=srcr1=1.13r2=1.14
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=srcr1=1.5687r2=1.5688
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/bfd-in2.h.diff?cvsroot=srcr1=1.572r2=1.573
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf32-avr.c.diff?cvsroot=srcr1=1.56r2=1.57
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/libbfd.h.diff?cvsroot=srcr1=1.276r2=1.277
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/reloc.c.diff?cvsroot=srcr1=1.231r2=1.232

-- 
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-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/13503] [avr] Support RELOCs to represent a byte

2012-05-11 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13503

--- Comment #5 from cvs-commit at gcc dot gnu.org cvs-commit at gcc dot 
gnu.org 2012-05-11 12:59:28 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:ni...@sourceware.org2012-05-11 12:59:24

Modified files:
gas: ChangeLog 
gas/config : tc-avr.c 
bfd: ChangeLog bfd-in2.h elf32-avr.c libbfd.h 
 reloc.c 
include/elf: ChangeLog avr.h 

Log message:
PR 13503
* reloc.c: Add new ENUM for BFD_RELOC_AVR_8_LO,
BFD_RELOC_AVR_8_HI, BFD_RELOC_AVR_8_HHI.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenrate.
* elf32-avr.c (elf_avr_howto_table): Add entries for
R_AVR_8_LO8, R_AVR_8_HI8, R_AVR_8_HHI8.
(avr_reloc_map): Add RELOC mappings for R_AVR_8_LO8, R_AVR_8_HI8,
R_AVR_8_HHI8.

* config/tc-avr.c (exp_mod_pm): Remove variable.
(exp_mod_data_t): New typedef.
(pexp_mod_data, exp_mod_data): New variables.
(avr_parse_cons_expression): Scan through exp_mod_data[] to find
data expression modifiers pm, gs, lo8, hi8, hhi8, hh8
and set pexp_mod_data accordingly to be used in avr_cons_fix_new.
(avr_cons_fix_new): Handle new data expression modifiers shipped
in pexp_mod_data.
(md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI,
BFD_RELOC_AVR_8_HHI.

* elf/avr.h (RELOC_NUMBERS): Add values for R_AVR_8_LO8,
R_AVR_8_HI8, R_AVR_8_HHI8.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=srcr1=1.4727r2=1.4728
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-avr.c.diff?cvsroot=srcr1=1.80r2=1.81
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=srcr1=1.5679r2=1.5680
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/bfd-in2.h.diff?cvsroot=srcr1=1.568r2=1.569
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf32-avr.c.diff?cvsroot=srcr1=1.55r2=1.56
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/libbfd.h.diff?cvsroot=srcr1=1.273r2=1.274
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/reloc.c.diff?cvsroot=srcr1=1.228r2=1.229
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/elf/ChangeLog.diff?cvsroot=srcr1=1.440r2=1.441
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/elf/avr.h.diff?cvsroot=srcr1=1.12r2=1.13

-- 
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-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/13503] [avr] Support RELOCs to represent a byte

2012-05-11 Thread nickc at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13503

Nick Clifton nickc at redhat dot com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||nickc at redhat dot com
 Resolution||FIXED

--- Comment #6 from Nick Clifton nickc at redhat dot com 2012-05-11 13:00:48 
UTC ---
Patch applied.

-- 
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-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/13503] [avr] Support RELOCs to represent a byte

2012-03-04 Thread gjl at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13503

--- Comment #3 from Georg-Johann Lay gjl at gcc dot gnu.org 2012-03-04 
13:39:16 UTC ---
(In reply to comment #1)
 See also respective extensions to avr-gcc:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50931

-- 
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-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/13503] [avr] Support RELOCs to represent a byte

2012-03-04 Thread gjl at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13503

--- Comment #4 from Georg-Johann Lay gjl at gcc dot gnu.org 2012-03-04 
13:41:53 UTC ---
(In reply to comment #1)
 See also respective extensions to avr-gcc:

Finally, the right link to the avr-gcc named address space support, including
24-bit pointers:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49868

-- 
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-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/13503] [avr] Support RELOCs to represent a byte

2012-01-29 Thread gjl at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13503

--- Comment #2 from Georg-Johann Lay gjl at gcc dot gnu.org 2012-01-29 
17:58:26 UTC ---
(In reply to comment #0)
 Suppose the following C code from avr-gcc 4.7:
 
 extern const __pgmx char foo;
 const __pgmx void * pointer = foo;

Please notice that the address spaces have been renamed recently and the name
for the 3-byte address is __memx now.

Thus, if you want to see the missing feature in code compiled from C, the C
source now must read:

extern const __memx char foo;
const __memx void *pointer = foo;

The generated assembler code will be the same, of course, and the feature as
described above to support

.bytehh8(foo)

is still missing.

-- 
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-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/13503] [avr] Support RELOCs to represent a byte

2011-12-15 Thread gjl at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13503

Georg-Johann Lay gjl at gcc dot gnu.org changed:

   What|Removed |Added

 CC||bjoern.m.haase at web dot
   ||de

--- Comment #1 from Georg-Johann Lay gjl at gcc dot gnu.org 2011-12-15 
16:19:21 UTC ---
See also respective extensions to avr-gcc:

http://gcc.gnu.org/PR49868
http://gcc.gnu.org/PR50931

-- 
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-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils