diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-01-19 15:06:27 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-01-19 15:06:27 +0000 |
commit | b81428656759ee87a5619f8495c04123ec71d582 (patch) | |
tree | 59636355e4dc3a3b04e1d3c7ee82c85bec953f95 /ld/ldmain.c | |
parent | 14be856495aa9995b691665ac113d84277439feb (diff) | |
download | gdb-b81428656759ee87a5619f8495c04123ec71d582.zip gdb-b81428656759ee87a5619f8495c04123ec71d582.tar.gz gdb-b81428656759ee87a5619f8495c04123ec71d582.tar.bz2 |
ld/
2007-01-19 Jakub Jelinek <jakub@redhat.com>
H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (handle_option): Make sure -z max-page-size
or -z common-page-size argument is a power of 2. Call
bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
* ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
bfd_emul_set_commonpagesize.
ld/testsuite/
2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/maxpage3.t: New file.
* ld-elf/maxpage3a.d: Likewise.
* ld-elf/maxpage3b.d: Likewise.
* ld-elf/maxpage3c.d: Likewise.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r-- | ld/ldmain.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c index eb59ba8..8bd4bf4 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -344,13 +344,6 @@ main (int argc, char **argv) if (config.hash_table_size != 0) bfd_hash_set_default_size (config.hash_table_size); - if (config.maxpagesize != 0) - bfd_emul_set_maxpagesize (default_target, config.maxpagesize); - - if (config.commonpagesize != 0) - bfd_emul_set_commonpagesize (default_target, - config.commonpagesize); - ldemul_set_symbols (); if (link_info.relocatable) |