]> err.no Git - linux-2.6/commitdiff
[S390] Fix linker script.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 25 Aug 2008 16:13:26 +0000 (18:13 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 25 Aug 2008 16:15:01 +0000 (18:15 +0200)
6360b1fbb4a939efd34fc770c2ebd927c55506e0 ("move BUG_TABLE into RODATA")
causes this build bug (binutils 2.18.50.0.8.20080709, gcc 4.3.1):

  AS      .tmp_kallsyms1.o
  LD      .tmp_vmlinux2
  KSYM    .tmp_kallsyms2.S
s390x-4.3.1-nm: .tmp_vmlinux2: File truncated
No valid symbol.
make: *** [.tmp_kallsyms2.S] Error 1

So fix this.

Cc: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/vmlinux.lds.S

index 76c1e60c92f3fae3e88d03eb9a299536288dee40..607bd67a18ce782f21051e4e306f8feced721719 100644 (file)
@@ -55,7 +55,7 @@ SECTIONS
                __start___ex_table = .;
                *(__ex_table)
                __stop___ex_table = .;
-       }
+       } :data
 
        .data : {               /* Data */
                DATA_DATA