binutils Newspaper
NOVEMBER 30, 2026
vax — Proposed

VAX: PIC: Use GOT for pointer for global function

Reviewer confirms patch correctness but questions ticket closure.

Jan-Benedict Glaw reviewed a patch that uses GOT for function pointers in VAX PIC code, addressing Bug 32941. While agreeing the patch is correct, he expresses uncertainty about closing the associated bug ticket.

In the Thread 2 participants
  1. Rin Okuyama proposer

    Submitted a patch to use GOT for function pointers in VAX PIC code, fixing Bug 32941.

    “Subject: [PATCH] VAX: PIC: Use GOT for pointer for global function in same file, instead of PLT This fixes the problem reported as Bug 32941: ...”
  2. Jan-Benedict Glaw reviewer

    Acknowledged the patch's correctness but questioned if the bug ticket should be closed, implying further action or confirmation might be needed.

    “The patch is correct, but I think I cannot close the ticket?”

In Details

This discussion revolves around a patch for the VAX architecture's assembler (gas) concerning Position-Independent Code (PIC). The change modifies how global function calls are handled, specifically by using the Global Offset Table (GOT) instead of the Procedure Linkage Table (PLT) for function pointers. This aims to resolve a bug (32941) related to incorrect relocation types.

For Context
VAX
A line of superminicomputers developed by Digital Equipment Corporation (DEC), known for its powerful instruction set architecture.
PIC
Position-Independent Code is executable code that can run correctly regardless of where it is loaded in memory. This is crucial for shared libraries.
GOT
Global Offset Table. A data structure used in a position-independent executable to store addresses of external functions and variables, allowing them to be accessed indirectly.
PLT
Procedure Linkage Table. A table used in position-independent executables to resolve the addresses of dynamically linked functions at runtime.
Bug 32941
A specific issue reported in the binutils bug tracking system, which this patch aims to fix.
Filed Under: vaxPICgasbug fix