https://bitbucket.org/daniel_fort/magic-lantern
Raw File
Tip revision: f1ca74a673122d9a28f39735c52d53111bbb122b authored by Giovanni Condello on 28 May 2013, 19:29:13 UTC
Close common-gui-c branch
Tip revision: f1ca74a
plugin.lds.S
SECTIONS
{
	.text : {
    _init_start = .;
    *(.init)
    _init_end = .;

    _functions_start = .;
    *(.functions)
    _functions_end = .;

		. = ALIGN(1024);

    _text_start = .;
		*(.text)
		_text_end = .;
		. = ALIGN(64);
		_rodata_start = .;
		*(.rodata)
		_rodata_end = .;
	}

	.data : {
	  _data_start = .;
		. = ALIGN(64);
		*(.data)
	  _data_end = .;
  }

  .data.rel.ro.local : {
    _data_rel_ro_local_start = .;
    *(.data.rel.ro.local)
    _data_rel_ro_local_end = .;
  }

  .data.rel.ro : {
    _data_rel_ro_start = .;
    *(.data.rel.ro)
    _data_rel_ro_end = .;
  }

  .data.rel.local : {
    _data_rel_local_start = .;
    *(.data.rel.local)
    _data_rel_local_end = .;
  }

  .data.rel : {
    _data_rel_start = .;
    *(.data.rel)
    _data_rel_end = .;
  }



  .igot.plt : {
    _ipltgot_start = .;
    *(.igot.plt)
    _ipltgot_end = .;
  }

  .got : {
    _got_start = .;
    *(.got)
    _got_end = .;
  }

  .got.plt : {
    _pltgot_start = .;
    *(.got.plt)
    _pltgot_end = .;
  }


	. = ALIGN(64);
	_bss_start = .;
	.bss : { *(.bss) }
	. = ALIGN(64);
	_bss_end = .;
}
back to top