From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) by sourceware.org (Postfix) with ESMTPS id 440783894C00 for ; Sat, 17 Apr 2021 12:31:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 440783894C00 Received: by mail-il1-x136.google.com with SMTP id b17so25359221ilh.6 for ; Sat, 17 Apr 2021 05:31:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=nnqNExJst3Af3muQEElWV1j/ShRB0em1HRSsHQ8Hu5M=; b=jpP/BogZ61EQZamcpfiGw5tnHV8G2Py3zFJG+J9NNNZTZ2rB+zLVjdfQdfFwNBqSzp hM0ZyVjprAkDiJxE4OM+nJYdbc2WxsCf5HvxC7FqJ0Y50mi7dYtzPgsUQORxOafkAuyD 9l2Ej2dXrgP97HtL78crSC1uzrpgh3Rd/BfkMN3n/DrA9n/GwGldMnQ7T7COU3s28+1J 3fsClvI4pQD07842R5qP7HMDsmpzjJ+8MjSgujfPrD3zD06nGdZlAqcakgAhsKPGzIVS fuNAXxVqSYa5EvPV4bK5EwmJQ38qriunS/v370/uh5QXCkJicazKRYICbRcod6IKOCtk 7NXQ== X-Gm-Message-State: AOAM533Moviqog1odwMkHYMu8Ls6y5YX+OGX7tYTAaorfPIzo8xrfs8w MWpErMK4Z0QzMDM8f0ySdbPNTPsGOwftlrJ2Y+k= X-Google-Smtp-Source: ABdhPJx0YpT6l8A9jSHv4ez09YczHR+QX+zeore1EatJNnqJ3TDY5B8yjIktay/FwnMcmiHt/hTlOv9/XISvKHPJ/bY= X-Received: by 2002:a92:cd8a:: with SMTP id r10mr11027216ilb.282.1618662713798; Sat, 17 Apr 2021 05:31:53 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:750f:0:0:0:0:0 with HTTP; Sat, 17 Apr 2021 05:31:52 -0700 (PDT) In-Reply-To: References: From: Peng Yu Date: Sat, 17 Apr 2021 07:31:52 -0500 Message-ID: Subject: Re: Best reference for understanding ELF format To: Peng Yu , libc-help Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-help@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-help mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2021 12:32:04 -0000 That is a book. By definition, a book will not be complete since a book is not written for completeness? For the best reference (as "reference" may have muliple meanings maybe I should use the word "spec" to avoid ambiguity), I found the following two documents. One is for 32-bit, the other is for 64-bit. Are they the most current ones? Other there any other documents that cover the things missed by them? https://refspecs.linuxfoundation.org/elf/elf.pdf https://www.uclibc.org/docs/elf-64-gen.pdf On 4/15/21, Mike Frysinger wrote: > On 15 Apr 2021 22:38, Peng Yu via Libc-help wrote: >> I am wondering what is the best reference for understanding ELF >> format. By best, I mean update-to-date, easy-to-following, and >> complete. >> >> Could anybody recommend references based on this criterion? Thanks. > > read "Linkers & Loaders" by John R. Levine > -mike > -- Regards, Peng