bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: gjl at gcc dot gnu.org
Subject: [Bug binutils/13503] [avr] Support RELOCs to represent a byte
Date: Sun, 29 Jan 2012 17:58:26 +0000

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

    .byte    hh8(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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]