OSDN Git Service

PR target/32130
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Nov 2007 16:21:18 +0000 (16:21 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Nov 2007 16:21:18 +0000 (16:21 +0000)
* config/rs6000/eabi-cn.asm (__DTOR_END__): Make it weak.
* config/rs6000/sol-cn.asm (__DTOR_END__): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130516 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/eabi-cn.asm
gcc/config/rs6000/sol-cn.asm

index d282191..376994a 100644 (file)
@@ -1,3 +1,9 @@
+2007-11-29  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/32130
+       * config/rs6000/eabi-cn.asm (__DTOR_END__): Make it weak.
+       * config/rs6000/sol-cn.asm (__DTOR_END__): Likewise.
+
 2007-11-29  Andris Pavenis <andris.pavenis@iki.fi>
 
        * Makefile.in: Use separate vpath lines for each path.
index 90a5da7..fcfea4d 100644 (file)
@@ -1,5 +1,5 @@
 /* crtn.s for eabi
-   Copyright (C) 1996, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1996, 2000, 2007 Free Software Foundation, Inc.
    Written By Michael Meissner
 
 This file is free software; you can redistribute it and/or modify it
@@ -66,7 +66,7 @@ __FIXUP_END__:
 __CTOR_END__:
 
        .section ".dtors","aw"
-       .globl  __DTOR_END__
+       .weak   __DTOR_END__
        .type   __DTOR_END__,@object
 __DTOR_END__:
 
index 8546834..b9ef444 100644 (file)
@@ -1,6 +1,6 @@
 # crtn.s for sysv4
 
-#   Copyright (C) 1996 Free Software Foundation, Inc.
+#   Copyright (C) 1996, 2007 Free Software Foundation, Inc.
 #   Written By Michael Meissner
 # 
 # This file is free software; you can redistribute it and/or modify it
@@ -54,7 +54,7 @@ __CTOR_END__:
 
 # End list of C++ destructors
        .section ".dtors","aw"
-       .globl  __DTOR_END__
+       .weak   __DTOR_END__
        .type   __DTOR_END__,@object
 __DTOR_END__: