Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Rela32 (0.18 sec)

  1. src/debug/elf/file.go

    func (f *File) applyRelocationsPPC(dst []byte, rels []byte) error {
    	// 12 is the size of Rela32.
    	if len(rels)%12 != 0 {
    		return errors.New("length of relocation section is not a multiple of 12")
    	}
    
    	symbols, _, err := f.getSymbols(SHT_SYMTAB)
    	if err != nil {
    		return err
    	}
    
    	b := bytes.NewReader(rels)
    	var rela Rela32
    
    	for b.Len() > 0 {
    		binary.Read(b, f.ByteOrder, &rela)
    		symNo := rela.Info >> 8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  2. src/debug/elf/elf.go

     * Relocation entries.
     */
    
    // ELF32 Relocations that don't need an addend field.
    type Rel32 struct {
    	Off  uint32 /* Location to be relocated. */
    	Info uint32 /* Relocation type and symbol index. */
    }
    
    // ELF32 Relocations that need an addend field.
    type Rela32 struct {
    	Off    uint32 /* Location to be relocated. */
    	Info   uint32 /* Relocation type and symbol index. */
    	Addend int32  /* Addend. */
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 00:01:16 UTC 2024
    - 134.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"R_X86_64_TPOFF32", Const, 0},
    		{"R_X86_64_TPOFF64", Const, 0},
    		{"Rel32", Type, 0},
    		{"Rel32.Info", Field, 0},
    		{"Rel32.Off", Field, 0},
    		{"Rel64", Type, 0},
    		{"Rel64.Info", Field, 0},
    		{"Rel64.Off", Field, 0},
    		{"Rela32", Type, 0},
    		{"Rela32.Addend", Field, 0},
    		{"Rela32.Info", Field, 0},
    		{"Rela32.Off", Field, 0},
    		{"Rela64", Type, 0},
    		{"Rela64.Addend", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  4. src/internal/types/testdata/check/const1.go

    )
    
    // TODO(gri) find smaller deltas below
    
    const delta32 = maxFloat32/(1 << 23)
    
    const (
    	_ float32 = - /* ERROR "overflow" */ (maxFloat32 + delta32)
    	_ float32 = -maxFloat32
    	_ float32 = maxFloat32
    	_ float32 = maxFloat32 /* ERROR "overflow" */ + delta32
    
    	_ = float32(- /* ERROR "cannot convert" */ (maxFloat32 + delta32))
    	_ = float32(-maxFloat32)
    	_ = float32(maxFloat32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt

        assertThat(relay1.newSource()).isNull()
        val relay2 = read(file)
        assertThat(relay2.metadata()).isEqualTo(metadata)
        val source2 = relay2.newSource()!!.buffer()
        assertThat(source2.readUtf8(10)).isEqualTo("abcdefghij")
        assertThat(source2.exhausted()).isTrue()
        source2.close()
        assertThat(relay2.isClosed).isTrue()
    
        // Since relay2 is closed, new sources cannot be created.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/platform/internal/ReadelfBinaryInfoTest.groovy

            where:
            [language, input] << [
                ["English", """
    ELF Header:
     Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
     Class:                             ELF32
     Data:                              2's complement, little endian
     Version:                           1 (current)
     OS/ABI:                            UNIX - System V
     ABI Version:                       0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 23:09:11 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. src/cmd/link/internal/x86/obj.go

    		ld.HEADR = 32
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 4096
    		}
    		if *ld.FlagTextAddr == -1 {
    			*ld.FlagTextAddr = ld.Rnd(4096, *ld.FlagRound) + int64(ld.HEADR)
    		}
    
    	case objabi.Hlinux, /* elf32 executable */
    		objabi.Hfreebsd,
    		objabi.Hnetbsd,
    		objabi.Hopenbsd:
    		ld.Elfinit(ctxt)
    
    		ld.HEADR = ld.ELFRESERVE
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 4096
    		}
    		if *ld.FlagTextAddr == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. src/cmd/link/internal/s390x/asm.go

    		default:
    			return false
    		case 4:
    			// WARNING - silently ignored by linker in ELF64
    			out.Write64(uint64(elf.R_390_TLS_LE32) | uint64(elfsym)<<32)
    		case 8:
    			// WARNING - silently ignored by linker in ELF32
    			out.Write64(uint64(elf.R_390_TLS_LE64) | uint64(elfsym)<<32)
    		}
    	case objabi.R_TLS_IE:
    		switch siz {
    		default:
    			return false
    		case 4:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  9. src/debug/elf/file_test.go

    	//   done > y.c
    	// 2. compile: gcc -c y.c -m32
    	//
    	// $readelf -h y.o
    	// ELF Header:
    	//   Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
    	//   Class:                             ELF32
    	//   Data:                              2's complement, little endian
    	//   Version:                           1 (current)
    	//   OS/ABI:                            UNIX - System V
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/elf.go

    	"debug/elf"
    	"encoding/binary"
    	"encoding/hex"
    	"fmt"
    	"internal/buildcfg"
    	"os"
    	"path/filepath"
    	"runtime"
    	"sort"
    	"strings"
    )
    
    /*
     * Derived from:
     * $FreeBSD: src/sys/sys/elf32.h,v 1.8.14.1 2005/12/30 22:13:58 marcel Exp $
     * $FreeBSD: src/sys/sys/elf64.h,v 1.10.14.1 2005/12/30 22:13:58 marcel Exp $
     * $FreeBSD: src/sys/sys/elf_common.h,v 1.15.8.1 2005/12/30 22:13:58 marcel Exp $
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
Back to top