lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 21 Sep 2014 20:54:46 -0700
From:	Guenter Roeck <linux@...ck-us.net>
To:	Stefan Kristiansson <stefan.kristiansson@...nalahti.fi>
CC:	Jonas Bonn <jonas@...thpole.se>, linux@...ts.openrisc.net,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] openrisc: Support both old (or32) and new (or1k) toolchain

On 09/21/2014 07:53 PM, Stefan Kristiansson wrote:
> On Thu, Sep 18, 2014 at 09:56:38PM -0700, Guenter Roeck wrote:
>> ping ... comments / feedback anyone ?
>>
>> Guenter
>>
>
> FWIW, I've tested this and it works fine.
>
Hi Stefan,

Great, thanks a lot for testing. Any idea if Jonas is available to send it upstream,
or should I try to send it to Linus directly ?

Thanks,
Guenter

> Stefan
>
>> On 09/08/2014 02:00 PM, Guenter Roeck wrote:
>>> The output file format for openrisc has changed from "elf32-or32"
>>> to "elf32-or1k" when using the or1k instead of the older or32 toochain.
>>> Select the correct output format automatically to be able to compile
>>> the kernel with both toolchain variants.
>>>
>>> Cc: Stefan Kristiansson <stefan.kristiansson@...nalahti.fi>
>>> Signed-off-by: Guenter Roeck <linux@...ck-us.net>
>>> ---
>>> Candidate for -stable ?
>>>
>>>   arch/openrisc/kernel/vmlinux.lds.S | 8 +++++++-
>>>   1 file changed, 7 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/arch/openrisc/kernel/vmlinux.lds.S b/arch/openrisc/kernel/vmlinux.lds.S
>>> index 2d69a85..1c5d21a 100644
>>> --- a/arch/openrisc/kernel/vmlinux.lds.S
>>> +++ b/arch/openrisc/kernel/vmlinux.lds.S
>>> @@ -30,7 +30,13 @@
>>>   #include <asm/cache.h>
>>>   #include <asm-generic/vmlinux.lds.h>
>>>
>>> -OUTPUT_FORMAT("elf32-or32", "elf32-or32", "elf32-or32")
>>> +#ifdef __OR1K__
>>> +#define __OUTPUT_FORMAT	"elf32-or1k"
>>> +#else
>>> +#define __OUTPUT_FORMAT	"elf32-or32"
>>> +#endif
>>> +
>>> +OUTPUT_FORMAT(__OUTPUT_FORMAT, __OUTPUT_FORMAT, __OUTPUT_FORMAT)
>>>   jiffies = jiffies_64 + 4;
>>>
>>>   SECTIONS
>>>
>>
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists