[Bug gas/2598] Build kernel 2.6.16 modules with gcc 4.0.2 Warning: setting incorrect section attributes for .got

2006-04-27 Thread tomri at gmx dot net

--- 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.0 -0700
+++ gas/config/obj-elf.c2006-04-25 18:16:36.0 -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
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/2598] Build kernel 2.6.16 modules with gcc 4.0.2 Warning: setting incorrect section attributes for .got

2006-04-27 Thread tomri at gmx dot net

--- Additional Comments From tomri at gmx dot net  2006-04-27 15:48 ---
Hi

I test this patch today, and it works for me on alpha. So please add this patch
to the upstream of binutils (binutils-2.16.91.0.8). 
I'll set this bug to fixed, when the patch is added into binutils.

Thanks.
Tom

-- 


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
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/2613] New: testcase for binutils:ld on alpha fails.

2006-04-27 Thread tomri at gmx dot net
=== ld tests ===

Schedule of variations:
unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for 
target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using
/home/rpmbuild/rpm/BUILD/binutils-2.16.91.0.6/ld/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running
/home/rpmbuild/rpm/BUILD/binutils-2.16.91.0.6/ld/testsuite/ld-alpha/alpha.exp 
...
FAIL: TLS -fpic -shared
FAIL: TLS -fpic and -fno-pic exec
FAIL: TLS -fpic and -fno-pic exec -relax

Running
/home/rpmbuild/rpm/BUILD/binutils-2.16.91.0.6/ld/testsuite/ld-elf/sec64k.exp ...
FAIL: ld-elf/64ksec
Running
/home/rpmbuild/rpm/BUILD/binutils-2.16.91.0.6/ld/testsuite/ld-elfcomm/elfcomm.exp
...
Running
/home/rpmbuild/rpm/BUILD/binutils-2.16.91.0.6/ld/testsuite/ld-elfvers/vers.exp 
...
FAIL: vers24a
FAIL: vers24b
FAIL: vers24c
FAIL: vers30
FAIL: vers31

Running
/home/rpmbuild/rpm/BUILD/binutils-2.16.91.0.6/ld/testsuite/ld-pie/pie.exp ...
FAIL: weak undefined

   === ld Summary ===

# of expected passes209
# of unexpected failures10
# of expected failures  32
# of untested testcases 6


Some tests of glibc on alpha also fails, so I don't know if glibc is ok.
glibc-2.4-4 from FC5 builds without break on alpha.

Installed glibc: glibc-2.3.2-11.9

-- 
   Summary: testcase for binutils:ld on alpha fails.
   Product: binutils
   Version: 2.16
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: tomri at gmx dot net
CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=2613

--- 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
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils