git » orga2-tp1.git » commit 3636df1

Poner las constantes read-only en .rodata

author Rodrigo Campos
2011-04-16 02:29:58 UTC
committer Rodrigo Campos
2011-04-16 02:29:58 UTC
parent 51a850a1b3ffd00f25379bceef0090734051b3ce

Poner las constantes read-only en .rodata

bintree.asm +1 -3

diff --git a/bintree.asm b/bintree.asm
index 14a1d46..7648653 100644
--- a/bintree.asm
+++ b/bintree.asm
@@ -12,9 +12,7 @@ global insertar, eliminar, destruirArbol, imprimir
 
 extern malloc, free, fopen, fprintf, fclose
 
-; TODO: ver bien que secciones hay y donde corresponde cada cosa
-section .data
-
+section .rodata
 append_mode: db 'a', 0
 fprintf_format: db '[ %d %f %s ]', 0
 fprintf_newline: db 10, 0