• unknown's avatar
    Fix for BUG #11642: [Patch]es x86 Assembler and text relocations · 38b4ccf5
    unknown authored
    Changed assembler functions to not access global variables or variables in text segement
    Added wrapper function in C to longlong2str() to pass _dig_vec_upper as an argument
    
    
    mysql-test/r/bigint.result:
      More tests for parsing of bigint's
      More tests for different values to conv()
    mysql-test/t/bigint.test:
      More tests for parsing of bigint's
      More tests for different values to conv()
    strings/Makefile.am:
      Added longlong2str_asm.c
    strings/longlong2str-x86.s:
      Changed functions to not access variables in text segment
      Fixed this by adding global variable '_dig_vec_upper' as an argument to longlong2str_with_dig_vector()
    strings/my_strtoll10-x86.s:
      Removd array lfactor by calculating the value in code
      (this is to to make the code position independent)
    strings/longlong2str_asm.c:
      New BitKeeper file ``strings/longlong2str_asm.c''
    38b4ccf5
longlong2str-x86.s 4.75 KB