bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Number of bfd_count_sections changes during bfd_simple_get_relocated_sec


From: Tom de Vries
Subject: Number of bfd_count_sections changes during bfd_simple_get_relocated_section_contents
Date: Tue, 12 Jul 2022 15:30:44 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0

Hi,

with gdb we've run into this PR ( https://sourceware.org/bugzilla/show_bug.cgi?id=29295 ) which is due to:
- gdb expecting bfd_count_sections to remain constant, and
- bfd changing the bfd_count_sections from 6 to 7, due to the
  creation of a COMMON section during
  bfd_simple_get_relocated_section_contents

The question is: is this expected behaviour for bfd, or is this in fact a bfd bug that needs fixing?

Thanks,
- Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]