This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: 0xffffffff when BFD64
- To: Alexandre Oliva <aoliva at cygnus dot com>
- Subject: Re: 0xffffffff when BFD64
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Fri, 7 Apr 2000 15:39:38 +1000 (EST)
- cc: ian at zembu dot com, binutils at sourceware dot cygnus dot com
On 7 Apr 2000, Alexandre Oliva wrote:
> So, here's the revised patch-generator:
>
> grep -lr '\<0x[89a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z]\>' bfd opcodes binutils gas ld |
> while read f; do
> sed 's,\<0x[89a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z]\>,(unsigned)(&),g' \
> < $f > $f.new && mv $f.new $f
> done
I'd ordinarily quite like using this, but I'm going through files slowly
by hand because of formatting issues, and so as to not change numbers in
comments.
--
Linuxcare. Support for the Revolution.