From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 8A60C382B3F2 for ; Wed, 14 Dec 2022 15:32:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8A60C382B3F2 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671031920; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oWhstriLDTyDfy8Nf4blYD0WZUtsGhTKuFzRoO8NntY=; b=gVjwPUcRlJDCaSRHtbE7Xi3i0voPzGy/tf0GXw7v4rNo6WGRWWrok7krOpG+cAMI5HdD9X m3ONHKPhK4VbtYbfJkdkZblaXRuV+jh+4GbDLa+cQuRY3rsiFYYQI56Pt632Lhn9MmnuXx 6exZxldN1ec8SZVTGzr34wNqWZhXyXE= Received: from mail-yb1-f198.google.com (mail-yb1-f198.google.com [209.85.219.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-222--ftbqDKuNiSEyvWy2uLrDQ-1; Wed, 14 Dec 2022 10:31:58 -0500 X-MC-Unique: -ftbqDKuNiSEyvWy2uLrDQ-1 Received: by mail-yb1-f198.google.com with SMTP id h67-20020a25d046000000b00729876d3b2bso28315ybg.17 for ; Wed, 14 Dec 2022 07:31:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oWhstriLDTyDfy8Nf4blYD0WZUtsGhTKuFzRoO8NntY=; b=A8dRgFKUUNqTb2n1OoTy9qE5hU2ttjDmoLQyzw9zzS4LKpeOpi7jl8Ojk9bLxo2fid MJWS7kRQZIcPtKn+lUvV9PcJ85vHDAt+y8U5hGCieEJDCC1vqk/6zrM1x+UixedFgaPu Sn4FHaOqhJRBjdsR8rCUee2EaTwIpkUo3cJc07dZeURhvxBU61FIV3mL+mW/pKUgWuFE hj+MForDPKiz3FUGdezpmZsIK0sxa+esr7YPfrEF26G7f/rIjhtT5vI0SREZH/WMwCUb KQZjCM8YXzaICuVW0SKapIUAoSbO3tFkgRCB3d5mBrQslVNbdfGlTe4P5OfiS3nvN5a1 VUhQ== X-Gm-Message-State: ANoB5pmsdLRO2UgziVnsg6rXM532A47DtopatBoNb0g3L9YSOVnMoG9s K/fnn5aaTjTlIjJBpvInlLfkQkZjPUR4gshm9PNBaPVgLTn/tRwVrVhKC8Y9wEbV5CJuzAriOJN lq5WDtDcYegMDgJK90Q== X-Received: by 2002:a05:7500:f8a:b0:ea:7403:a0c4 with SMTP id km10-20020a0575000f8a00b000ea7403a0c4mr2572736gab.59.1671031918341; Wed, 14 Dec 2022 07:31:58 -0800 (PST) X-Google-Smtp-Source: AA0mqf4R3e6oBLVcIn5pkjzsH6h15s4rwhR9vEJnXcG4kHaBR/DEJckUqA/MLE0VCUf772wEsc8geQ== X-Received: by 2002:a05:7500:f8a:b0:ea:7403:a0c4 with SMTP id km10-20020a0575000f8a00b000ea7403a0c4mr2572726gab.59.1671031917978; Wed, 14 Dec 2022 07:31:57 -0800 (PST) Received: from [192.168.1.18] ([79.123.75.206]) by smtp.gmail.com with ESMTPSA id j12-20020a05620a288c00b006feb158e5e7sm10113198qkp.70.2022.12.14.07.31.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Dec 2022 07:31:57 -0800 (PST) Message-ID: <1441124e-6e62-56d3-3ae6-c8fd22beeb48@redhat.com> Date: Wed, 14 Dec 2022 15:31:56 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 To: Florian Weimer Cc: binutils@sourceware.org References: <87y1rke9ub.fsf@oldenburg.str.redhat.com> <15cc745d-b635-daab-4a02-918a5ea5d923@redhat.com> <87edt8jxag.fsf@oldenburg.str.redhat.com> From: Nick Clifton Subject: Re: Named local symbols in the ELF dynamic symbol table In-Reply-To: <87edt8jxag.fsf@oldenburg.str.redhat.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Florian, > So it seems that -X or --discard-locals is the default? It is not clear. -{ The sources do not appear to initialise the fields concerned with this in the link_info structure. > How do I > override that, preferably for specific symbols only? Please try -Wl,--no-strip-discarded and/or -Wl,--discard-none Not sure what will happen.... Cheers Nick