Commit 5ac74d25 by Jakub Jelinek Committed by Jakub Jelinek

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
parent d683ec81
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> 2007-11-29 Andris Pavenis <andris.pavenis@iki.fi>
* Makefile.in: Use separate vpath lines for each path. * Makefile.in: Use separate vpath lines for each path.
/* crtn.s for eabi /* 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 Written By Michael Meissner
This file is free software; you can redistribute it and/or modify it This file is free software; you can redistribute it and/or modify it
...@@ -66,7 +66,7 @@ __FIXUP_END__: ...@@ -66,7 +66,7 @@ __FIXUP_END__:
__CTOR_END__: __CTOR_END__:
.section ".dtors","aw" .section ".dtors","aw"
.globl __DTOR_END__ .weak __DTOR_END__
.type __DTOR_END__,@object .type __DTOR_END__,@object
__DTOR_END__: __DTOR_END__:
......
# crtn.s for sysv4 # crtn.s for sysv4
# Copyright (C) 1996 Free Software Foundation, Inc. # Copyright (C) 1996, 2007 Free Software Foundation, Inc.
# Written By Michael Meissner # Written By Michael Meissner
# #
# This file is free software; you can redistribute it and/or modify it # This file is free software; you can redistribute it and/or modify it
...@@ -54,7 +54,7 @@ __CTOR_END__: ...@@ -54,7 +54,7 @@ __CTOR_END__:
# End list of C++ destructors # End list of C++ destructors
.section ".dtors","aw" .section ".dtors","aw"
.globl __DTOR_END__ .weak __DTOR_END__
.type __DTOR_END__,@object .type __DTOR_END__,@object
__DTOR_END__: __DTOR_END__:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment