[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/30187] ld.bfd and ld.gold versions in .comment section of ELF
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug gold/30187] ld.bfd and ld.gold versions in .comment section of ELF files |
Date: |
Thu, 16 Mar 2023 07:02:21 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30187
--- Comment #14 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Alan Modra <amodra@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6752dd75f76457902729a5f03d09fa28ec5d68c3
commit 6752dd75f76457902729a5f03d09fa28ec5d68c3
Author: Alan Modra <amodra@gmail.com>
Date: Thu Mar 16 17:10:07 2023 +1030
Re: Add --enable-linker-verssion
Output sections without any input sections to initialise their flags
have their flags initialised by data statements to LOAD, ALLOC,
HAS_CONTENTS by default. This is wrong for .comment. Fix that by
making the script initialise the section type to INFO, one of the
noalloc section types. That also allows the address of .comment to be
set to zero, as is usual for non-alloc sections.
Also, use source_sh for all of the sourced scripts to set up make
dependencies.
PR 30187
* scripttempl/misc-sections.sc: Set .comment address to zero
and type to INFO.
* scripttempl/ft32.sc: Fix breakages from last edit.
* scripttempl/arclinux.sc: Use source_sh to source DWARF.sc
and misc-sections.sc.
* scripttempl/avr.sc: Likewise.
* scripttempl/dlx.sc: Likewise.
* scripttempl/elf.sc: Likewise.
* scripttempl/elf32cr16.sc: Likewise.
* scripttempl/elf32crx.sc: Likewise.
* scripttempl/elf32msp430.sc: Likewise.
* scripttempl/elf64bpf.sc: Likewise.
* scripttempl/elf64hppa.sc: Likewise.
* scripttempl/elf_chaos.sc: Likewise.
* scripttempl/elfarc.sc: Likewise.
* scripttempl/elfarcv2.sc: Likewise.
* scripttempl/elfd10v.sc: Likewise.
* scripttempl/elfd30v.sc: Likewise.
* scripttempl/elfm68hc11.sc: Likewise.
* scripttempl/elfm68hc12.sc: Likewise.
* scripttempl/elfm9s12z.sc: Likewise.
* scripttempl/elfmicroblaze.sc: Likewise.
* scripttempl/elfxgate.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/epiphany_4x4.sc: Likewise.
* scripttempl/i386beos.sc: Likewise.
* scripttempl/i386go32.sc: Likewise.
* scripttempl/ia64vms.sc: Likewise.
* scripttempl/ip2k.sc: Likewise.
* scripttempl/iq2000.sc: Likewise.
* scripttempl/mep.sc: Likewise.
* scripttempl/mmo.sc: Likewise.
* scripttempl/nds32elf.sc: Likewise.
* scripttempl/pru.sc: Likewise.
* scripttempl/v850.sc: Likewise.
* scripttempl/v850_rh850.sc: Likewise.
* scripttempl/visium.sc: Likewise.
* scripttempl/xstormy16.sc: Likewise.
* scripttempl/z80.sc: Likewise.
* testsuite/ld-scripts/ld-version-2.d: Don't skip ft32 or pru.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/30187] ld.bfd and ld.gold versions in .comment section of ELF files, (continued)
- [Bug gold/30187] ld.bfd and ld.gold versions in .comment section of ELF files, nickc at redhat dot com, 2023/03/03
- [Bug gold/30187] ld.bfd and ld.gold versions in .comment section of ELF files, tkacvins at gmail dot com, 2023/03/03
- [Bug gold/30187] ld.bfd and ld.gold versions in .comment section of ELF files, tkacvins at gmail dot com, 2023/03/03
- [Bug gold/30187] ld.bfd and ld.gold versions in .comment section of ELF files, nickc at redhat dot com, 2023/03/14
- [Bug gold/30187] ld.bfd and ld.gold versions in .comment section of ELF files, tkacvins at gmail dot com, 2023/03/14
- [Bug gold/30187] ld.bfd and ld.gold versions in .comment section of ELF files, tkacvins at gmail dot com, 2023/03/14
- [Bug gold/30187] ld.bfd and ld.gold versions in .comment section of ELF files, nickc at redhat dot com, 2023/03/15
- [Bug gold/30187] ld.bfd and ld.gold versions in .comment section of ELF files, tkacvins at gmail dot com, 2023/03/15
- [Bug gold/30187] ld.bfd and ld.gold versions in .comment section of ELF files, cvs-commit at gcc dot gnu.org, 2023/03/15
- [Bug gold/30187] ld.bfd and ld.gold versions in .comment section of ELF files, nickc at redhat dot com, 2023/03/15
- [Bug gold/30187] ld.bfd and ld.gold versions in .comment section of ELF files,
cvs-commit at gcc dot gnu.org <=
- [Bug gold/30187] ld.bfd and ld.gold versions in .comment section of ELF files, nickc at redhat dot com, 2023/03/24
- [Bug gold/30187] ld.bfd and ld.gold versions in .comment section of ELF files, tkacvins at gmail dot com, 2023/03/24
- [Bug gold/30187] ld.bfd and ld.gold versions in .comment section of ELF files, cvs-commit at gcc dot gnu.org, 2023/03/27
- [Bug gold/30187] ld.bfd and ld.gold versions in .comment section of ELF files, nickc at redhat dot com, 2023/03/27