public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
From: "mark at klomp dot org" <sourceware-bugzilla@sourceware.org>
To: elfutils-devel@sourceware.org
Subject: [Bug general/28608] elflint elfstrmerge fails with ld.gold
Date: Sun, 21 Nov 2021 16:45:02 +0000	[thread overview]
Message-ID: <bug-28608-10460-vwctr9b9Su@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-28608-10460@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=28608

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
That looks like a bug in ld.gold.

tests/elfstrmerge is a simple ET_EXEC file.
When SHF_MERGE is set, then sh_entsize should be set to the size of the
elements that should be merged (unless SHF_STRING is also set).

For me .rodata doesn't have the SHF_MERGE flag set:
[15] .rodata              PROGBITS     0000000000002d68 00002d68 00000837  0 A 
    0   0  8

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  reply	other threads:[~2021-11-21 16:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-19 10:50 [Bug general/28608] New: " mliska at suse dot cz
2021-11-21 16:45 ` mark at klomp dot org [this message]
2021-11-22  8:20 ` [Bug general/28608] " mliska at suse dot cz
2021-11-22  8:38 ` mliska at suse dot cz
2023-01-13  8:55 ` mliska at suse dot cz
2023-01-13  9:58 ` mark at klomp dot org
2023-01-16 10:33 ` mliska at suse dot cz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-28608-10460-vwctr9b9Su@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=elfutils-devel@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).