From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Dumper problems and a possible solutions Date: Thu, 26 Jun 2014 00:33:08 +0200 Message-ID: <87y4wkfwm3.fsf@igel.home> References: <20140624171955.GS179@brightrain.aerifal.cx> <53AB0EF8.4090608@yandex.ru> <831tucrguf.fsf@gnu.org> <20140625183241.GW179@brightrain.aerifal.cx> <83wqc4q0xl.fsf@gnu.org> <20140625190333.GZ179@brightrain.aerifal.cx> <20140625202403.GB179@brightrain.aerifal.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1403735622 4472 80.91.229.3 (25 Jun 2014 22:33:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Jun 2014 22:33:42 +0000 (UTC) Cc: Eli Zaretskii , dmantipov@yandex.ru, Stefan Monnier , emacs-devel@gnu.org To: Rich Felker Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 26 00:33:35 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wzvl0-0007IE-9s for ged-emacs-devel@m.gmane.org; Thu, 26 Jun 2014 00:33:34 +0200 Original-Received: from localhost ([::1]:41383 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wzvkz-0001MG-SE for ged-emacs-devel@m.gmane.org; Wed, 25 Jun 2014 18:33:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wzvkr-0001JT-Uy for emacs-devel@gnu.org; Wed, 25 Jun 2014 18:33:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wzvkm-0003en-Mv for emacs-devel@gnu.org; Wed, 25 Jun 2014 18:33:25 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:53709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wzvkf-0003QQ-Ld; Wed, 25 Jun 2014 18:33:13 -0400 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3gzJz94gN3z3hhbP; Thu, 26 Jun 2014 00:33:09 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3gzJz946n6z7S6QM; Thu, 26 Jun 2014 00:33:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id cbdGcBZ5cXOy; Thu, 26 Jun 2014 00:33:08 +0200 (CEST) X-Auth-Info: TvzL/NQHIpbXUiSYRHkJOCTg7/FuGsFyMeQ5A7cuXvE= Original-Received: from igel.home (host-188-174-208-178.customer.m-online.net [188.174.208.178]) by mail.mnet-online.de (Postfix) with ESMTPA; Thu, 26 Jun 2014 00:33:08 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 374882C19A1; Thu, 26 Jun 2014 00:33:08 +0200 (CEST) X-Yow: I have no actual hairline... In-Reply-To: <20140625202403.GB179@brightrain.aerifal.cx> (Rich Felker's message of "Wed, 25 Jun 2014 16:24:03 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.18.0.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172733 Archived-At: Rich Felker writes: > With the approach of dumping a C array containing references to > offsets within itself, this is completely transparent to the > application. The linker (ld) produces the right R_${ARCH}_RELATIVE > relocation records in the data segment and the dynamic linker applies > them at runtime. 1. Relocations are highly architecture dependent. 2. Relocations only apply to compiler-generated references, not runtime references. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."