Blame nss/lib/freebl/mpi/hppatch.adb
|
Packit |
40b132 |
#/bin/sh
|
|
Packit |
40b132 |
#
|
|
Packit |
40b132 |
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
Packit |
40b132 |
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
Packit |
40b132 |
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
# script to change the system id in an object file from PA-RISC 2.0 to 1.1
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
adb -w $1 << EOF
|
|
Packit |
40b132 |
?m 0 -1 0
|
|
Packit |
40b132 |
0x0?X
|
|
Packit |
40b132 |
0x0?W (@0x0&~0x40000)|(~@0x0&0x40000)
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
0?"change checksum"
|
|
Packit |
40b132 |
0x7c?X
|
|
Packit |
40b132 |
0x7c?W (@0x7c&~0x40000)|(~@0x7c&0x40000)
|
|
Packit |
40b132 |
$q
|
|
Packit |
40b132 |
EOF
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
exit 0
|
|
Packit |
40b132 |
|