This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

CYG_HAL_TABLE_BEGIN


Hi

For now, I have fixed my alignment problem (I hope) by
changing ".p2align 2" to ".p2align 8" in CYG_HAL_TABLE_BEGIN

#ifndef CYG_HAL_TABLE_BEGIN
#define CYG_HAL_TABLE_BEGIN( _label, _name ) \
-_asm__("\n.section \"" __string(.ecos.table.##_name##.begin) "\",\"aw\"\n"  \
        ".globl " __xstring(CYG_LABEL_DEFN(_label)) "\n" \
        ".type    " __xstring(CYG_LABEL_DEFN(_label)) ",object\n" \
        ".p2align 2\n" \
__xstring(CYG_LABEL_DEFN(_label)) ":\n" \
        ".previous\n" \
       )
#endif


in file: packages/hal/arm/arch/current/include/hal_arch.h

Carl van Schaik   <carl@leg.uct.ac.za>
-----------------------------------------------------
Dept. Electrical Engineering, UCT

621 Menzies Building
University of Cape Town
Rondebosch   
Western Cape
7700
South Africa

Tel: +27 21 650-3467
Fax: +27 21 650-3465


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