added GDT support
Merge pull request #4 from no92/gdt

added GDT support; fixes #1