diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-11-29 17:21:18 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2007-11-29 17:21:18 +0100 |
commit | 5ac74d254221fa92b4e55f03a46329599e8f31d1 (patch) | |
tree | 6fc7c38971beb616e2f98ceb5b0535c1392feeba /gcc/config | |
parent | d683ec81d20defd9817dd5122b70c5d77b5d9b2c (diff) | |
download | gcc-5ac74d254221fa92b4e55f03a46329599e8f31d1.zip gcc-5ac74d254221fa92b4e55f03a46329599e8f31d1.tar.gz gcc-5ac74d254221fa92b4e55f03a46329599e8f31d1.tar.bz2 |
re PR target/32130 (linking problems: multiple definition of `__DTOR_END__')
PR target/32130
* config/rs6000/eabi-cn.asm (__DTOR_END__): Make it weak.
* config/rs6000/sol-cn.asm (__DTOR_END__): Likewise.
From-SVN: r130516
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/rs6000/eabi-cn.asm | 4 | ||||
-rw-r--r-- | gcc/config/rs6000/sol-cn.asm | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/rs6000/eabi-cn.asm b/gcc/config/rs6000/eabi-cn.asm index 90a5da7..fcfea4d 100644 --- a/gcc/config/rs6000/eabi-cn.asm +++ b/gcc/config/rs6000/eabi-cn.asm @@ -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__: diff --git a/gcc/config/rs6000/sol-cn.asm b/gcc/config/rs6000/sol-cn.asm index 8546834..b9ef444 100644 --- a/gcc/config/rs6000/sol-cn.asm +++ b/gcc/config/rs6000/sol-cn.asm @@ -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__: |