[PATCH] Check for binutils .cfi_* advance bug with code alignment ?factor > 1 (PR target/37610)

Rainer Orth ro@techfak.uni-bielefeld.de
Fri Dec 19 12:33:00 GMT 2008


Eric Botcazou writes:

> > At least on Solaris 10 and up, readelf is available in
> > /usr/sfw/bin/greadelf.
> 
> (botcazou@ob) ~ $ uname -a
> SunOS ob.gnat.com 5.10 s10_72 sun4u sparc SUNW,Sun-Fire-V240 Solaris
> (botcazou@ob) ~ $ ls -l /usr/sfw/bin/greadelf
> ls: /usr/sfw/bin/greadelf: No such file or directory

ro@padouk 668 > ls -l /usr/sfw/bin/greadelf 
-r-xr-xr-x   1 root     bin        215716 Jan 23  2005 /usr/sfw/bin/greadelf*
ro@padouk 669 > grep /usr/sfw/bin/greadelf /var/sadm/install/contents 
/usr/sfw/bin/greadelf f none 0555 root bin 215716 2916 1106443476 SUNWbinutils

I.e. you need to have SUNWbinutils installed, but if it is, readelf can be
found in /usr/sfw/bin/greadelf.

	Rainer

-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University



More information about the Gcc-patches mailing list