ISO-23360-6-2006.pdf

上传人:西安人 文档编号:3777194 上传时间:2019-09-23 格式:PDF 页数:84 大小:1.03MB
返回 下载 相关 举报
ISO-23360-6-2006.pdf_第1页
第1页 / 共84页
ISO-23360-6-2006.pdf_第2页
第2页 / 共84页
ISO-23360-6-2006.pdf_第3页
第3页 / 共84页
ISO-23360-6-2006.pdf_第4页
第4页 / 共84页
ISO-23360-6-2006.pdf_第5页
第5页 / 共84页
亲,该文档总共84页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

《ISO-23360-6-2006.pdf》由会员分享,可在线阅读,更多相关《ISO-23360-6-2006.pdf(84页珍藏版)》请在三一文库上搜索。

1、 Reference number ISO/IEC 23360-6:2006(E) ISO/IEC 2006 INTERNATIONAL STANDARD ISO/IEC 23360-6 First edition 2006-12-15 Linux Standard Base (LSB) core specification 3.1 Part 6: Specification for PPC64 architecture Spcifications 3.1 relatives au noyau de base normalis Linux (LSB) Partie 6: Spcificatio

2、ns pour larchitecture PPC64 Copyright International Organization for Standardization Provided by IHS under license with ISO Licensee=IHS Employees/1111111001, User=Wing, Bernie Not for Resale, 04/04/2007 05:51:09 MDTNo reproduction or networking permitted without license from IHS -,-,- ISO/IEC 23360

