ImageVerifierCode 换一换
格式:PDF , 页数:88 ,大小:794.36KB ,
资源ID:436361      下载积分:10000 积分
快捷下载
登录下载
邮箱/手机:
温馨提示:
如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝扫码支付 微信扫码支付   
注意:如需开发票,请勿充值!
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【http://www.mydoc123.com/d-436361.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(ANSI INCITS ISO IEC 23360-4-2006 Linux Standard Base (LSB) core specification 3.1 - Part 4 Specification for AMD64 architecture.pdf)为本站会员(李朗)主动上传,麦多课文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文库(发送邮件至master@mydoc123.com或直接QQ联系客服),我们立即给予删除!

ANSI INCITS ISO IEC 23360-4-2006 Linux Standard Base (LSB) core specification 3.1 - Part 4 Specification for AMD64 architecture.pdf

1、 INCITS/ISO/IEC 23360-4:20062010 (ISO/IEC 23360-4:2006, IDT) Linux Standard Base (LSB) core specification 3.1 - Part 4: Specification for AMD64 architecture Reaffirmed as INCITS/ISO/IEC 23360-4:2006 R2015INCITS/ISO/IEC 23360-4:20062010 PDF disclaimer This PDF file may contain embedded typefaces. In

2、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 this file, parties accept therein the responsibility of not infringing Adob

3、es 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 Info relative to the file; the PDF-creation parameters were optimized for

4、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 below. Adopted by INCITS (InterNational Committee for Information Technology

5、Standards) as an American National Standard. Date of ANSI Approval: 11/18/2010 Published by American National Standards Institute, 25 West 43rd Street, New York, New York 10036 Copyright 2010 by Information Technology Industry Council (ITI). All rights reserved. These materials are subject to copyri

6、ght claims of International Standardization Organization (ISO), International Electrotechnical Commission (IEC), American National Standards Institute (ANSI), and Information Technology Industry Council (ITI). Not for resale. No part of this publication may be reproduced in any form, including an el

7、ectronic retrieval system, without the prior written permission of ITI. All requests pertaining to this standard should be submitted to ITI, 1101 K Street NW, Suite 610, Washington DC 20005. Printed in the United States of America ii ITIC 2010 All rights reserved ISO/IEC 23360-4:2006(E) ISO/IEC 2006

8、 All rights reserved iiiLinux Standard Base Core Specification for AMD64 3.1 ISO/IEC 23360-4: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 Foundatio

9、n. Portions of the text are copyrighted by the following parties: 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

10、 accordance with their respective licenses. Linux is the registered 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 M

11、icro Devices, Inc. Intel and Itanium are registered trademarks and 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

12、of Silicon Graphics, Inc. ISO/IEC 23360-4:2006(E) iv ISO/IEC 2006 All rights reservedContents I Introductory Elements .0 1 Scope11.1 General11.2 Module Specific Scope12 References.22.1 Normative References 22.2 Informative References/Bibliography .43 Requirements .73.1 Relevant Libraries .73.2 LSB I

13、mplementation Conformance 73.3 LSB Application Conformance84 Definitions 105 Terminology .116 Documentation Conventions .13II Executable and Linking Format (ELF).147 Introduction158 Low Level System Information168.1 Machine Interface168.2 Function Calling Sequence.178.3 Operating System Interface .1

14、88.4 Process Initialization.188.5 Coding Examples 188.6 C Stack Frame 198.7 Debug Information199 Object Format.20 9.1 Introduction .209.2 ELF Header 209.3 Sections.209.4 Symbol Table .219.5 Relocation.2110 Program Loading and Dynamic Linking .22 10.1 Introduction .2210.2 Program Header2210.3 Program

15、 Loading 2210.4 Dynamic Linking.22III Base Libraries .24 11 Libraries 2511.1 Program Interpreter/Dynamic Linker.2511.2 Interfaces for libc.2511.3 Data Definitions for libc .4011.4 Interfaces for libm .5211.5 Data Definitions for libm5711.6 Interface Definitions for libm 5811.7 Interfaces for libpthr

16、ead.5911.8 Data Definitions for libpthread .6211.9 Interfaces for libgcc_s .6211.10 Data Definitions for libgcc_s6311.11 Interface Definitions for libgcc_s.6411.12 Interfaces for libdl .6911.13 Data Definitions for libdl .7011.14 Interfaces for libcrypt70Foreword vii Introduction .viii ISO/IEC 23360

17、-4:2006(E) ISO/IEC 2006 All rights reserved vIV Utility Libraries71 12 Libraries 7212.1 Interfaces for libz.7212.2 Data Definitions for libz .7212.3 Interfaces for libncurses7212.4 Data Definitions for libncurses7312.5 Interfaces for libutil.73V Package Format and Installation7513 Software Installat

18、ion .7613.1 Package Dependencies .7613.2 Package Architecture Considerations 76A Alphabetical Listing of Interfaces77A.1 libgcc_s77A.2 libm77ISO/IEC 23360-4:2006(E) vi ISO/IEC 2006 All rights reservedList of Tables 2-1 Normative References .22-2 Other References43-1 Standard Library Names.78-1 Non C

