From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by sourceware.org (Postfix) with ESMTPS id 7EA663858D39 for ; Sun, 21 Jan 2024 03:28:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7EA663858D39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7EA663858D39 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::52e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705807684; cv=none; b=uesM/VpasF5zdcyHLs5ruD1A0dBM5qlBW5Kqku2iUmZfVkOEy1GT45e3UAf5UGzE4623CR77JyWjMElH++4OkFs9pLOUiDrLgXcLWUZckn9ZBSHd6QTZoFBcFUB96R4dGRafb8noFvIMkxUm66FI85xvwq9NQ9oABpl+H3lzX58= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705807684; c=relaxed/simple; bh=tstuQjdCKGFACJsIVq84NtF5wwS6xffrKXJBJdU/cNk=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=jPQM5cbwBuNLIMULnrEM1f17yd5LAYM6vCX4qo6Wfqq7jRijYOP4B9kAncnYkbStpARU7JBCNjDPh3jVSYgR+0yGYWJRrMw15KMEXC8bvSdXfWKmKrxxjjUKdStXkKiLBlSb95JVtGf7FkqamGTrtlFkqPQpbjK5YCfqJDdDea8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-55a50649ff6so2133518a12.3 for ; Sat, 20 Jan 2024 19:28:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705807681; x=1706412481; darn=sourceware.org; h=to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=tstuQjdCKGFACJsIVq84NtF5wwS6xffrKXJBJdU/cNk=; b=BPe56aZvmYZ+qk9awcKOkahxwqVEmnu+ZwNPOOYJ1LIrCZ8/DbnkXJNnfEgWbMEc9/ b/llFD21CFkprsWS6tVlrKEstNlKdbA0GJ6rrsvt+lsf4Jq/kcReL0nHiuYIeOXNJ6Bm z0E/ta0u12kld6/ADqIQ5iOkdg7QFTb39Mvq3pZgvL4nHkB8YBkEoXGzmRD6GL0kHHIt CSpXUaLudl5kieTUWSNKMsgOD9ELlV3QFmgBZEhft19rS/gxiUKGg2++EeesbOwbc9NK 3mb6OjLofwsgBzlJsyOp90AwDGmQEQDR7xsxvGAq1cTUbgHS4Hi5cKix8dOBUpb1ENwa rqpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705807681; x=1706412481; h=to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tstuQjdCKGFACJsIVq84NtF5wwS6xffrKXJBJdU/cNk=; b=js4CRP+241T5iJnvDrhXz7dJVCaZ7J95Sc+5CopgF5txLE2S1TgqylOUGxFxX2/Idp lHbC3X1biyDmVIaILQ7QWLUBf+rj89CwN1/GadADjEdPy1w923t1m5WkOmGTeE2mYeQU vu0DDRIqQBCXycZ+FI0eWHwpE1Z3xnoTBqYNI6NsN+ASec7XzUUncGxij4pRaRifCsbL wCAidM8fbyZ1HR4Elwf1pYwqqk9hxy57gRoMbp0ja6HQNhZ6G8IBwmPzTZLoCsDESdWs IlUHN1PJR08dBUwbqP9sT1Dux4Fa5hj5DwKeiWn1xdS3Do6iQH/ZTLT8QLlMZTyugmSf jvzg== X-Gm-Message-State: AOJu0YwULXsd+9rPii9GB6lXiHtt60N3w6415f+JLJ+Jj+p/7T1UM7xU weGrkFFj4f9FRL9xgXRB+WS3n2UYFZHlZjHG8vApJxqdLZZcO1zzDk/6cvceVmrzT5MfxEXD56q hcM2O8ZHCYGyEd4QOrP/pStWb3iAVEI90UOw= X-Google-Smtp-Source: AGHT+IFNZz2XRmZRQ6UrYQ/JgfmXrq5LqmQQ8YSX4mUYqUoBO4Xmvce5l0iPYtD3VN54Gou65HwpsJpDWZc1xfoW6A4= X-Received: by 2002:aa7:d95a:0:b0:55a:5265:f37b with SMTP id l26-20020aa7d95a000000b0055a5265f37bmr1000849eds.42.1705807681097; Sat, 20 Jan 2024 19:28:01 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Reply-To: cauldwell.thomas@gmail.com From: Frederick Virchanza Gotham Date: Sun, 21 Jan 2024 03:27:50 +0000 Message-ID: Subject: Re: Linker : Make a map of typeinfo to vtable To: "binutils@sourceware.org" Content-Type: multipart/alternative; boundary="000000000000e312a3060f6c4c1b" X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE 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: --000000000000e312a3060f6c4c1b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Jan 20, 2024 at 7:44=E2=80=AFPM Frederick Virchanza Gotham wrote: > > Am I right in thinking that I should be looking in the file "bfd/linker.c", Line 1382, at the function "_bfd_generic_link_add_one_symbol" I'm still a bit clueless here, but here's what I've got so far, I'm able to print out a list of all the classes that have both a vtable and a typeinfo: Here's the link to Github showing the changes I've made so far, I've created two new files 'polymorphism.h' and 'polymorphism.c'. https://github.com/bminor/binutils-gdb/compare/5a75433a122ea1037ccb4e948332= f4886e242911...healytpk:linker-vtable:master --000000000000e312a3060f6c4c1b--