This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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
Attachment:
scan-476-icache-bug.v5.pl
Description: Perl program
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |