[Bug ld/31277] building binutils targeting x86_64-linux-gnu on s390x-linux-gnu doesn't enable i686-linux-gnu

2024-04-22 Thread krebbel at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=31277 --- Comment #3 from Andreas Krebbel --- Matthias, is this still a problem? Could you provide steps to reproduce it. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/31277] building binutils targeting x86_64-linux-gnu on s390x-linux-gnu doesn't enable i686-linux-gnu

2024-04-22 Thread krebbel at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=31277 Andreas Krebbel changed: What|Removed |Added CC||jremus at linux dot ibm.com -- You

[Bug ld/31277] building binutils targeting x86_64-linux-gnu on s390x-linux-gnu doesn't enable i686-linux-gnu

2024-02-01 Thread krebbel at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=31277 Andreas Krebbel changed: What|Removed |Added CC||krebbel at linux dot ibm.com

[Bug gas/29655] s390x gas generates PC32DBL instead of PLT32DBL for function call

2022-10-12 Thread krebbel at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=29655 --- Comment #21 from Andreas Krebbel --- (In reply to Rui Ueyama from comment #20) > GCC 12 seems to always append `@PLT` to a function symbol even if we are not > calling that function. Here is a test case. ... > I think `larl %r1,foo@PLT` sh

[Bug gas/29655] s390x gas generates PC32DBL instead of PLT32DBL for function call

2022-10-10 Thread krebbel at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=29655 --- Comment #19 from Andreas Krebbel --- (In reply to Rui Ueyama from comment #18) > Was there any reason to limit it to R_390_64 and R_390_PC32DBL? These were the only relocs which made sense to me as 64 bit pointers. -- You are receiving

[Bug gas/29655] s390x gas generates PC32DBL instead of PLT32DBL for function call

2022-10-09 Thread krebbel at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=29655 --- Comment #17 from Andreas Krebbel --- I have attached a patch for the testcase in Comment 14. Turns out that we also have to zero out the symbol value in order to avoid function pointer references in the main binary to be wired up to the ma

[Bug gas/29655] s390x gas generates PC32DBL instead of PLT32DBL for function call

2022-10-09 Thread krebbel at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=29655 --- Comment #16 from Andreas Krebbel --- Created attachment 14386 --> https://sourceware.org/bugzilla/attachment.cgi?id=14386&action=edit Experimental Fix This patch fixes the testcase from comment 14. No testsuite regressions in the Binuti

[Bug gas/29655] s390x gas generates PC32DBL instead of PLT32DBL for function call

2022-10-07 Thread krebbel at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=29655 --- Comment #12 from Andreas Krebbel --- So do I understand it correctly that for the Qt case the example would look more like this: test2.c: #include void alias () __attribute__ ((weak, alias ("bar"))); void bar() { printf("bar=%p alias=%

[Bug gas/29655] s390x gas generates PC32DBL instead of PLT32DBL for function call

2022-10-07 Thread krebbel at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=29655 --- Comment #6 from Andreas Krebbel --- (In reply to Rui Ueyama from comment #5) > Ooh, that's why I did see this only on SuSE's builder. I'm glad that that's > already been handled. I would just like to mention that adding the @PLT isn't rea

[Bug gas/29655] s390x gas generates PC32DBL instead of PLT32DBL for function call

2022-10-07 Thread krebbel at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=29655 Andreas Krebbel changed: What|Removed |Added CC||krebbel at linux dot ibm.com

[Bug gold/20114] Partial relro support for s390x gold

2019-04-30 Thread krebbel at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=20114 --- Comment #11 from Andreas Krebbel --- (In reply to maamountki from comment #10) > (In reply to Andreas Krebbel from comment #8) > > > For S/390 it would mean that non of the existing linker scripts > > would continue to work with Gold afte

[Bug gold/20114] Partial relro support for s390x gold

2019-04-30 Thread krebbel at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=20114 --- Comment #9 from Andreas Krebbel --- (In reply to maamountki from comment #7) > Thinking of replacing the new layout with this one > > +--+ > |.got[0]: DYNAMIC | <--- _GLOBAL_O

[Bug gold/20114] Partial relro support for s390x gold

2019-04-30 Thread krebbel at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=20114 --- Comment #8 from Andreas Krebbel --- (In reply to maamountki from comment #6) ... > Yes I do and it does not. > .got and .got.plt must be set properly in linker srcript to get it work > otherwise a segmentation fault will be produced. I can

[Bug gold/20114] Partial relro support for s390x gold

2019-04-29 Thread krebbel at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=20114 --- Comment #5 from Andreas Krebbel --- (In reply to maamountki from comment #4) Looks good to me. However, I'm not a Gold maintainer. One difference to the ld implementation is that you appear to always use the new got layout. ld uses the ne

[Bug ld/20113] Partial relro support for s390x ld

2019-03-03 Thread krebbel at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=20113 --- Comment #19 from Andreas Krebbel --- (In reply to maamountki from comment #18) > *patch > > I just noticed that SEPARATE_GOTPLT is duplicated in the 64 bit script and > partial relro support is already implemented so yes my patch should b

[Bug ld/20113] Partial relro support for s390x ld

2019-02-28 Thread krebbel at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=20113 --- Comment #14 from Andreas Krebbel --- Maamoun, was your patch ever posted on the Binutils mailing list? I could not find it there. -- You are receiving this mail because: You are on the CC list for the bug. _

[Bug gold/20114] Partial relro support for s390x gold

2019-02-28 Thread krebbel at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=20114 Andreas Krebbel changed: What|Removed |Added CC||krebbel at linux dot ibm.com

[Bug ld/20113] Partial relro support for s390x ld

2019-02-28 Thread krebbel at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=20113 --- Comment #13 from Andreas Krebbel --- Unfortunately the patch also went into 2.32 release :( At least for 64 bit the patch doesn't hurt since it is a nop. The code currently looks like: EXTRA_EM_FILE=s390 SEPARATE_GOTPLT=24 <--- the

[Bug ld/20113] Partial relro support for s390x ld

2019-02-28 Thread krebbel at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=20113 Andreas Krebbel changed: What|Removed |Added CC||krebbel at linux dot ibm.com