19、onforming Instructions169-1 ELF Special Sections 209-2 Additional Special Sections 2111-1 libc Definition.2511-2 libc - RPC Function Interfaces 2511-3 libc - System Calls Function Interfaces .2611-4 libc - Standard I/O Function Interfaces2811-5 libc - Standard I/O Data Interfaces .2911-6 libc - Sign

20、al Handling Function Interfaces .2911-7 libc - Signal Handling Data Interfaces 3011-8 libc - Localization Functions Function Interfaces 3011-9 libc - Localization Functions Data Interfaces .3111-10 libc - Socket Interface Function Interfaces 3111-11 libc - Wide Characters Function Interfaces.3211-12

21、 libc - String Functions Function Interfaces.3311-13 libc - IPC Functions Function Interfaces .3411-14 libc - Regular Expressions Function Interfaces 3411-15 libc - Character Type Functions Function Interfaces.3411-16 libc - Time Manipulation Function Interfaces3511-17 libc - Time Manipulation Data

22、Interfaces .3511-18 libc - Terminal Interface Functions Function Interfaces .3611-19 libc - System Database Interface Function Interfaces3611-20 libc - Language Support Function Interfaces .3711-21 libc - Large File Support Function Interfaces .3711-22 libc - Standard Library Function Interfaces3811

23、-23 libc - Standard Library Data Interfaces .4011-24 libm Definition .5211-25 libm - Math Function Interfaces.5311-26 libm - Math Data Interfaces 5711-27 libpthread Definition.5911-28 libpthread - Realtime Threads Function Interfaces.5911-29 libpthread - Posix Threads Function Interfaces .6011-30 li

24、bpthread - Thread aware versions of libc interfaces Function Interfaces 6111-31 libgcc_s Definition .6211-32 libgcc_s - Unwind Library Function Interfaces6311-33 libdl Definition .6911-34 libdl - Dynamic Loader Function Interfaces.6911-35 libcrypt Definition7011-36 libcrypt - Encryption Function Int

25、erfaces.7012-1 libz Definition.7212-2 libncurses Definition .7312-3 libutil Definition.7312-4 libutil - Utility Functions Function Interfaces 74A-1 libgcc_s Function Interfaces 77A-2 libm Function Interfaces 77ISO/IEC 23360-4:2006(E) ISO/IEC 2006 All rights reserved viiForeword ISO (the Internationa

26、l Organization for Standardization) 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

27、the respective organization to deal 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

28、information technology, ISO and IEC 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 Inter

29、national Standards adopted by the 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 documen

30、t may be the subject of patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights. International Standard ISO/IEC 23360-4 was prepared by the Free Standards Group and was adopted, under the PAS procedure, by Joint Technical Committee ISO/IEC JTC 1, Inform

31、ation technology, Subcommittee SC 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 archit

32、ecture Part 3: Specification for IA64 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 ISO/IEC 23360-4:2006(E) v

33、iii ISO/IEC 2006 All rights reservedIntroduction 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 processo

34、r architecture 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 re

35、ferences. This 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 include

36、s a list of 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 i

37、n standards 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. The specification carries a version number of either the form x.y or x.y.z. This v

38、ersion 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 version number. Interfaces marked as deprecated may be removed

39、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 marked as deprecated at a minor version change. Other minor

40、 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 Binary Interface, and not a source level API specification, it

41、 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 version to version, except where a feature marked as in one rel

42、ease 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 Linux Standard Base Core Specification. This specificatio

43、n is part of a family of specifications under the general title “Linux Standard Base (LSB) core specification 3.1“. Developers of applications orimplementations interested in using the LSB trademark should see the Free Standards Group Certification Policy for details. deprecatedI Introductory Elemen

44、ts 1 Scope 1.1 General The Linux Standard Base (LSB) defines a system interface for compiled applications and a minimal environment for support of installation scripts. Its purpose is to enable a uniform industry standard environment for high-volume applications conforming to the LSB. These specific

45、ations are composed of two basic parts: A common specification (“LSB-generic“ or “generic LSB“), ISO/IEC 23360-1, describing those parts of the interface that remain constant across all implementations of the LSB, and an architecture-specific part (“LSB-arch“ or “archLSB“) describing the parts of th

46、e interface that vary by processor architecture. Together, the LSB-generic and the relevant architecture-specific part of ISO/IEC 23360 for a single hardware architecture provide a complete interface specification for compiled application programs on systems that share a common hardware architecture

47、. ISO/IEC 23360-1, the LSB-generic document, is be used in conjunction with an architecture-specific part. Whenever a section of the LSB-generic specification is supplemented by architecture-specific information, the LSB-generic document includes a reference to the architecture part. Architecture-sp

48、ecific parts of ISO/IEC 23360 may also contain additional information that is not referenced in the LSB-generic document. The LSB contains both a set of Application Program Interfaces (APIs) and Application Binary Interfaces (ABIs). APIs may appear in the source code of portable applications, while

49、the compiled binary of that application may use the larger set of ABIs. A conforming implementation provides all of the ABIs listed here. The compilation system may replace (e.g. by macro definition) certain APIs with calls to one or more of the underlying binary interfaces, and may insert calls to binary interfaces as needed. The LSB is primarily a binary interface definition. Not all of the source level APIs available to applications

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1