diff options
author | Alan Modra <amodra@gmail.com> | 2004-01-09 05:36:30 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-01-09 05:36:30 +0000 |
commit | 8349035256b45f96828cf6e6f7ed6e44c1289668 (patch) | |
tree | 1ee8eb37168faf0cb017ea6366423edb9ba1ebae /ld | |
parent | 42b190adc91a72248aa914b2dcc33241e547281b (diff) | |
download | ppe42-binutils-8349035256b45f96828cf6e6f7ed6e44c1289668.tar.gz ppe42-binutils-8349035256b45f96828cf6e6f7ed6e44c1289668.zip |
* emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
program_header_size.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/emultempl/ppc64elf.em | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 81ae1eeecb..e6c03c8fd4 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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> diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em index e6b24c9545..5746f79738 100644 --- a/ld/emultempl/ppc64elf.em +++ b/ld/emultempl/ppc64elf.em @@ -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 (); } } |