(command.CommandList children: [ (command.ShAssignment left: <Id.Lit_VarLike 'MACHINE='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'MACHINE='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'MACHINE='> name:MACHINE) op: assign_op.Equal rhs: (rhs_word__Empty) ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'SCRIPT_NAME='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'SCRIPT_NAME='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'SCRIPT_NAME='> name:SCRIPT_NAME) op: assign_op.Equal rhs: {<elfarcv2>} ) ] redirects: [] ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple blame_tok: <Id.Lit_LBracket '['> more_env: [] words: [ {<Id.Lit_LBracket '['>} {(DQ <x> (${ Id.VSub_Name ARC_ENDIAN))} {<Id.Lit_Equals '='>} {(DQ <xbig>)} {<Id.Lit_RBracket ']'>} ] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.ShAssignment left: <Id.Lit_VarLike 'OUTPUT_FORMAT='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'OUTPUT_FORMAT='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'OUTPUT_FORMAT='> name:OUTPUT_FORMAT) op: assign_op.Equal rhs: {(DQ <elf32-bigarc>)} ) ] redirects: [] ) ] spids: [5 25] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.ShAssignment left: <Id.Lit_VarLike 'OUTPUT_FORMAT='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'OUTPUT_FORMAT='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'OUTPUT_FORMAT='> name:OUTPUT_FORMAT) op: assign_op.Equal rhs: {(DQ <elf32-littlearc>)} ) ] redirects: [] ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'STARTUP_MEMORY='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'STARTUP_MEMORY='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'STARTUP_MEMORY='> name:STARTUP_MEMORY) op: assign_op.Equal rhs: {<startup>} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'TEXT_MEMORY='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'TEXT_MEMORY='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'TEXT_MEMORY='> name:TEXT_MEMORY) op: assign_op.Equal rhs: {<text>} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'DATA_MEMORY='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'DATA_MEMORY='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'DATA_MEMORY='> name:DATA_MEMORY) op: assign_op.Equal rhs: {<Id.KW_Data data>} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'SDATA_MEMORY='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'SDATA_MEMORY='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'SDATA_MEMORY='> name:SDATA_MEMORY) op: assign_op.Equal rhs: {<sdata>} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'ARCH='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'ARCH='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ARCH='> name:ARCH) op: assign_op.Equal rhs: {<arc>} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'MAXPAGESIZE='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'MAXPAGESIZE='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'MAXPAGESIZE='> name:MAXPAGESIZE) op: assign_op.Equal rhs: {(DQ <'CONSTANT (MAXPAGESIZE)'>)} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'GENERIC_BOARD='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'GENERIC_BOARD='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'GENERIC_BOARD='> name:GENERIC_BOARD) op: assign_op.Equal rhs: {<yes>} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'TEMPLATE_NAME='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'TEMPLATE_NAME='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'TEMPLATE_NAME='> name:TEMPLATE_NAME) op: assign_op.Equal rhs: {<elf32>} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'LITTLE_OUTPUT_FORMAT='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'LITTLE_OUTPUT_FORMAT='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike 'LITTLE_OUTPUT_FORMAT='> name: LITTLE_OUTPUT_FORMAT ) op: assign_op.Equal rhs: {(DQ <elf32-littlearc>)} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'BIG_OUTPUT_FORMAT='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'BIG_OUTPUT_FORMAT='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'BIG_OUTPUT_FORMAT='> name:BIG_OUTPUT_FORMAT) op: assign_op.Equal rhs: {(DQ <elf32-bigarc>)} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'TEXT_START_ADDR='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'TEXT_START_ADDR='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'TEXT_START_ADDR='> name:TEXT_START_ADDR) op: assign_op.Equal rhs: {<0x100>} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'ENTRY='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'ENTRY='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ENTRY='> name:ENTRY) op: assign_op.Equal rhs: {<__start>} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'SDATA_START_SYMBOLS='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'SDATA_START_SYMBOLS='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike 'SDATA_START_SYMBOLS='> name: SDATA_START_SYMBOLS ) op: assign_op.Equal rhs: {(SQ <'__SDATA_BEGIN__ = .;'>)} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'OTHER_SECTIONS='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'OTHER_SECTIONS='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'OTHER_SECTIONS='> name:OTHER_SECTIONS) op: assign_op.Equal rhs: {(DQ <'/DISCARD/ : { *(.__arc_profile_*) }'>)} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'EMBEDDED='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'EMBEDDED='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'EMBEDDED='> name:EMBEDDED) op: assign_op.Equal rhs: {<yes>} ) ] redirects: [] ) ] )