3、-6:2006(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading

4、this file, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the General

5、 Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given be

6、low. ISO/IEC 2006 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or ISOs member

7、body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org Published in Switzerland ii ISO/IEC 2006 All rights reserved Copyright International Organization for Standardization Prov

8、ided by IHS under license with ISO Licensee=IHS Employees/1111111001, User=Wing, Bernie Not for Resale, 04/04/2007 05:51:09 MDTNo reproduction or networking permitted without license from IHS -,-,- ISO/IEC 23360-6:2006(E) ISO/IEC 2006 All rights reserved iii Linux Standard Base Core Specification fo

9、r PPC64 3.1 ISO/IEC 23360-6:2006(E) Copyright 2006 ISO/IEC This standard includes material that has been provided by the Free Standards Group under the GNU Free Documentation License Version 1.1 published by the Free Software Foundation. Portions of the text are copyrighted by the following parties:

10、 The Regents of the University of California Free Software Foundation Ian F. Darwin Paul Vixie BSDI (now Wind River) Andrew G Morgan Jean-loup Gailly and Mark Adler Massachusetts Institute of Technology These excerpts are being used in accordance with their respective licenses. Linux is the register

11、ed trademark of Linus Torvalds in the U.S. and other countries. UNIX is a registered trademark of The Open Group. LSB is a trademark of the Free Standards Group in the United States and other countries. AMD is a trademark of Advanced Micro Devices, Inc. Intel and Itanium are registered trademarks an

12、d Intel386 is a trademark of Intel Corporation. PowerPC is a registered trademark and PowerPC Architecture is a trademark of the IBM Corporation. S/390 is a registered trademark of the IBM Corporation. OpenGL is a registered trademark of Silicon Graphics, Inc. Copyright International Organization fo

13、r Standardization Provided by IHS under license with ISO Licensee=IHS Employees/1111111001, User=Wing, Bernie Not for Resale, 04/04/2007 05:51:09 MDTNo reproduction or networking permitted without license from IHS -,-,- ISO/IEC 23360-6:2006(E) iv ISO/IEC 2006 All rights reserved Contents I Introduct

14、ory Elements.0 1 Scope1 1.1 General1 1.2 Module Specific Scope1 2 References.2 2.1 Normative References 2 2.2 Informative References/Bibliography .4 3 Requirements .6 3.1 Relevant Libraries.6 3.2 LSB Implementation Conformance 6 3.3 LSB Application Conformance7 4 Definitions 9 5 Terminology.10 6 Doc

15、umentation Conventions.12 II Executable and Linking Format (ELF).13 7 Introduction14 8 Low Level System Information15 8.1 Machine Interface15 8.2 Function Calling Sequence.16 8.3 Traceback Tables.16 8.4 Process Initialization.16 8.5 Coding Examples16 9 Object Format.18 9.1 Introduction.18 9.2 ELF He

16、ader18 9.3 Special Sections18 9.4 TOC.20 9.5 Symbol Table .20 9.6 Relocation.20 10 Program Loading and Dynamic Linking .21 10.1 Introduction.21 10.2 Program Loading21 10.3 Dynamic Linking.21 III Base Libraries.22 11 Libraries23 11.1 Program Interpreter/Dynamic Linker.23 11.2 Interfaces for libc.23 1

17、1.3 Data Definitions for libc.37 11.4 Interfaces for libm.49 11.5 Data Definitions for libm54 11.6 Interfaces for libpthread.55 11.7 Data Definitions for libpthread.57 11.8 Interfaces for libgcc_s .58 11.9 Data Definitions for libgcc_s59 11.10 Interface Definitions for libgcc_s.59 11.11 Interfaces f

18、or libdl.65 11.12 Data Definitions for libdl .66 11.13 Interfaces for libcrypt66 IV Utility Libraries67 12 Libraries68 Foreword vii Introduction .viii Copyright International Organization for Standardization Provided by IHS under license with ISO Licensee=IHS Employees/1111111001, User=Wing, Bernie

19、Not for Resale, 04/04/2007 05:51:09 MDTNo reproduction or networking permitted without license from IHS -,-,- ISO/IEC 23360-6:2006(E) ISO/IEC 2006 All rights reserved v 12.1 Interfaces for libz.68 12.2 Data Definitions for libz.68 12.3 Interfaces for libncurses68 12.4 Data Definitions for libncurses

20、69 12.5 Interfaces for libutil.69 V Package Format and Installation71 13 Software Installation .72 13.1 Package Dependencies.72 13.2 Package Architecture Considerations 72 A Alphabetical Listing of Interfaces73 A.1 libgcc_s73 Copyright International Organization for Standardization Provided by IHS u

21、nder license with ISO Licensee=IHS Employees/1111111001, User=Wing, Bernie Not for Resale, 04/04/2007 05:51:09 MDTNo reproduction or networking permitted without license from IHS -,-,- ISO/IEC 23360-6:2006(E) vi ISO/IEC 2006 All rights reserved List of Tables 2-1 Normative References.2 2-2 Other Ref

22、erences4 3-1 Standard Library Names.6 9-1 ELF Special Sections18 9-2 Additional Special Sections19 11-1 libc Definition.23 11-2 libc - RPC Function Interfaces23 11-3 libc - System Calls Function Interfaces .24 11-4 libc - Standard I/O Function Interfaces26 11-5 libc - Standard I/O Data Interfaces.27

23、 11-6 libc - Signal Handling Function Interfaces.27 11-7 libc - Signal Handling Data Interfaces 28 11-8 libc - Localization Functions Function Interfaces28 11-9 libc - Localization Functions Data Interfaces .28 11-10 libc - Socket Interface Function Interfaces29 11-11 libc - Wide Characters Function

24、 Interfaces.29 11-12 libc - String Functions Function Interfaces.31 11-13 libc - IPC Functions Function Interfaces.32 11-14 libc - Regular Expressions Function Interfaces32 11-15 libc - Character Type Functions Function Interfaces.32 11-16 libc - Time Manipulation Function Interfaces33 11-17 libc -

25、Time Manipulation Data Interfaces.33 11-18 libc - Terminal Interface Functions Function Interfaces.33 11-19 libc - System Database Interface Function Interfaces34 11-20 libc - Language Support Function Interfaces.34 11-21 libc - Large File Support Function Interfaces.35 11-22 libc - Standard Library

26、 Function Interfaces35 11-23 libc - Standard Library Data Interfaces.37 11-24 libm Definition.49 11-25 libm - Math Function Interfaces.50 11-26 libm - Math Data Interfaces53 11-27 libpthread Definition.55 11-28 libpthread - Realtime Threads Function Interfaces.55 11-29 libpthread - Posix Threads Fun

27、ction Interfaces.55 11-30 libpthread - Thread aware versions of libc interfaces Function Interfaces57 11-31 libgcc_s Definition .58 11-32 libgcc_s - Unwind Library Function Interfaces58 11-33 libdl Definition.65 11-34 libdl - Dynamic Loader Function Interfaces.65 11-35 libcrypt Definition66 11-36 li

28、bcrypt - Encryption Function Interfaces.66 12-1 libz Definition.68 12-2 libncurses Definition .69 12-3 libutil Definition.69 12-4 libutil - Utility Functions Function Interfaces70 A-1 libgcc_s Function Interfaces 73 Copyright International Organization for Standardization Provided by IHS under licen

29、se with ISO Licensee=IHS Employees/1111111001, User=Wing, Bernie Not for Resale, 04/04/2007 05:51:09 MDTNo reproduction or networking permitted without license from IHS -,-,- ISO/IEC 23360-6:2006(E) ISO/IEC 2006 All rights reserved vii Foreword ISO (the International Organization for Standardization

30、) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective organization to dea

31、l with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IE

32、C have established a joint technical committee, ISO/IEC JTC 1. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of the joint technical committee is to prepare International Standards. Draft International Standards adopted by the

33、joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rig

34、hts. ISO and IEC shall not be held responsible for identifying any or all such patent rights. International Standard ISO/IEC 23360-6 was prepared by the Free Standards Group and was adopted, under the PAS procedure, by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC

35、22, Programming languages, their environments and system software interfaces. ISO/IEC 23360 consists of the following parts, under the general title Linux Standard Base (LSB) core specification 3.1: Part 1: Generic specification Part 2: Specification for IA32 architecture Part 3: Specification for I

36、A64 architecture Part 4: Specification for AMD64 architecture Part 5: Specification for PPC32 architecture Part 6: Specification for PPC64 architecture Part 7: Specification for S390 architecture Part 8: Specification for S390X architecture Copyright International Organization for Standardization Pr

37、ovided by IHS under license with ISO Licensee=IHS Employees/1111111001, User=Wing, Bernie Not for Resale, 04/04/2007 05:51:09 MDTNo reproduction or networking permitted without license from IHS -,-,- ISO/IEC 23360-6:2006(E) viii ISO/IEC 2006 All rights reserved Introduction The specification carries

38、 a version number of either the form x.y or x.y.z. This version number carries the following meaning: The first number (x) is the major version number. All versions with the same major version number should share binary compatibility. Any addition or deletion of a new library results in a new versio

39、n number. Interfaces marked as deprecated may be removed from the specification at a major version change. The second number (y) is the minor version number. Individual interfaces may be added if all certified implementations already had that (previously undocumented) interface. Interfaces may be ma

40、rked as deprecated at a minor version change. Other minor changes may be permitted at the discretion of the LSB workgroup. The third number (z), if present, is the editorial level. Only editorial changes should be included in such versions. Since this specification is a descriptive Application Binar

41、y Interface, and not a source level API specification, it is not possible to make a guarantee of 100% backward compatibility between major releases. However, it is the intent that those parts of the binary interface that are visible in the source level API will remain backward compatible from versio

42、n to version, except where a feature marked as in one release may be removed from a future release. Implementors are strongly encouraged to make use of symbol versioning to permit simultaneous support of applications conforming to different releases of this specification. This is version 3.1 of the

43、Linux Standard Base Core Specification. This specification is part of a family of specifications under the general title “Linux Standard Base (LSB) core specification 3.1“. Developers of applications or implementations interested in using the LSB trademark should see the Free Standards Group Certifi

44、cation Policy for details. deprecated The LSB defines a binary interface for application programs that are compiled and packaged for LSB-conforming implementations on many different hardware architectures. Since a binary specification includes information specific to the computer processor architect

45、ure for which it is intended, it is not possible for a single document to specify the interface for all possible LSB-conforming implementations. Therefore, the LSB is a family of specifications, rather than a single one. This document should be used in conjunction with the documents it references. T

46、his document enumerates the system components it includes, but descriptions of those components may be included entirely or partly in this document, partly in other documents, or entirely in other reference documents. For example, the section that describes system service routines includes a list of

47、 the system routines supported in this interface, formal declarations of the data structures they use that are visible to applications, and a pointer to the underlying referenced specification for information about the syntax and semantics of each call. Only those routines not described in standards

48、 referenced by this document, or extensions to those standards, are described in detail. Information referenced in this way is as much a part of this document as is the information explicitly included here. Copyright International Organization for Standardization Provided by IHS under license with ISO Licensee=IHS Employees/1111111001, User=Wing, Bernie Not for Resale, 04/04/2007 05:51:09 MDTNo reproduction or networking permitted without license from IHS -,-,

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 其他


经营许可证编号:宁ICP备18001539号-1