This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH v2 0/10] Tilera (and Linux asm-generic) support for glibc
- From: Chris Metcalf <cmetcalf at tilera dot com>
- To: Ulrich Drepper <drepper at gmail dot com>
- Cc: <libc-alpha at sourceware dot org>, <libc-ports at sourceware dot org>, Arnd Bergmann <arnd at arndb dot de>, Linas Vepstas <linas at codeaurora dot org>, Guan Xuetao <gxt at mprc dot pku dot edu dot cn>, Jonas Bonn <jonas at southpole dot se>, Chen Liqin <liqin dot chen at gmail dot com>
- Date: Fri, 11 Nov 2011 16:33:40 -0500
- Subject: Re: [PATCH v2 0/10] Tilera (and Linux asm-generic) support for glibc
- References: <201111100054.pAA0sf6u025585@farm-0002.internal.tilera.com> <CAOPLpQeYkCxui8-tfzrwRzu1fTe8qbMQ7k4Ar5mM+Ja2VoUp8g@mail.gmail.com>
On 11/11/2011 12:48 PM, Ulrich Drepper wrote:
Nothing here belongs into the main version. Stuff it in the ports
tree. I'm not modifying the existing files for this supposed
"generic" architecture.
The files in "PATCH v2 8/10" that I added #ifdefs to I've now moved
into "ports" in my git tree, and we can just make sure they continue
to track changes in the files they were derived from.
Most of the other core patches are really not tile-specific anyway,
so we can resolve them in their separate threads on the mailing list.
The files that I'm not sure how to deal with are the ones mentioned
in "PATCH v2 3/10". I'd appreciate your thoughts on these:
* elf/elf.h: This change adds the relevant Tilera ELF constants.
There doesn't seem to be a model for overriding elf.h in ports, and
there are many non-core architectures already listed in that file
(mips, hppa, alpha, arm, sh, am33, etc.).
* elf/stackguard-macros.h, scripts/check-local-headers.sh: These files
only support tests, but there's no mechanism for a "ports" override.
The tile changes are very localized in these files, and trying to set
up a way to do per-architecture overrides seemed heavy-weight to me.
However, if that would be preferred and a change to do this
acceptable, I'm happy to pursue that direction.
For what it's worth, I know that there are other architectures waiting
to benefit from glibc support for the new Linux "asm-generic" ABI, so
there is certainly interest in the community.
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com