Add .dwarf2_addr_size directive to gas gas assumes that the address size used for DWARF debug info (and thus the line tables it generates from .loc directives) will always match the ELF class. However LLVM generates debug info that matches the actual address size (32 bit on x86-64 NaCl), which results in a mismatch between LLVM's debug info and gas' line tables. This CL adds a directive to gas to change the address size. R=mcgrathr@chromium.org BUG= https://code.google.com/p/nativeclient/issues/detail?id=3966 Review URL: https://codereview.chromium.org/760523006 
1 file changed