summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ohci_pci.c
diff options
context:
space:
mode:
authorStefan Kempf <stefan@cvs.openbsd.org>2017-05-31 03:24:21 +0000
committerStefan Kempf <stefan@cvs.openbsd.org>2017-05-31 03:24:21 +0000
commitfc9fe7d0b7e7185b1ad47a12d208091fc32123fa (patch)
treee2e6c8999362d124ebe459ee4a4b3389d5e09bb4 /sys/dev/pci/ohci_pci.c
parentdb48b8a0ea24c8455d7b37a284ce103aa8b690ae (diff)
Make gcc move switch tables into .rodata instead of .text on i386/amd64
For C++, gcc has to make use of comdat sections instead of .gnu.linkonce sections for this because switch tables and functions would now end up in different .gnu.linkonce sections. This can cause ld to sometimes incorrectly discard the switch tables, which causes linker errors. With comdat sections, making the switch table and function sections belong together is more reliable. ok deraadt@
Diffstat (limited to 'sys/dev/pci/ohci_pci.c')
0 files changed, 0 insertions, 0 deletions