-1:000000000000 | 0:ed400e7e0288 |
---|---|
1 #/bin/sh | |
2 # | |
3 # This Source Code Form is subject to the terms of the Mozilla Public | |
4 # License, v. 2.0. If a copy of the MPL was not distributed with this | |
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
6 | |
7 # script to change the system id in an object file from PA-RISC 2.0 to 1.1 | |
8 | |
9 adb -w $1 << EOF | |
10 ?m 0 -1 0 | |
11 0x0?X | |
12 0x0?W (@0x0&~0x40000)|(~@0x0&0x40000) | |
13 | |
14 0?"change checksum" | |
15 0x7c?X | |
16 0x7c?W (@0x7c&~0x40000)|(~@0x7c&0x40000) | |
17 $q | |
18 EOF | |
19 | |
20 exit 0 | |
21 |