[Bug binutils/28072] Hard coded plural in readelf.c

2021-07-12 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28072

--- Comment #1 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Nick Clifton :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f253158fafd213c209a5b2a56e22b53760a7132d

commit f253158fafd213c209a5b2a56e22b53760a7132d
Author: Nick Clifton 
Date:   Mon Jul 12 14:14:33 2021 +0100

Fix a translation problem for the text generated by readelf at the start of
a dump of a dynamic section.

PR 28072
binutils * readelf.c (process_dynamic_section): Use ngettext to help with
translation of header text.

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


[Bug binutils/28072] Hard coded plural in readelf.c

2021-07-12 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28072

Nick Clifton  changed:

   What|Removed |Added

 CC||nickc at redhat dot com

--- Comment #2 from Nick Clifton  ---
Hi Frederic,

  Thank you for alerting us to this problem.  I have checked in a small
  patch to replace the conditional printf()s with a single printf using
  ngettext.

Cheers
  Nick

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


[Bug gas/28054] SEC_ELF_OCTETS not set for ".debug_*" sections causing invalid relocs for targets with OCTETS_PER_BYTE > 1

2021-07-12 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28054

--- Comment #1 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Nick Clifton :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ef744040b49e92ecd3de3ae3b94c8f85020111c3

commit ef744040b49e92ecd3de3ae3b94c8f85020111c3
Author: Tucker 
Date:   Mon Jul 12 17:12:13 2021 +0100

Add the SEC_ELF_OCTETS flag to debug sections created by the assembler.

PR 28054
gas * config/obj-elf.c (obj_elf_change_section): Set the
SEF_ELF_OCTETS flag on debug sections.

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


[Bug gas/28054] SEC_ELF_OCTETS not set for ".debug_*" sections causing invalid relocs for targets with OCTETS_PER_BYTE > 1

2021-07-12 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28054

Nick Clifton  changed:

   What|Removed |Added

 CC||nickc at redhat dot com
 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Nick Clifton  ---
Hi Tucker,

  I have applied half of your patch.  During testing I found that setting
  the SEC_DEBUGGING flag causes binutils testsuite regressions for the FT32
  and MSP430 targets.  I am not entirely sure why, but I suspect that it
  is because these targets then start generating relocs to set values in
  the .debug_info and .debug_line sections, and these relocs are either 
  wrong, or not implemented properly.

  So I have applied the part that sets SEC_ELF_OCTETS, but not the part
  that sets SEC_ELF_DEBUGGING.

  One day, in my copious free time, I will investigate the SEC_DEBUGGING
  issue further. :-)

Cheers
  Nick

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