full format ok

This commit is contained in:
Jack Halford 2017-11-01 13:11:36 +01:00
parent 519b50e304
commit 7726cd38f9

View file

@ -6,7 +6,7 @@
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/11/01 12:37:07 by jhalford #+# #+# */
/* Updated: 2017/11/01 12:37:07 by jhalford ### ########.fr */
/* Updated: 2017/11/01 13:11:23 by jhalford ### ########.fr */
/* */
/* ************************************************************************** */
@ -53,14 +53,14 @@ void symbol_64_format_m(t_symbol_64 *symbol)
void symbol_64_format_full(t_symbol_64 *symbol)
{
ft_printf("\t%i %03b|%b|%x|%b \t%i(%s) \t%04x",
symbol->pos,
ft_printf(" %02i(%s)\t %04x %03b|%b|%x|%b \t",
symbol->nlist.n_sect, symbol->section->sectname,
symbol->nlist.n_desc,
(symbol->nlist.n_type & N_STAB) >> 5,
(symbol->nlist.n_type & N_PEXT) >> 4,
symbol->nlist.n_type & N_TYPE,
symbol->nlist.n_type & N_EXT,
symbol->nlist.n_sect, symbol->section->sectname,
symbol->nlist.n_desc);
symbol->nlist.n_type & N_EXT
);
}
void symbol_64_format_dfl(t_symbol_64 *symbol)