Add Init_priority support.
commit9dcfd437cce22a672566c1e963f07bb46fc3f70f
authoreager <eager@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Aug 2014 17:04:41 +0000 (18 17:04 +0000)
committereager <eager@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Aug 2014 17:04:41 +0000 (18 17:04 +0000)
treefd11b534711aa4836129da2de9aa38901287db59
parent4b7fc72615a2bf5d0eaa130258b9ecde318208c5
Add Init_priority support.

Added TARGET_ASM_CONSTRUCTOR and TARGET_ASM_DESTRUCTOR macros. These
macros allows users to control the order of initialization of objects
defined at namespace scope with the init_priority attribute by
specifying a relative priority.

ChangeLog:
2014-07-28  Ajit Agarwal  <ajitkum@xilinx.com>

* config/microblaze/microblaze.c (microblaze_elf_asm_cdtor): New.
(microblaze_elf_asm_constructor,microblaze_elf_asm_destructor): New.
* config/microblaze/microblaze.h
(TARGET_ASM_CONSTRUCTOR,TARGET_ASM_DESTRUCTOR): New Macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214110 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/microblaze/microblaze.c
gcc/config/microblaze/microblaze.h