Re: [PATCH] arm64: link with -z norelro regardless of CONFIG_RELOCATABLE

2020-12-14 Thread Alan Modra
unwanted effects. -- Alan Modra Australia Development Lab, IBM

Re: Error: invalid switch -me200

2020-11-16 Thread Alan Modra
gt; > > > > > The help text for this config options says that e200 is used in 55xx, > > > and there *is* an -me5500 GAS flag (which probably does this same > > > thing, too). But is any of this tested, or useful, or wanted? > > > > > >

Re: [PATCH 1/4] glibc: Perform rseq(2) registration at C startup and thread creation (v7)

2019-04-09 Thread Alan Modra
he "very unlikely > to appear" criteria AFAICS. Yes, looks fine to me, except that in VLE mode (do we care?) ".long 0x0fe50553" disassembles as 0: 0f e5 se_cmphl r5,r30 2: 05 53 se_mullw r3,r5 No illegal/trap/privileged insn there. ".long 0x0fe5000b" might be better to cover VLE. -- Alan Modra Australia Development Lab, IBM

Re: linux-next: build failure after merge of most trees

2017-06-22 Thread Alan Modra
On Thu, Jun 22, 2017 at 06:41:16PM +1000, Nicholas Piggin wrote: > Is there any way for the linker to place the inputs to avoid unresolvable > relocations where possible? Not without quite a lot of work writing support for that feature. -- Alan Modra Australia Development Lab, IBM

Re: linux-next: build failure after merge of most trees

2017-06-22 Thread Alan Modra
On Thu, Jun 22, 2017 at 06:41:16PM +1000, Nicholas Piggin wrote: > Is there any way for the linker to place the inputs to avoid unresolvable > relocations where possible? Not without quite a lot of work writing support for that feature. -- Alan Modra Australia Development Lab, IBM

Re: [PATCH] [EXPERIMENTAL, v2] enable thin archives and --gc-sections on ARM

2017-03-17 Thread Alan Modra
*(__ex_table) > + KEEP(*(__ex_table)) > #endif > __stop___ex_table = .; > } I think that if CONFIG_MMU is not defined, then ld will remove the empty section. -- Alan Modra Australia Development Lab, IBM

Re: [PATCH] [EXPERIMENTAL, v2] enable thin archives and --gc-sections on ARM

2017-03-17 Thread Alan Modra
*(__ex_table) > + KEEP(*(__ex_table)) > #endif > __stop___ex_table = .; > } I think that if CONFIG_MMU is not defined, then ld will remove the empty section. -- Alan Modra Australia Development Lab, IBM

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-12-03 Thread Alan Modra
On Fri, Dec 02, 2016 at 11:55:58AM +0100, Arnd Bergmann wrote: > I have managed to bisect the link failure to a specific binutils > commit by Alan Modra now: > > d983c8c ("Strip undefined symbols from .symtab") > > went into binutils-2_26 and was reverted in

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-12-03 Thread Alan Modra
On Fri, Dec 02, 2016 at 11:55:58AM +0100, Arnd Bergmann wrote: > I have managed to bisect the link failure to a specific binutils > commit by Alan Modra now: > > d983c8c ("Strip undefined symbols from .symtab") > > went into binutils-2_26 and was reverted in

Re: [PATCH v6 1/9] ppc64 (le): prepare for -mprofile-kernel

2016-01-27 Thread Alan Modra
er the ELFv2 global entry point code. If you trash r11 here you're killing the static chain pointer, used by C nested functions or other languages that use a static chain, eg. Pascal. r11 has *not* been saved for ELFv2. r12 might be a better choice for a temp reg. -- Alan Modra Australia Development Lab, IBM

Re: [PATCH v6 1/9] ppc64 (le): prepare for -mprofile-kernel

2016-01-27 Thread Alan Modra
milar to -m32), but after the ELFv2 global entry point code. If you trash r11 here you're killing the static chain pointer, used by C nested functions or other languages that use a static chain, eg. Pascal. r11 has *not* been saved for ELFv2. r12 might be a better choice for a temp reg. -- Alan Modra Australia Development Lab, IBM

Re: [RFC] kbuild: drop use of "ld -r" for intermediate links of vmlinux

2014-02-18 Thread Alan Modra
hen > > adding one thin archive to another. I think Stephen may have tried > > that idea too. > I just coded this in a similar simple fashion. > It broke building vdso - needs to look into that and will get back when I may > understand why my link suddenly broke. Missing --w

Re: [RFC] kbuild: drop use of "ld -r" for intermediate links of vmlinux

2014-02-18 Thread Alan Modra
tephen may have tried that idea too. -- Alan Modra Australia Development Lab, IBM -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC] kbuild: drop use of ld -r for intermediate links of vmlinux

2014-02-18 Thread Alan Modra
. -- Alan Modra Australia Development Lab, IBM -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC] kbuild: drop use of ld -r for intermediate links of vmlinux

2014-02-18 Thread Alan Modra
archive to another. I think Stephen may have tried that idea too. I just coded this in a similar simple fashion. It broke building vdso - needs to look into that and will get back when I may understand why my link suddenly broke. Missing --whole-archive? -- Alan Modra Australia Development Lab

Re: RFC: binutils PATCH: Set e_type to ET_EXEC for -pie -Ttext-segment=

2013-12-10 Thread Alan Modra
he linker, and it's the kernel that is doing the loading after all. -- Alan Modra Australia Development Lab, IBM -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: RFC: binutils PATCH: Set e_type to ET_EXEC for -pie -Ttext-segment=

2013-12-10 Thread Alan Modra
the loading after all. -- Alan Modra Australia Development Lab, IBM -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: "build-id" changes break sparc64

2007-07-23 Thread Alan Modra
On Mon, Jul 23, 2007 at 10:14:35AM +0200, Sam Ravnborg wrote: > But I would still like to hear from Alan what the benefits are. See http://sourceware.org/ml/binutils/2004-10/msg00178.html -- Alan Modra Australia Development Lab, IBM - To unsubscribe from this list: send the line "uns

Re: build-id changes break sparc64

2007-07-23 Thread Alan Modra
On Mon, Jul 23, 2007 at 10:14:35AM +0200, Sam Ravnborg wrote: But I would still like to hear from Alan what the benefits are. See http://sourceware.org/ml/binutils/2004-10/msg00178.html -- Alan Modra Australia Development Lab, IBM - To unsubscribe from this list: send the line unsubscribe

Re: [ANNOUNCE] April Release of LTP now Available

2005-04-06 Thread Alan Modra
On Thu, Apr 07, 2005 at 10:52:01AM +1000, Paul Mackerras wrote: > Looks to me like gcc is objecting to our (ppc64's) _syscall2 > definition; Alan Modra (cc'd) can probably say what we're doing wrong. I can't spot anything wrong. Take a look at preprocessed source. -- Alan Modra IBM

Re: [ANNOUNCE] April Release of LTP now Available

2005-04-06 Thread Alan Modra
On Thu, Apr 07, 2005 at 10:52:01AM +1000, Paul Mackerras wrote: Looks to me like gcc is objecting to our (ppc64's) _syscall2 definition; Alan Modra (cc'd) can probably say what we're doing wrong. I can't spot anything wrong. Take a look at preprocessed source. -- Alan Modra IBM OzLabs

Re: [PATCH 1/2] No-exec support for ppc64

2005-03-15 Thread Alan Modra
e no file contents, so of course p_filesz doesn't cover them. -- Alan Modra IBM OzLabs - Linux Technology Centre - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-in

Re: [PATCH 1/2] No-exec support for ppc64

2005-03-15 Thread Alan Modra
, so of course p_filesz doesn't cover them. -- Alan Modra IBM OzLabs - Linux Technology Centre - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