fill ppc476 fixup area

Peter Bergner bergner@vnet.ibm.com
Tue Apr 22 17:49:00 GMT 2014


On Wed, 2014-04-16 at 12:58 +0930, Alan Modra wrote:
> This quiets a scanner we use to look for possible 476 problems in
> binaries.  The scanner was giving a false positive warning about the
> fixup code area on a few binaries, due to filling the fixup area with
> zeros.  Now it would be a little disconcerting if the fixups really
> did trigger a failure (they don't!), so fill with a pattern that the
> scanner knows is safe.

As an FYI, I'm attaching the Perl script Alan is referring to.

[bergner@otta ~]$ ./scan-476-icache-bug.v5.pl -h
Usage: scan-476-icache-bug.v5.pl [-h][-f][-v][-z][-s pagesize][directory|file ...]
    -h    : Print help text.
    -f    : Ignore some false positives (safe instruction followed by '.long 0x0's).
    -s N  : Use page size of N (N must be a multiple of 4096).
    -v    : Verbose mode.


Peter


-------------- next part --------------
A non-text attachment was scrubbed...
Name: scan-476-icache-bug.v5.pl
Type: application/x-perl
Size: 7526 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20140422/5d1acb39/attachment.pl>


More information about the Binutils mailing list