bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/17094] bfd fails to parse ELF objects made with gas


From: andrel at cybernoia dot de
Subject: [Bug binutils/17094] bfd fails to parse ELF objects made with gas
Date: Wed, 02 Jul 2014 15:01:01 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=17094



--- Comment #4 from Andre Landwehr <andrel at cybernoia dot de> ---

ahhh ok I see, I removed the ",TRUE" part of the statement in an earlier st
ep

because of this compilation error:



gcc -DHAVE_CONFIG_H -I.  -I. -I. -I../bfd -I./config -I./../include -I./..

-I./../bfd

-DLOCALEDIR="\"/usr/local/arm/cross-gcc-4.9.0-armv5te-soft/x86_64-pc-linu
x-gnu/share/locale\""

 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 
-MT

write.o -MD -MP -MF .deps/write.Tpo -c -o write.o write.c

In file included from as.h:95:0,

                 from write.c:25:

write.c: In function ‘record_alignment’:

../bfd/bfd.h:303:83: error: right-hand operand of comma expression has no

effect [-Werror=unused-value]

 #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power 
=

(val)),TRUE)

                         
                         
                         
    

   ^

write.c:366:5: note: in expansion of macro ‘bfd_set_section_alignme
nt’

     bfd_set_section_alignment (stdoutput, seg, align);

     ^



Sorry, my bad. Should I close this bug and open a new one for the compilati
on

problem?



-- 

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]