|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Problem with including binary blobHello,
I have a problem with including a binary blob (which I converted into a .S file containing .byte 0x.. statements). The problem starts with the linker, which says: /usr/lib/gcc/avr/4.3.3/../../../../avr/lib/avr5/crtm644.o: In function `__vector_default': (.vectors+0x50): warning: internal error: out of range error /usr/lib/gcc/avr/4.3.3/../../../../avr/lib/avr5/crtm644.o: In function `__vector_default': (.vectors+0x54): warning: internal error: out of range error /usr/lib/gcc/avr/4.3.3/../../../../avr/lib/avr5/crtm644.o:(.init9+0x0): warning: internal error: out of range error main-huffman-test.o: In function `main': /home/bg/workspace/avr-huffman/main-huffman-test.c:90: warning: internal error: out of range error ... As you might have guessed I'm implementing a huffman decompression algorithm where I want to include the compressed data as binary blob. I'm suspecting the compiler to use rcall where a call is needed. You can download the code at http://nerilex.3dots.de/xchg/avr-huffman.tar.bz2 thanks in advance, Daniel _______________________________________________ AVR-chat mailing list AVR-chat@... http://lists.nongnu.org/mailman/listinfo/avr-chat |
|
|
Re: Problem with including binary blobOn Tue, Jun 30, 2009 at 07:03:04PM +0200, Daniel Otte wrote:
> Hello, > I have a problem with including a binary blob (which I converted into a .S file > containing .byte 0x.. statements). > The problem starts with the linker, which says: > > /usr/lib/gcc/avr/4.3.3/../../../../avr/lib/avr5/crtm644.o: In function > `__vector_default': > (.vectors+0x50): warning: internal error: out of range error Is telling you not to load your binary data into the vector section. -- David Kelly N4HHE, dkelly@... ======================================================================== Whom computers would destroy, they must first drive mad. _______________________________________________ AVR-chat mailing list AVR-chat@... http://lists.nongnu.org/mailman/listinfo/avr-chat |
|
|
Re: Problem with including binary blobDavid Kelly wrote:
> On Tue, Jun 30, 2009 at 07:03:04PM +0200, Daniel Otte wrote: > >> /usr/lib/gcc/avr/4.3.3/../../../../avr/lib/avr5/crtm644.o: In function >> `__vector_default': >> (.vectors+0x50): warning: internal error: out of range error >> > > Is telling you not to load your binary data into the vector section. > ... cause it probably won't fit--- and indeed, in this case it doesn't. :) b.g. -- Bill Gatliff bgat@... _______________________________________________ AVR-chat mailing list AVR-chat@... http://lists.nongnu.org/mailman/listinfo/avr-chat |
|
|
|
|
|
Re: Problem with including binary blob"Daniel Otte" <daniel.otte@...> wrote:
> So how can = > I > instruct avr-objcopy to produce a elf-file from a binary where the conten= > ts is > only stored in flash. http://www.nongnu.org/avr-libc/user-manual/FAQ.html#faq_binarydata (Curious, why does your news reader post articles as "quoted unreadable"? Even for emails, that's not necessary anymore, as most servers do understand 8-bit transmissions, and SMTP servers can change the encoding on the fly if there's really some server that cannot handle 8-bit. Unfortunately, news servers have never been taught this.) -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-chat mailing list AVR-chat@... http://lists.nongnu.org/mailman/listinfo/avr-chat |
| Free embeddable forum powered by Nabble | Forum Help |