binutils-gdb/ld/testsuite/ld-scripts/overlay-size-map.d
Nick Clifton 5590fba953 * ldlang.c (print_output_section_statement): If the output section
statement has an update_dot_tree expression, apply it to
        print_dot.
        (print_input_section): Do not update print_dot if it would move
        print_dot backwards.
        (lang_do_assignments_1): If the output section statement has an
        update_dot_tree expression apply it to dot.

  * ld-scripts/overlay-size.t (end_of_bss_overlays): Define.
  (end_of_text_overlays): Define.
  (end_of_data_overlays): Define.
  * ld-scripts/overlay-size-map.d: Add expected values for
  end_of_bss_overlays, end_of_text_overlays and
  end_of_data_overlays.
2008-06-12 11:27:38 +00:00

30 lines
697 B
D

#...
\.bss1 *0x0*20000 *0x10
#...
\.bss2 *0x0*20000 *0x30 load address 0x0*20010
#...
\.bss3 *0x0*20000 *0x20 load address 0x0*20040
#...
.*0x0+020030[ ]*end_of_bss_overlays.*
#...
\.mtext *0x0*10000 *0x20 load address 0x0*30000
#...
\.mbss *0x0*20030 *0x230 load address 0x0*20060
#...
\.text1 *0x0*10020 *0x80 load address 0x0*30020
#...
\.text2 *0x0*10020 *0x40 load address 0x0*300a0
#...
\.text3 *0x0*10020 *0x20 load address 0x0*300e0
#...
.*0x0+0100a0[ ]*end_of_text_overlays.*
#...
\.data1 *0x0*20260 *0x30 load address 0x0*30100
#...
\.data2 *0x0*20260 *0x40 load address 0x0*30130
#...
\.data3 *0x0*20260 *0x50 load address 0x0*30170
#...
.*0x0+0202b0[ ]*end_of_data_overlays.*
#pass