[RFC][PATCH] Remove binutils support for Nios II target

Sandra Loosemore sloosemore@baylibre.com
Mon Nov 25 21:12:31 GMT 2024


The attached patch removes binutils support for the Nios II target, 
which has been EOL'ed by the vendor.  I've already pushed the patch to 
remove support from GCC:

https://gcc.gnu.org/pipermail/gcc-cvs/2024-November/413482.html

I've also got a separate gdb patch I'm about to post and I'd like to get 
them both in at the same time.

I'm the binutils maintainer as well so I don't need review of this patch 
to push it, but I have a couple questions before I push the button....

(1) I've left the readelf support in place since this is supposed to be 
a utility that can read the headers in any ELF file instead of a 
target-specific thing.  Is that the Right Thing to do?  It's basically 
just header file definitions for EM_ALTERA_NIOS2 and its associated 
RELOC numbers, neither of which is ever going to change.  That 
information is also present in the generic elf.h distributed with glibc 
and newlib, along with similar information for some other obsolete 
targets, so I guess the accepted practice is to leave it in place 
everywhere?

(2) I'm confused about what's going on with ChangeLogs in binutils.  It 
seems like some commits include ChangeLogs in the commit message and 
others don't, but nothing is propagating the logs in commit messages to 
actual ChangeLog files, which still exist but are not marked as 
obsolete, and there's nothing on the binutils web page about patch 
formatting.  Should I add a ChangeLog to the commit message?

-Sandra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nios2-binutils.patch.gz
Type: application/gzip
Size: 142811 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20241125/98671cd4/attachment-0001.gz>


More information about the Binutils mailing list