📄 bzlib.lst
字号:
GAS LISTING /tmp/cccHVc4I.s page 1 1 .section .mdebug.abi32 2 .previous 3 .section .debug_abbrev,"",@progbits 4 $Ldebug_abbrev0: 5 .section .debug_info,"",@progbits 6 $Ldebug_info0: 7 .section .debug_line,"",@progbits 8 $Ldebug_line0: 9 0000 B3030000 .text 9 02006A00 9 00000101 9 FB0E0A00 9 01010101 10 $Ltext0: 11 .align 2 12 .ent BZ_UPDATE_CRC 13 .type BZ_UPDATE_CRC, @function 14 BZ_UPDATE_CRC: 15 $LFB2: 16 .file 1 "/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c" 1:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** /* 2:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** * This file is a modified version of bzlib.c from the bzip2-1.0.2 3:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** * distribution which can be found at http://sources.redhat.com/bzip2/ 4:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** */ 5:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 6:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** /*-------------------------------------------------------------*/ 7:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** /*--- Library top-level functions. ---*/ 8:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** /*--- bzlib.c ---*/ 9:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** /*-------------------------------------------------------------*/ 10:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 11:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** /*-- 12:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** This file is a part of bzip2 and/or libbzip2, a program and 13:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** library for lossless, block-sorting data compression. 14:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 15:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** Copyright (C) 1996-2002 Julian R Seward. All rights reserved. 16:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 17:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** Redistribution and use in source and binary forms, with or without 18:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** modification, are permitted provided that the following conditions 19:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** are met: 20:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 21:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 1. Redistributions of source code must retain the above copyright 22:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** notice, this list of conditions and the following disclaimer. 23:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 24:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 2. The origin of this software must not be misrepresented; you must 25:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** not claim that you wrote the original software. If you use this 26:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** software in a product, an acknowledgment in the product 27:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** documentation would be appreciated but is not required. 28:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 29:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 3. Altered source versions must be plainly marked as such, and must 30:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** not be misrepresented as being the original software. 31:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 32:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 4. The name of the author may not be used to endorse or promote 33:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** products derived from this software without specific prior written 34:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** permission. 35:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 36:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 37:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIEDGAS LISTING /tmp/cccHVc4I.s page 2 38:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 39:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 40:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 41:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 42:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 43:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 44:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 45:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 46:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 47:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 48:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** Julian Seward, Cambridge, UK. 49:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** jseward@acm.org 50:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** bzip2/libbzip2 version 1.0 of 21 March 2000 51:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 52:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** This program is based on (at least) the work of: 53:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** Mike Burrows 54:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** David Wheeler 55:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** Peter Fenwick 56:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** Alistair Moffat 57:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** Radford Neal 58:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** Ian H. Witten 59:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** Robert Sedgewick 60:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** Jon L. Bentley 61:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 62:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** For more information on these sources, see the manual. 63:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** --*/ 64:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 65:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** /*-- 66:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** CHANGES 67:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** ~~~~~~~ 68:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 0.9.0 -- original version. 69:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 70:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 0.9.0a/b -- no changes in this file. 71:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 72:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 0.9.0c 73:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** * made zero-length BZ_FLUSH work correctly in bzCompress(). 74:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** * fixed bzWrite/bzRead to ignore zero-length requests. 75:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** * fixed bzread to correctly handle read requests after EOF. 76:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** * wrong parameter order in call to bzDecompressInit in 77:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** bzBuffToBuffDecompress. Fixed. 78:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** --*/ 79:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 80:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** #include "bzlib_private.h" 81:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 82:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** /*---------------------------------------------------*/ 83:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** /*--- CRC stuff ---*/ 84:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** /*---------------------------------------------------*/ 85:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 86:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 87:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** static UInt32 BZ_UPDATE_CRC(UInt32 crcVar, UChar cha) 88:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** { 17 .loc 1 88 0 18 .frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0 19 .mask 0x00000000,0 20 .fmask 0x00000000,0 21 .set noreorder 22 .set nomacroGAS LISTING /tmp/cccHVc4I.s page 3 23 24 .loc 1 88 0 25 0000 FF00A530 andi $5,$5,0x00ff 89:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** return (crcVar << 8) ^ BZ2_crc32Table[(crcVar >> 24) ^ ((UChar)cha)]; 26 .loc 1 89 0 27 0004 021E0400 srl $3,$4,24 28 0008 26186500 xor $3,$3,$5 29 000c 0000023C lui $2,%hi(BZ2_crc32Table) 30 0010 00004224 addiu $2,$2,%lo(BZ2_crc32Table) 31 0014 80180300 sll $3,$3,2 32 0018 21186200 addu $3,$3,$2 33 001c 0000628C lw $2,0($3) 34 0020 00220400 sll $4,$4,8 90:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** } 35 .loc 1 90 0 36 0024 0800E003 j $31 37 0028 26108200 xor $2,$4,$2 38 39 .set macro 40 .set reorder 41 $LFE2: 42 .end BZ_UPDATE_CRC 43 .align 2 44 .globl BZ2_bzDecompressInit 45 .ent BZ2_bzDecompressInit 46 .type BZ2_bzDecompressInit, @function 47 BZ2_bzDecompressInit: 48 $LFB4: 91:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 92:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 93:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 94:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** /*---------------------------------------------------*/ 95:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** /*--- Compression stuff ---*/ 96:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** /*---------------------------------------------------*/ 97:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 98:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 99:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** /*---------------------------------------------------*/ 100:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** #ifndef BZ_NO_STDIO 101:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** void BZ2_bz__AssertH__fail ( int errcode ) 102:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** { 103:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** fprintf(stderr, 104:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "\n\nbzip2/libbzip2: internal error number %d.\n" 105:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "This is a bug in bzip2/libbzip2, %s.\n"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -