diff options
author | Nick Clifton <nickc@redhat.com> | 2003-02-21 10:51:24 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-02-21 10:51:24 +0000 |
commit | cf888e70e2758491576cefa40a7dee1ac1924ec2 (patch) | |
tree | 94834224880cb557c45ad2817fceae16601dbd60 /ld/emultempl | |
parent | c12536277750567d79cc50bd79525bad6f8e28ab (diff) | |
download | gdb-cf888e70e2758491576cefa40a7dee1ac1924ec2.zip gdb-cf888e70e2758491576cefa40a7dee1ac1924ec2.tar.gz gdb-cf888e70e2758491576cefa40a7dee1ac1924ec2.tar.bz2 |
Disable region size checking whilst relaxing sections.
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/elf32.em | 2 | ||||
-rw-r--r-- | ld/emultempl/hppaelf.em | 8 | ||||
-rw-r--r-- | ld/emultempl/ppc64elf.em | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index d58a3c9..c401fe2 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -1427,7 +1427,7 @@ gld${EMULATION_NAME}_finish () /* Resize the sections. */ lang_size_sections (stat_ptr->head, abs_output_section, - &stat_ptr->head, 0, (bfd_vma) 0, NULL); + &stat_ptr->head, 0, (bfd_vma) 0, NULL, TRUE); /* Redo special stuff. */ ldemul_after_allocation (); diff --git a/ld/emultempl/hppaelf.em b/ld/emultempl/hppaelf.em index c44b01a..9f94b84 100644 --- a/ld/emultempl/hppaelf.em +++ b/ld/emultempl/hppaelf.em @@ -1,5 +1,5 @@ # This shell script emits a C file. -*- C -*- -# Copyright 1991, 1993, 1994, 1997, 1999, 2000, 2001, 2002 +# Copyright 1991, 1993, 1994, 1997, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # # This file is part of GLD, the Gnu Linker. @@ -27,7 +27,7 @@ cat >>e${EMULATION_NAME}.c <<EOF #include "ldctor.h" #include "elf32-hppa.h" -static void hppaelf_after_parse PARAMS((void)); +static void hppaelf_after_parse PARAMS ((void)); static void hppaelf_create_output_section_statements PARAMS ((void)); static asection *hppaelf_add_stub_section PARAMS ((const char *, asection *)); @@ -60,7 +60,7 @@ hppaelf_after_parse () { if (link_info.relocateable) lang_add_unique (".text"); -#if 0 /* enable this once we split millicode stuff from libgcc */ +#if 0 /* Enable this once we split millicode stuff from libgcc. */ else lang_add_input_file ("milli", lang_input_file_is_l_enum, @@ -231,7 +231,7 @@ hppaelf_layout_sections_again () /* Resize the sections. */ lang_size_sections (stat_ptr->head, abs_output_section, - &stat_ptr->head, 0, (bfd_vma) 0, NULL); + &stat_ptr->head, 0, (bfd_vma) 0, NULL, TRUE); /* Redo special stuff. */ ldemul_after_allocation (); diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em index b524e01..925c27f 100644 --- a/ld/emultempl/ppc64elf.em +++ b/ld/emultempl/ppc64elf.em @@ -118,7 +118,7 @@ ppc_before_allocation () /* Size the sections. This is premature, but we want to know the TLS segment layout so that certain optimizations can be done. */ lang_size_sections (stat_ptr->head, abs_output_section, - &stat_ptr->head, 0, (bfd_vma) 0, NULL); + &stat_ptr->head, 0, (bfd_vma) 0, NULL, TRUE); if (!ppc64_elf_tls_optimize (output_bfd, &link_info)) { @@ -273,7 +273,7 @@ ppc_layout_sections_again () /* Resize the sections. */ lang_size_sections (stat_ptr->head, abs_output_section, - &stat_ptr->head, 0, (bfd_vma) 0, NULL); + &stat_ptr->head, 0, (bfd_vma) 0, NULL, TRUE); /* Recalculate TOC base. */ ldemul_after_allocation (); |