This is the mail archive of the binutils@sourceware.org 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]

[patch] fix ARM documentation


Hello,

Some time ago I have noticed that the --pic-veneer option for ARM actually appears in the M68HC11/68HC12 section.

Here is a trivial patch proposal:

Index: ld/ld.texinfo
===================================================================
--- ld/ld.texinfo       (revision 637)
+++ ld/ld.texinfo       (working copy)
@@ -5462,13 +5462,6 @@ trampoline address instead of the functi
 case when a pointer to a function is taken. The pointer will in fact
 point to the function trampoline.

-@cindex PIC_VENEER
-@kindex --pic-veneer
-The @samp{--pic-veneer} switch makes the linker use PIC sequences for
-ARM/Thumb interworking veneers, even if the rest of the binary
-is not PIC.  This avoids problems on uClinux targets where
-@samp{--emit-relocs} is used to generate relocatable binaries.
-
 @ifclear GENERIC
 @lowersections
 @end ifclear
@@ -5591,6 +5588,13 @@ linking of an object file using 32-bit e
 using enumeration values fitted into the smallest possible space will
 not be diagnosed.

+@cindex PIC_VENEER
+@kindex --pic-veneer
+The @samp{--pic-veneer} switch makes the linker use PIC sequences for
+ARM/Thumb interworking veneers, even if the rest of the binary
+is not PIC.  This avoids problems on uClinux targets where
+@samp{--emit-relocs} is used to generate relocatable binaries.
+
 @ifclear GENERIC
 @lowersections
 @end ifclear

Christophe.


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