This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]



 We don't let _bfd_elf_create_dynamic_sections create 
_PROCEDURE_LINKAGE_TABLE_ except on VxWorks targets, because for other 
targets we don't know that early yet if we'll be using a PLT or lazy 
binding stubs (the place we create that symbol on other targets is 
_bfd_mips_elf_size_dynamic_sections).  The change below adjusts a comment 
we have in _bfd_mips_elf_create_dynamic_sections to be clear on that; and 
-- while at it -- corrects a typo in the _PROCEDURE_LINKAGE_TABLE_ 
reference there.

 This is almost obviously correct, but just in case -- OK to apply?

2013-02-18  Maciej W. Rozycki  <>

	* elfxx-mips.c (_bfd_mips_elf_create_dynamic_sections): Clarify
	comment on _PROCEDURE_LINKAGE_TABLE_ creation.


Index: binutils-fsf-trunk-quilt/bfd/elfxx-mips.c
--- binutils-fsf-trunk-quilt.orig/bfd/elfxx-mips.c	2013-02-17 03:31:35.774076878 +0000
+++ binutils-fsf-trunk-quilt/bfd/elfxx-mips.c	2013-02-17 07:06:45.705501283 +0000
@@ -7308,7 +7308,7 @@ _bfd_mips_elf_create_dynamic_sections (b
   /* Create the .plt, .rel(a).plt, .dynbss and .rel(a).bss sections.
-     Also create the _PROCEDURE_LINKAGE_TABLE symbol.  */
+     Also, on VxWorks, create the _PROCEDURE_LINKAGE_TABLE_ symbol.  */
   if (!_bfd_elf_create_dynamic_sections (abfd, info))
     return FALSE;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]