Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/external/gpl3/binutils/dist/gas/config



Module Name:    src
Committed By:   rin
Date:           Thu Nov 19 10:09:22 UTC 2026

Modified Files:
        src/external/gpl3/binutils/dist/gas/config: tc-vax.c

Log Message:
gas: vax: Cherry-pick upstream commit 2722595890a

PR port-vax/59326
---
Author: Jan-Benedict Glaw <jbglaw%getslash.de@localhost>
Date:   Sun Nov 15 18:36:27 2026 +0100

VAX: In PIC code, use GOT for function pointers

Use GOT references for function pointers in PIC code. Actual fix by
Rin Okuyama, initially reported for NetBSD in https://gnats.netbsd.org/59326 .

PR gas/32941

gas/
        * config/tc-vax.c (md_estimate_size_before_relax): Use GOT instead of PLT.
        * testsuite/gas/vax/elf-got-func.s,
        * testsuite/gas/vax/elf-got-func.d: New test.
        * testsuite/gas/vax/vax.exp: Run it.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 \
    src/external/gpl3/binutils/dist/gas/config/tc-vax.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index