[patch] Fix false warning: section .gnu.liblist not found in ... [rediffed]

Joel Brobecker brobecker@adacore.com
Mon Mar 8 08:17:00 GMT 2010


>           /* This section does not exist in ABFD, which is normally
>              unexpected and we want to issue a warning.
> 
>              However, the ELF prelinker does create a couple of sections
>              (".gnu.liblist" and ".gnu.conflict") which are marked in the main
>              executable as loadable (they are loaded in memory from the
>              DYNAMIC segment) and yet are not present in separate debug info
>              files.  This is fine, and should not cause a warning.  Shared
>              libraries contain just the section ".gnu.liblist" but it is not
>              marked as loadable there.  */
> 
> As the comment is already being discusses is approved even this variant?

This is even better, the omission was not intentional.

-- 
Joel



More information about the Gdb-patches mailing list