diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2002-02-01 08:24:03 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2002-02-01 08:24:03 +0000 |
commit | 48fa4a5def1116273c2c2a236939e96eb9b6231a (patch) | |
tree | b8597630be4f09f870fede949598daddae5d1d15 /gprof/cg_dfn.c | |
parent | 930b4cb2c2da2be8643a1e79fe09fe7328544d32 (diff) | |
download | gdb-48fa4a5def1116273c2c2a236939e96eb9b6231a.zip gdb-48fa4a5def1116273c2c2a236939e96eb9b6231a.tar.gz gdb-48fa4a5def1116273c2c2a236939e96eb9b6231a.tar.bz2 |
Support on-demand global register allocation from
R_MMIX_BASE_PLUS_OFFSET relocs.
* emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
mmix_set_reg_section_vma. Call
_bfd_mmix_finalize_linker_allocated_gregs.
(mmix_before_allocation): New function.
(LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
(LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
* scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
(.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
before .MMIX.reg_contents.
* emultempl/mmo.em (gldmmo_before_allocation): Define to default.
(mmo_after_open): New function.
(LDEMUL_AFTER_OPEN): Define to mmo_after_open.
* emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
.MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
Diffstat (limited to 'gprof/cg_dfn.c')
0 files changed, 0 insertions, 0 deletions