(command.CommandList children: [ (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: {<elf>} ) ] 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: {<mips>} ) ] redirects: [] ) (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-bigmips>)} ) ] 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-bigmips>)} ) ] 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-littlemips>)} ) ] 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 'EXTRA_EM_FILE='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'EXTRA_EM_FILE='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'EXTRA_EM_FILE='> name:EXTRA_EM_FILE) op: assign_op.Equal rhs: {<mipself>} ) ] redirects: [] ) (command.Case case_kw: <Id.KW_Case case> to_match: (case_arg.Word w:{<x> (DQ ($ Id.VSub_DollarName EMULATION_NAME))}) arms_start: <Id.KW_In in> arms: [ (CaseArm left: <xelf32> pattern: (pat.Words words:[{<xelf32> <Id.Lit_Star '*'> <n32> <Id.Lit_Star '*'>}]) middle: <Id.Right_CasePat _> action: [ (command.ShAssignment left: <Id.Lit_VarLike 'ELFSIZE='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'ELFSIZE='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ELFSIZE='> name:ELFSIZE) op: assign_op.Equal rhs: {<32>} ) ] redirects: [] ) ] right: <Id.Op_DSemi _> ) (CaseArm left: <xelf64> pattern: (pat.Words words:[{<xelf64> <Id.Lit_Star '*'>}]) middle: <Id.Right_CasePat _> action: [ (command.ShAssignment left: <Id.Lit_VarLike 'ELFSIZE='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'ELFSIZE='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ELFSIZE='> name:ELFSIZE) op: assign_op.Equal rhs: {<64>} ) ] redirects: [] ) ] right: <Id.Op_DSemi _> ) (CaseArm left: <x> pattern: (pat.Words words:[{<x>}]) middle: <Id.Right_CasePat _> action: [] right: <Id.Op_DSemi _> ) (CaseArm left: <Id.Lit_Star '*'> pattern: (pat.Words words:[{<Id.Lit_Star '*'>}]) middle: <Id.Right_CasePat _> action: [ (command.Sentence child: (command.Simple blame_tok: <echo> more_env: [] words: [ {<echo>} {($ Id.VSub_Number 0) <Id.Lit_Colon ':'>} {<unhandled>} {<emulation>} {($ Id.VSub_DollarName EMULATION_NAME)} ] redirects: [(Redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})] do_fork: T ) terminator: <Id.Op_Semi _> ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] right: <Id.Op_DSemi _> ) ] arms_end: <Id.KW_Esac esac> 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: <test> more_env: [] words: [ {<test>} { (CommandSub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {(DQ ($ Id.VSub_DollarName host))}] redirects: [] do_fork: T ) (command.Simple blame_tok: <sed> more_env: [] words: [{<sed>} {<-e>} {<'s/64//'>}] redirects: [] do_fork: T ) ] ops: [<Id.Op_Pipe _>] ) right: <Id.Backtick_Right '`'> ) } {<Id.Lit_Equals '='>} { (CommandSub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {(DQ ($ Id.VSub_DollarName target))}] redirects: [] do_fork: T ) (command.Simple blame_tok: <sed> more_env: [] words: [{<sed>} {<-e>} {<'s/64//'>}] redirects: [] do_fork: T ) ] ops: [<Id.Op_Pipe _>] ) right: <Id.Backtick_Right '`'> ) } ] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Case case_kw: <Id.KW_Case case> to_match: (case_arg.Word w:{(DQ <' '> ($ Id.VSub_DollarName EMULATION_LIBPATH) <' '>)}) arms_start: <Id.KW_In in> arms: [ (CaseArm left: <Id.Lit_Star '*'> pattern: (pat.Words words: [ {<Id.Lit_Star '*'> (DQ <' '> (${ Id.VSub_Name EMULATION_NAME) <' '>) <Id.Lit_Star '*'> } ] ) middle: <Id.Right_CasePat _> action: [ (command.ShAssignment left: <Id.Lit_VarLike 'NATIVE='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'NATIVE='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'NATIVE='> name:NATIVE) op: assign_op.Equal rhs: {<yes>} ) ] redirects: [] ) ] right: <Id.Op_DSemi _> ) ] arms_end: <Id.KW_Esac esac> redirects: [] ) ] spids: [104 147] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'LIBPATH_SUFFIX='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'LIBPATH_SUFFIX='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'LIBPATH_SUFFIX='> name:LIBPATH_SUFFIX) op: assign_op.Equal rhs: {($ Id.VSub_DollarName ELFSIZE)} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'GENERATE_SHLIB_SCRIPT='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'GENERATE_SHLIB_SCRIPT='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike 'GENERATE_SHLIB_SCRIPT='> name: GENERATE_SHLIB_SCRIPT ) op: assign_op.Equal rhs: {<yes>} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'GENERATE_PIE_SCRIPT='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'GENERATE_PIE_SCRIPT='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike 'GENERATE_PIE_SCRIPT='> name: GENERATE_PIE_SCRIPT ) op: assign_op.Equal rhs: {<yes>} ) ] 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: {<0x10000000>} ) ] 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 '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 'OTHER_GOT_RELOC_SECTIONS='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'OTHER_GOT_RELOC_SECTIONS='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike 'OTHER_GOT_RELOC_SECTIONS='> name: OTHER_GOT_RELOC_SECTIONS ) op: assign_op.Equal rhs: { (DQ <'\n'> <' .rel.dyn '> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name RELOCATING> var_name: RELOCATING suffix_op: (suffix_op.Unary op:<Id.VTest_Hyphen _> arg_word:{<0>}) right: <Id.Right_DollarBrace '}'> ) <' : { *(.rel.dyn) }\n'> ) } ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'OTHER_GOT_SYMBOLS='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'OTHER_GOT_SYMBOLS='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'OTHER_GOT_SYMBOLS='> name:OTHER_GOT_SYMBOLS) op: assign_op.Equal rhs: {(SQ <'\n'> <' . = .;\n'> <' HIDDEN (_gp = ALIGN (16) + 0x7ff0);\n'>)} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'GOT='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'GOT='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'GOT='> name:GOT) op: assign_op.Equal rhs: { (DQ <'.got '> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name RELOCATING> var_name: RELOCATING suffix_op: (suffix_op.Unary op:<Id.VTest_Hyphen _> arg_word:{<0>}) right: <Id.Right_DollarBrace '}'> ) <' : { *(.got) }'> ) } ) ] redirects: [] ) (command.Simple blame_tok: <unset> more_env: [] words: [{<unset>} {<OTHER_READWRITE_SECTIONS>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <unset> more_env: [] words: [{<unset>} {<OTHER_RELRO_SECTIONS>}] redirects: [] do_fork: T ) (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: <test> more_env: [] words: [{<test>} {<-n>} {(DQ ($ Id.VSub_DollarName RELRO_NOW))}] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.ShAssignment left: <Id.Lit_VarLike 'OTHER_RELRO_SECTIONS='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'OTHER_RELRO_SECTIONS='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike 'OTHER_RELRO_SECTIONS='> name: OTHER_RELRO_SECTIONS ) op: assign_op.Equal rhs: { (DQ <'.got.plt '> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name RELOCATING> var_name: RELOCATING suffix_op: (suffix_op.Unary op:<Id.VTest_Hyphen _> arg_word:{<0>}) right: <Id.Right_DollarBrace '}'> ) <' : { *(.got.plt) }'> ) } ) ] redirects: [] ) ] spids: [306 317] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.ShAssignment left: <Id.Lit_VarLike 'OTHER_READWRITE_SECTIONS='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'OTHER_READWRITE_SECTIONS='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike 'OTHER_READWRITE_SECTIONS='> name: OTHER_READWRITE_SECTIONS ) op: assign_op.Equal rhs: { (DQ <'.got.plt '> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name RELOCATING> var_name: RELOCATING suffix_op: (suffix_op.Unary op:<Id.VTest_Hyphen _> arg_word:{<0>}) right: <Id.Right_DollarBrace '}'> ) <' : { *(.got.plt) }'> ) } ) ] redirects: [] ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'OTHER_SDATA_SECTIONS='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'OTHER_SDATA_SECTIONS='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike 'OTHER_SDATA_SECTIONS='> name: OTHER_SDATA_SECTIONS ) op: assign_op.Equal rhs: { (DQ <'\n'> <' .lit8 '> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name RELOCATING> var_name: RELOCATING suffix_op: (suffix_op.Unary op:<Id.VTest_Hyphen _> arg_word:{<0>}) right: <Id.Right_DollarBrace '}'> ) <' : { *(.lit8) }\n'> <' .lit4 '> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name RELOCATING> var_name: RELOCATING suffix_op: (suffix_op.Unary op:<Id.VTest_Hyphen _> arg_word:{<0>}) right: <Id.Right_DollarBrace '}'> ) <' : { *(.lit4) }\n'> <' .srdata '> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name RELOCATING> var_name: RELOCATING suffix_op: (suffix_op.Unary op:<Id.VTest_Hyphen _> arg_word:{<0>}) right: <Id.Right_DollarBrace '}'> ) <' : { *(.srdata) }\n'> ) } ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'TEXT_START_SYMBOLS='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'TEXT_START_SYMBOLS='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'TEXT_START_SYMBOLS='> name:TEXT_START_SYMBOLS) op: assign_op.Equal rhs: {(SQ <'_ftext = . ;'>)} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'DATA_START_SYMBOLS='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'DATA_START_SYMBOLS='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'DATA_START_SYMBOLS='> name:DATA_START_SYMBOLS) op: assign_op.Equal rhs: {(SQ <'_fdata = . ;'>)} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'OTHER_BSS_SYMBOLS='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'OTHER_BSS_SYMBOLS='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'OTHER_BSS_SYMBOLS='> name:OTHER_BSS_SYMBOLS) op: assign_op.Equal rhs: {(SQ <'_fbss = .;'>)} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'INITIAL_READONLY_SECTIONS='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'INITIAL_READONLY_SECTIONS='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike 'INITIAL_READONLY_SECTIONS='> name: INITIAL_READONLY_SECTIONS ) op: assign_op.Equal rhs: (rhs_word__Empty) ) ] 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: <test> more_env: [] words: [{<test>} {<-z>} {(DQ (${ Id.VSub_Name CREATE_SHLIB))}] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.ShAssignment left: <Id.Lit_VarLike 'INITIAL_READONLY_SECTIONS='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'INITIAL_READONLY_SECTIONS='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike 'INITIAL_READONLY_SECTIONS='> name: INITIAL_READONLY_SECTIONS ) op: assign_op.Equal rhs: { (DQ <'.interp '> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name RELOCATING> var_name: RELOCATING suffix_op: (suffix_op.Unary op:<Id.VTest_Hyphen _> arg_word:{<0>}) right: <Id.Right_DollarBrace '}'> ) <' : { *(.interp) }'> ) } ) ] redirects: [] ) ] spids: [396 409] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'INITIAL_READONLY_SECTIONS='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'INITIAL_READONLY_SECTIONS='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike 'INITIAL_READONLY_SECTIONS='> name: INITIAL_READONLY_SECTIONS ) op: assign_op.Equal rhs: { (DQ (${ Id.VSub_Name INITIAL_READONLY_SECTIONS) <'\n'> <' .MIPS.abiflags '> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name RELOCATING> var_name: RELOCATING suffix_op: (suffix_op.Unary op:<Id.VTest_Hyphen _> arg_word:{<0>}) right: <Id.Right_DollarBrace '}'> ) <' : { *(.MIPS.abiflags) }\n'> <' .reginfo '> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name RELOCATING> var_name: RELOCATING suffix_op: (suffix_op.Unary op:<Id.VTest_Hyphen _> arg_word:{<0>}) right: <Id.Right_DollarBrace '}'> ) <' : { *(.reginfo) }'> ) } ) ] 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/ : { *(.MIPS.content*) *(.MIPS.events*) }'>)} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'TEXT_DYNAMIC='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'TEXT_DYNAMIC='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'TEXT_DYNAMIC='> name:TEXT_DYNAMIC) op: assign_op.Equal rhs: (rhs_word__Empty) ) ] redirects: [] ) ] )