This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Patch, avr] Add DIFF relocations
- From: Tom Tromey <tromey at redhat dot com>
- To: Denis Chertykov <chertykov at gmail dot com>
- Cc: Senthil Kumar Selvaraj <senthil_kumar dot selvaraj at atmel dot com>, "binutils\ at sourceware dot org" <binutils at sourceware dot org>, Nick Clifton <nickc at redhat dot com>
- Date: Thu, 10 Apr 2014 12:51:43 -0600
- Subject: Re: [Patch, avr] Add DIFF relocations
- Authentication-results: sourceware.org; auth=none
- References: <20140409124311 dot GA1031 at atmel dot com> <CADOs=zZPvqf0wrkWvdd1BPYtS7p-7GdqUyG3BdPRu-GdYqzw2w at mail dot gmail dot com>
>>>>> "Denis" == Denis Chertykov <chertykov@gmail.com> writes:
>> * reloc.c: Add BFD_RELOC_AVR_DIFF8/16/32 relocations
Denis> Committed.
On x86-64 Fedora 20, with --enable-targets=all, I get:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/bfd -I. -I../../binutils-gdb/bfd -I../../binutils-gdb/bfd/../include -DHAVE_all_vecs -DBINDIR=\"/home/tromey/gnu/gdb/devel/install/bin\" -g3 -gdwarf-4 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g3 -gdwarf-4 -MT elf32-avr.lo -MD -MP -MF .deps/elf32-avr.Tpo -c ../../binutils-gdb/bfd/elf32-avr.c -o elf32-avr.o
../../binutils-gdb/bfd/elf32-avr.c:650:5: error: âBFD_RELOC_AVR_DIFF8â undeclared here (not in a function)
{ BFD_RELOC_AVR_DIFF8, R_AVR_DIFF8 },
^
../../binutils-gdb/bfd/elf32-avr.c:651:5: error: âBFD_RELOC_AVR_DIFF16â undeclared here (not in a function)
{ BFD_RELOC_AVR_DIFF16, R_AVR_DIFF16 },
^
../../binutils-gdb/bfd/elf32-avr.c:652:5: error: âBFD_RELOC_AVR_DIFF32â undeclared here (not in a function)
{ BFD_RELOC_AVR_DIFF32, R_AVR_DIFF32 }
^
make[4]: *** [elf32-avr.lo] Error 1
Tom