* emultempl/ppc64elf.em (ppc_before_allocation): Clear cached

program_header_size.
This commit is contained in:
Alan Modra 2004-01-09 05:36:30 +00:00
parent 42b190adc9
commit 8349035256
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-01-09 Alan Modra <amodra@bigpond.net.au>
* emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
program_header_size.
2004-01-06 Alexandre Oliva <aoliva@redhat.com>
2003-11-28 Alexandre Oliva <aoliva@redhat.com>

View File

@ -25,6 +25,7 @@ cat >>e${EMULATION_NAME}.c <<EOF
#include "ldctor.h"
#include "libbfd.h"
#include "elf-bfd.h"
#include "elf64-ppc.h"
/* Fake input file for stubs. */
@ -117,6 +118,8 @@ ppc_before_allocation (void)
return;
}
/* We must not cache anything from the preliminary sizing. */
elf_tdata (output_bfd)->program_header_size = 0;
lang_reset_memory_regions ();
}
}