This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, microblaze]: Add Init_priority support.


Please find the following patch for init_priority support for microblaze. Testing Done : No regressions seen in gcc and g++ regressions testsuite.

   [Patch, microblaze]: 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.
    
    Signed-off-by:Ajit Agarwal ajitkum@xilinx.com.

Thanks & Regards
Ajit

Attachment: 0001-Patch-microblaze-Add-Init_priority-support.patch
Description: 0001-Patch-microblaze-Add-Init_priority-support.patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]