All pastes #447440 Raw Edit

Stuff

public text v1 · immutable
·published 2007-04-19 01:16 UTC
rendered paste body
OUTPUT_FORMAT("binary")

ENTRY(start)

phys = 0x00100000;

SECTIONS

{

  .text phys : AT(phys) {

    code = .;

    *(.text)

    *(.rodata)

    . = ALIGN(4096);

  }

  .data : AT(phys + (data - code))

  {

    data = .;

    *(.data)

    . = ALIGN(4096);

  }

  .bss : AT(phys + (bss - code))

  {

    bss = .;

    *(.bss)

    . = ALIGN(4096);

  }

  end = .;

}