shithub: plan9front

Download patch

ref: da9b38c75c11cc7f18415849b5bf14579ef8317c
parent: bd178b6dc6a6d6a81be05c0a1f7c03b352f833c1
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Mar 18 23:05:24 EDT 2017

5l,6l,8l,kl,ql,vl: allow duplicate GLOBAL symbols (from Ori Bernstein)

The plan 9 assemblers support the DUPOK flag on text symbols. They parse and
ignore it on GLOBL symbols. This patch makes it work in the linkers.

The reason I ran into this is because my programming language (Myrddin) uses
data symbols to generate type information, and it's useful to avoid
duplicating all of the type info in every file that gets generated.