aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/gcc.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2022-09-11 13:55:57 +0800
committerXi Ruoyao <xry111@xry111.site>2022-09-11 13:57:47 +0800
commitc10a327376830278cc8cc2bf642c588f9273a065 (patch)
tree5b5090c57a2754f6336f1969f3d9ab44136f6bf8 /chapter08/gcc.xml
parente5aa02fe17dcce0f57a59ab1384973be8c71f2fd (diff)
gcc: fix link to PIE & SSP note
DocBook does not handle xref to note properly (#pie-ssp-info not generated).
Diffstat (limited to 'chapter08/gcc.xml')
-rw-r--r--chapter08/gcc.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml
index fe8e767d1..93961626c 100644
--- a/chapter08/gcc.xml
+++ b/chapter08/gcc.xml
@@ -106,7 +106,8 @@ cd build</userinput></screen>
</varlistentry>
</variablelist>
- <note id="pie-ssp-info" xreflabel="note on PIE and SSP">
+ <note>
+ <anchor id="pie-ssp-info" xreflabel="note on PIE and SSP"/>
<para>
PIE (position-independent executable) is a technique to produce
binary programs that can be loaded anywhere in memory. Without PIE,