Re: [PATCH] uapi/linux/a.out.h: don't use deprecated system-specific predefines.

2017-06-14 Thread Christoph Hellwig
On Wed, Jun 14, 2017 at 08:43:08AM -0400, Zack Weinberg wrote: > Christoph's patch doesn't seem to have been applied yet. Is there > anything I can do to help? A formal submission usually helps. I didn't want to post it under my name as it's mostly your work. How about this: --- From: Zack Wei

Re: [PATCH] uapi/linux/a.out.h: don't use deprecated system-specific predefines.

2017-06-14 Thread Zack Weinberg
On Fri, Jun 2, 2017 at 3:12 PM, Linus Torvalds wrote: > On Fri, Jun 2, 2017 at 5:06 AM, Zack Weinberg wrote: >> On 06/02/2017 03:10 AM, Christoph Hellwig wrote: >>> >>> Can we please fix these conditionals so that only those >>> relevant to Linux remain? >> >> I was going for the minimal change s

Re: [PATCH] uapi/linux/a.out.h: don't use deprecated system-specific predefines.

2017-06-02 Thread Linus Torvalds
On Fri, Jun 2, 2017 at 5:06 AM, Zack Weinberg wrote: > On 06/02/2017 03:10 AM, Christoph Hellwig wrote: >> >> Can we please fix these conditionals so that only those >> relevant to Linux remain? > > I was going for the minimal change since this is dusty-deck code that I > can't practically test, b

Re: [PATCH] uapi/linux/a.out.h: don't use deprecated system-specific predefines.

2017-06-02 Thread Zack Weinberg
On 06/02/2017 03:10 AM, Christoph Hellwig wrote: > > Can we please fix these conditionals so that only those > relevant to Linux remain? I was going for the minimal change since this is dusty-deck code that I can't practically test, but I have no objection to your more thorough approach. I don't

Re: [PATCH] uapi/linux/a.out.h: don't use deprecated system-specific predefines.

2017-06-02 Thread Christoph Hellwig
> /* Address of data segment in memory after it is loaded. > Note that it is up to you to define SEGMENT_SIZE > on machines not listed here. */ > -#if defined(vax) || defined(hp300) || defined(pyr) > +#if defined(__vax__) || defined(__hp300__) || defined(__pyr__) > #define SEGMENT_SIZE p

[PATCH] uapi/linux/a.out.h: don't use deprecated system-specific predefines.

2017-06-01 Thread Zack Weinberg
uapi/linux/a.out.h uses a number of predefined macros that are deprecated because they're in the application namespace (e.g. '#ifdef linux' instead of '#ifdef __linux__'). This patch corrects all of them. The primary reason this is worth bothering to fix, considering how obsolete a.out binary supp