------- Additional Comments From tomri at gmx dot net 2006-04-27 12:48 -------
Patch from H.J. Lu: Please add this to the next release and comit this here.
Thanks.
I am not really sure if SHF_ALPHA_GPREL is really needed. This is the
updated patch to properly allow it.
H.J.
---
2006-04-25 H.J. Lu <[EMAIL PROTECTED]>
PR gas/2598
* config/obj-elf.c (obj_elf_change_section): Allow user
specified SHF_ALPHA_GPREL.
--- gas/config/obj-elf.c.alpha 2005-09-26 12:13:55.000000000 -0700
+++ gas/config/obj-elf.c 2006-04-25 18:16:36.000000000 -0700
@@ -632,6 +632,11 @@ obj_elf_change_section (const char *name
else if (attr == SHF_EXECINSTR
&& strcmp (name, ".note.GNU-stack") == 0)
override = TRUE;
+#ifdef TC_ALPHA
+ /* A section on Alpha may have SHF_ALPHA_GPREL. */
+ else if ((attr & ~ssect->attr) == SHF_ALPHA_GPREL)
+ override = TRUE;
+#endif
else
{
if (group_name == NULL)
* References:
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2598
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils