[patch] fix ARM documentation

Christophe LYON christophe.lyon@st.com
Mon May 19 13:08:00 GMT 2008


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.



More information about the Binutils mailing list