relax_section.d 878 B

1234567891011121314151617181920212223242526272829303132333435
  1. #name: NIOS2 relax_section
  2. #as: -relax-section
  3. #ld: --relax -Trelax_jmp.ld
  4. #source: relax_section.s
  5. #objdump: -dr --prefix-addresses
  6. # Test relaxation of section
  7. .*: +file format elf32-littlenios2
  8. Disassembly of section text1:
  9. 00008000 <[^>]*> bne r2,r3,00008010 <[^>]*>
  10. 00008004 <[^>]*> nextpc at
  11. 00008008 <[^>]*> addi at,at,32764
  12. 0000800c <[^>]*> jmp at
  13. 00008010 <[^>]*> bge r2,r3,00008024 <[^>]*>
  14. 00008014 <[^>]*> nextpc at
  15. 00008018 <[^>]*> addi at,at,32767
  16. 0000801c <[^>]*> addi at,at,9
  17. 00008020 <[^>]*> jmp at
  18. 00008024 <[^>]*> bne r2,r3,00008030 <in_range>
  19. 00008028 <[^>]*> nop
  20. 0000802c <[^>]*> nop
  21. 00008030 <in_range> nop
  22. #...
  23. 00010000 <[^>]*> br 00008030 <in_range>
  24. 00010004 <just_out_of_range> nop
  25. 00010008 <[^>]*> nop
  26. 0001000c <[^>]*> nop
  27. 00010010 <[^>]*> nop
  28. 00010014 <[^>]*> nop
  29. 00010018 <[^>]*> nop
  30. 0001001c <[^>]*> nop
  31. 00010020 <farther_out_of_range> nop
  32. #pass