[Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime

2017-02-25 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20995 --- Comment #27 from Alan Modra --- I'm also a little curious as to why nios2_elf32_create_dynamic_sections is called in check_relocs when the comment says "Create the .got section". Why not just create_got_section? -- You are receiving thi

[Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime

2017-02-25 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20995 Alan Modra changed: What|Removed |Added Attachment #9858|0 |1 is obsolete|

[Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime

2017-02-25 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20995 Alan Modra changed: What|Removed |Added Attachment #9855|0 |1 is obsolete|

[Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime

2017-02-25 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20995 --- Comment #24 from Alan Modra --- No, that patch doesn't look good. SEC_EXCLUDE ought to be set for htab->root.sdynrelro in nios2_elf32_size_dynamic_sections! -- You are receiving this mail because: You are on the CC list for the bug. ___

[Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime

2017-02-25 Thread sandra at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20995 --- Comment #23 from sandra at codesourcery dot com --- Created attachment 9857 --> https://sourceware.org/bugzilla/attachment.cgi?id=9857&action=edit hacky patch Hmmm. I get a working program with the attached patch. No clue whether this

[Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime

2017-02-25 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20995 --- Comment #22 from Alan Modra --- This is weird. LOAD 0x001f20 0x3f20 0x3f20 0x0 0x0 RW 0x1000 A zero length PT_LOAD? Corresponds to [18] .data.rel.ro PROGBITS3f20 001f20 00 00 WA 0 0

[Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime

2017-02-25 Thread sandra at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20995 --- Comment #21 from sandra at codesourcery dot com --- Nope, that's not it. I've attached a tarball with good/bad executables (from commits 9d19e4fdb7c684329c8b1b72796a0071708dabc7 and 5474d94f03aedba2f832006dc7d680cc15792a7b, respectively) a

[Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime

2017-02-25 Thread sandra at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20995 --- Comment #20 from sandra at codesourcery dot com --- Created attachment 9856 --> https://sourceware.org/bugzilla/attachment.cgi?id=9856&action=edit before/after testcase output -- You are receiving this mail because: You are on the CC li

[Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime

2017-02-25 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20995 --- Comment #19 from Alan Modra --- Created attachment 9855 --> https://sourceware.org/bugzilla/attachment.cgi?id=9855&action=edit possible nios2 fix Sandra, looking over my patch again, I think it is most likely this hunk. - else if

[Bug binutils/21197] Why Function Argument Did Not Pass in SSE Register With Attributes sseregparm When Param Data Type is Long Double?

2017-02-25 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21197 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug binutils/20880] [LD] [Bug] Wrong Hint Value For ImportLib IDATA6

2017-02-25 Thread rudyy.id at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20880 Rudy Y. changed: What|Removed |Added Status|VERIFIED|UNCONFIRMED Resolution|FIXED

[Bug binutils/20814] DLLTool Put Wrong Hint Value In Lib Archieve (IDATA6 Section)

2017-02-25 Thread rudyy.id at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20814 Rudy Y. changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug binutils/20880] [LD] [Bug] Wrong Hint Value For ImportLib IDATA6

2017-02-25 Thread rudyy.id at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20880 --- Comment #11 from Rudy Y. --- *** Bug 20814 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing l

[Bug binutils/21197] Why Function Argument Did Not Pass in SSE Register With Attributes sseregparm When Param Data Type is Long Double?

2017-02-25 Thread rudyy.id at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21197 Rudy Y. changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug binutils/20880] [LD] [Bug] Wrong Hint Value For ImportLib IDATA6

2017-02-25 Thread rudyy.id at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20880 --- Comment #10 from Rudy Y. --- Created attachment 9854 --> https://sourceware.org/bugzilla/attachment.cgi?id=9854&action=edit Correct (picture) -- You are receiving this mail because: You are on the CC list for the bug. _

[Bug binutils/20880] [LD] [Bug] Wrong Hint Value For ImportLib IDATA6

2017-02-25 Thread rudyy.id at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20880 --- Comment #9 from Rudy Y. --- Created attachment 9853 --> https://sourceware.org/bugzilla/attachment.cgi?id=9853&action=edit Correct -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/20880] [LD] [Bug] Wrong Hint Value For ImportLib IDATA6

2017-02-25 Thread rudyy.id at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20880 Rudy Y. changed: What|Removed |Added Attachment #9674|0 |1 is obsolete|

[Bug binutils/20880] [LD] [Bug] Wrong Hint Value For ImportLib IDATA6

2017-02-25 Thread rudyy.id at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20880 --- Comment #7 from Rudy Y. --- Created attachment 9851 --> https://sourceware.org/bugzilla/attachment.cgi?id=9851&action=edit Wrong -- You are receiving this mail because: You are on the CC list for the bug. __

[Bug binutils/20841] [DLLTool] [Not A Bug] Suggestion Adding _nm_

2017-02-25 Thread rudyy.id at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20841 Rudy Y. changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug binutils/20881] [dlltool.c] [Request/Add] Add __nm_ for library generate by dlltool

2017-02-25 Thread rudyy.id at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20881 --- Comment #1 from Rudy Y. --- *** Bug 20841 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing li

[Bug binutils/20880] [LD] [Bug] Wrong Hint Value For ImportLib IDATA6

2017-02-25 Thread rudyy.id at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20880 Rudy Y. changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #6 from Rudy Y. --- I

[Bug binutils/21197] Why Function Argument Did Not Pass in SSE Register With Attributes sseregparm When Param Data Type is Long Double?

2017-02-25 Thread rudyy.id at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21197 --- Comment #4 from Rudy Y. --- I think you misunderstood my question. Let me make simple for you. 1. That assembler code I post came from the log after compiling some C source NOT after compiling an Assembler source. 2. I use ms_abi style fo

[Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime

2017-02-25 Thread sandra at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20995 sandra at codesourcery dot com changed: What|Removed |Added CC||sandra at codesourcery