static void ip2k_elf_section_text (int i) { char *old_input_line_pointer; obj_elf_text(i); /* the s_align_ptwo function expects that we are just after a .align directive and it will either try and read the align value or stop if end of line so we must fake it out so it thinks we are at the end of the line. */ old_input_line_pointer = input_line_pointer; input_line_pointer = "\n"; s_align_ptwo (1); force_code_align = 0; /* Restore. */ input_line_pointer = old_input_line_pointer; }
static void epiphany_cgc_section_rtn (int i) { obj_cgc_section (i); if (force_code_align) { /* The s_align_ptwo function expects that we are just after a .align directive and it will either try and read the align value or stop if end of line so we must fake it out so it thinks we are at the end of the line. */ char *old_input_line_pointer = input_line_pointer; input_line_pointer = "\n"; s_align_ptwo (1); force_code_align = FALSE; /* Restore. */ input_line_pointer = old_input_line_pointer; } }