* emultempl/avrelf.em (avr_elf_before_parse): New function.
(LDEMUL_BEFORE_PARSE): Define.
This commit is contained in:
parent
eeaa4577b6
commit
4d4ef6fd75
|
@ -1,3 +1,8 @@
|
||||||
|
2013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
||||||
|
|
||||||
|
* emultempl/avrelf.em (avr_elf_before_parse): New function.
|
||||||
|
(LDEMUL_BEFORE_PARSE): Define.
|
||||||
|
|
||||||
2013-02-06 Alan Modra <amodra@gmail.com>
|
2013-02-06 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
PR ld/15096
|
PR ld/15096
|
||||||
|
|
|
@ -166,6 +166,15 @@ avr_elf_after_allocation (void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
avr_elf_before_parse (void)
|
||||||
|
{
|
||||||
|
/* Don't create a demand-paged executable, since this feature isn't
|
||||||
|
meaningful in AVR. */
|
||||||
|
config.magic_demand_paged = FALSE;
|
||||||
|
|
||||||
|
gld${EMULATION_NAME}_before_parse ();
|
||||||
|
}
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
@ -262,6 +271,7 @@ PARSE_AND_LIST_ARGS_CASES='
|
||||||
#
|
#
|
||||||
# Put these extra avr-elf routines in ld_${EMULATION_NAME}_emulation
|
# Put these extra avr-elf routines in ld_${EMULATION_NAME}_emulation
|
||||||
#
|
#
|
||||||
|
LDEMUL_BEFORE_PARSE=avr_elf_before_parse
|
||||||
LDEMUL_BEFORE_ALLOCATION=avr_elf_${EMULATION_NAME}_before_allocation
|
LDEMUL_BEFORE_ALLOCATION=avr_elf_${EMULATION_NAME}_before_allocation
|
||||||
LDEMUL_AFTER_ALLOCATION=avr_elf_after_allocation
|
LDEMUL_AFTER_ALLOCATION=avr_elf_after_allocation
|
||||||
LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS=avr_elf_create_output_section_statements
|
LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS=avr_elf_create_output_section_statements
|
||||||
|
|
Loading…
Reference in New Issue