Add functions to print section and program headers